Instantly convert REM to EM and EM to REM.
A simple and fast tool to convert rem values to em units and back again for responsive web design. This canonical page covers both directions to avoid duplicate SEO pages for identical content.
Bases
Configure only the reference values required for this conversion pair.
Conversion
Edit either side, copy any result, or swap the displayed direction.
REM
EM
Canonical page shared by both directions: REM to EM and EM to REM.
Current conversion chart
A responsive visual curve based on the active direction and current base values.
Current conversion
1.5rem = 1.5em
Reverse conversion
1.5em = 1.5rem
Convert REM to pixels
Pixels = REM × Root Font Size
Convert pixels to EM
Result = Pixels / Parent Font Size
Context
- Root font-size (base HTML): 16px
- Parent font-size: 16px
Step 1: Define the relevant context
Confirm the values that influence the conversion. Relative units like REM, EM, VW, VH, and % depend on the root font-size, parent font-size, parent length, or viewport dimensions.
Step 2: Convert the source value into pixels
Normalize the source unit into pixels first. This gives you a consistent base for accurate conversion across all CSS unit types.
Step 3: Convert pixels into the target unit
Once the intermediate pixel value is known, convert it into em using the target formula below.
| REM | EM |
|---|---|
| 0.25rem | 0.25em |
| 0.5rem | 0.5em |
| 0.75rem | 0.75em |
| 0.875rem | 0.875em |
| 1rem | 1em |
| 1.125rem | 1.125em |
| 1.25rem | 1.25em |
| 1.5rem | 1.5em |
| 2rem | 2em |
| 3rem | 3em |
| 4rem | 4em |
| 4.5rem | 4.5em |
| 6rem | 6em |
Understanding REM
The rem unit scales from the root font-size of the document, making it a strong choice for accessible typography and consistent spacing systems.
Understanding EM
The em unit is relative to the current parent font-size, which makes it flexible for nested interface patterns and component-local scaling.
Why convert REM and EM?
- System consistency: Work across design tokens, components, and documentation using a predictable translation between units.
- Responsive control: Compare fixed, relative, and contextual units without guessing how they behave in production layouts.
- SEO-safe structure: This page serves both directions of the same conversion pair to avoid duplicate content and consolidate relevance in one canonical destination.