REM to PX Converter

Enter a rem value and get the pixel equivalent instantly at your project's root font size (16px by default). REM-to-PX is useful when a design system specifies sizes in rem but a tool, email client, or canvas needs absolute pixels. The table below converts the most common rem values at a 16px root.

REM to pixels at a 16px root font size

REMPixels
0.25rem4px
0.5rem8px
0.75rem12px
0.875rem14px
1rem16px
1.25rem20px
1.5rem24px
2rem32px
2.5rem40px
3rem48px
4rem64px

When to use it

  1. Convert a rem-based design token to pixels for an email template or PDF.
  2. Check the real pixel size a rem value renders at on a default browser.
  3. Debug spacing when mixing rem and px in the same stylesheet.

How to Use

  1. Type a rem value into the REM field — for example, 1.5.
  2. The pixel equivalent appears in the PX field on the right.
  3. Adjust the Root Font Size if your project sets html font-size to something other than 16px.
  4. Use the reference table for common rem values: 0.875rem, 1rem, 1.25rem, 1.5rem, 2rem.
  5. Copy either field's value with one click to paste into CSS, JSON tokens, or Figma.

Features

  1. Multiplies rem by root font-size (configurable, defaults to 16px)
  2. Reference table for typical rem values designers and devs hit daily
  3. Bidirectional conversion in a single component
  4. Four-decimal precision — matches browser computed values
  5. Runs locally; design tokens stay on your machine

FAQs

How do I convert rem to pixels?

Multiply the rem value by the root font-size (default 16px in browsers). So 1.5rem × 16 = 24px, 0.875rem × 16 = 14px, 2rem × 16 = 32px. This tool does the multiplication for you — type the rem value and read the pixel result. If your project uses a non-default root font-size (such as 10px when html font-size is 62.5%), change the base field to match.

Why would I need rem-to-px conversion?

When auditing a third-party design system, debugging dev tools (which often show computed pixel values, not source rem values), or comparing a Figma file (pixel-based) against an existing rem-based codebase. Designers often think in pixels even when developers ship rem — this calculator bridges the two languages quickly.

What does 1rem equal in a typical project?

In a project using the browser default, 1rem = 16px. In a project with html { font-size: 62.5% }, 1rem = 10px. In a project with html { font-size: 100% } (same as default), 1rem = 16px. In a project with html { font-size: 18px }, 1rem = 18px. The rem unit is always relative to the html element's computed font-size, not the user's browser preference directly — though setting html in percent keeps the user preference flowing through.

Does this match Chrome DevTools computed values?

Yes. DevTools shows the computed pixel value for any rem property — and this calculator gives the same result for the same base. If your DevTools shows 24px for a font-size set to 1.5rem, this calculator will show 24px for 1.5rem at base 16. Useful for verifying that your design system tokens match what users actually see.

Technical Details

REM to PX conversion applies: px = rem × rootFontSize. This is the inverse of PX→REM. The shared CssUnitConverter component handles both directions from a single state, so entering a REM value computes the PX equivalent and vice versa. The configurable root font-size is stored in local state and defaults to the CSS standard of 16px.

Calculators & Converters

Calculators & Converters

  • PX to EM Converter
  • EM to PX Converter
  • PX to Percentage Converter
  • Percentage to PX Converter
  • Base Unit to PX Converter
  • PX to Base Unit Converter
  • PX to Tailwind Converter
  • Tailwind to PX Converter