rem to em Converter

Convert CSS rem values to em given the root font size and parent element font size.

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

  1. Enter the rem value you want to convert.
  2. Set the root (html) element font size in pixels (default 16px).
  3. Set the parent element font size in pixels (default 16px).
  4. The converter calculates: em = rem × (root px ÷ parent px).
  5. 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-07-24 · Reviewed by Nham Vu