REM to PX Converter

Convert rem units back to pixels for any root font size.

Ad placeholder (leaderboard)
Enjoying the tools? Go Pro for £4.99 (one-time) and remove all ads — forever, on this device. Remove ads — £4.99

A rem (root em) is a CSS length relative to the root (html) font size. To see what a rem value resolves to in pixels, this converter multiplies it by that root size — useful for debugging layouts, matching design specs, and sanity-checking a spacing scale.

How it works

The formula is simply:

px = rem × root font size

The root font size is the font-size set on the html element. Browsers default it to 16px, so 1rem = 16px unless a stylesheet changes it. You enter the rem value and the root size; the tool multiplies them and shows the pixel result along with the multiplication so you can see exactly how it was derived.

Example

With the default 16px root:

  • 1.5rem × 16 = 24px
  • 0.875rem × 16 = 14px
  • 2rem × 16 = 32px

If your stylesheet sets the root to 10px (the 62.5% trick), then 1.5rem × 10 = 15px instead.

remRoot 16pxRoot 10px
0.58px5px
116px10px
1.524px15px
232px20px

The conversion runs entirely in your browser and nothing is sent anywhere.

Ad placeholder (rectangle)