rem to em Converter
Convert CSS rem values to em given the root font size and parent element font size.
Use the rem to em Converter
Rem to Em Converter
Result
1.0000 em
Formula: em = rem × (root px ÷ parent px)
Reverse: Em to Rem
Result
1.0000 rem
Formula: rem = em × (parent px ÷ root px)
Reference Table
Common rem values converted to em at 16px root / 16px parent (ratio 1:1 at these defaults).
| Rem | Em (16px/16px) | Pixels |
|---|
Copied!
Summary
Convert CSS rem values to em given the root font size and parent element font size.
How it works
- Enter the rem value you want to convert.
- Set the root (html) element font size in pixels (default 16px).
- Set the parent element font size in pixels (default 16px).
- The converter calculates: em = rem × (root px ÷ parent px).
- Use the reverse section to convert em back to rem.
Use cases
- Find the em equivalent of a rem value when working inside a component with a non-default font size.
- Audit third-party CSS that mixes rem and em units to ensure consistent sizing.
- Migrate a rem-first stylesheet to em for a scoped component with its own font-size context.
- Verify that nested em values match the intended rem-based design token.
Frequently Asked Questions
Last updated: 2026-09-19 ·
Reviewed by Nham Vu