ConverterHubsConverterHubs

REM to PX Converter — Decode CSS Relative Units

When you inherit a codebase or third-party design system that uses rem values everywhere, you often need to know the actual rendered pixel size for debugging, design reviews, or handoffs. This REM to PX converter decodes relative units back into concrete screen dimensions.

Reverse-convert REM values back to their pixel equivalents for any root font size. Understand what CSS relative units actually render to on screen. Essential for debugging legacy code or third-party stylesheets using rem-based design systems.

1rem = 16px at default browser font size.

Reversing REM Values to Pixels

REM values are relative — they multiply the root element font size. To reverse this, multiply the rem value by the root font size. If the root is 16px (default), then 1.5rem × 16 = 24px.

  1. 1Enter the REM value you want to decode from your stylesheet.
  2. 2Set the root font size matching your project (default is 16px).
  3. 3Instantly see the exact pixel size that value renders at in a browser.

REM to PX Reverse Formula

To decode a rem value, multiply it by the root font-size. The root font-size is whatever the HTML element's font-size is set to — typically 16px in all browsers by default.

PX = REM × Root Font Size Example: 2.5rem × 16px = 40px

REM to Pixel Conversion Chart (16px Base)

Use this lookup chart to decode rem values when reviewing a component library, design token system, or inherited stylesheet:

REM ValuePixel Equivalent (at 16px Base)
0.25rem4 px
0.5rem8 px
0.75rem12 px
0.875rem14 px
1rem16 px
1.25rem20 px
1.5rem24 px
2rem32 px
3rem48 px
4rem64 px

Decoding REM FAQs

You often need this when reviewing a Figma design (which uses pixels) against a component library using rem tokens, or when debugging why a UI element renders slightly larger or smaller than expected.

Simply enter the custom root font size in the base field. For example, if your HTML element has font-size: 10px (the 62.5% trick), then 1rem = 10px.

No. REM is a CSS unit, not a physical pixel unit. It resolves to CSS pixels, which then get multiplied by the device pixel ratio internally by the operating system.

Decoding rem values is essential for QA, design-dev handoff, and debugging inherited stylesheets. Bookmark this tool to quickly translate any rem value into a pixel size your team can reference.

Related Tools