Skip to content
toolgrid

No tool found. Try another word.

REM to PX Converter

Convert rem to pixels for any root font size (16px by default), with a table of the rem values used most in CSS and design systems.

px

rempx

Runs in your browser. What you enter is kept for 30 days to improve Toolgrid, then deleted.

How to use the REM to PX Converter

  1. 1 Enter the size in rem.
  2. 2 Change the root font size if your site doesn’t use 16px.
  3. 3 Copy the pixel value or look it up in the table.

About the REM to PX Converter

To turn rem into pixels, multiply by the root font size: px = rem × root font size. With the browser default of 16px, 1.5rem is 24px and 0.875rem is 14px.

Design systems such as Tailwind CSS use rem for spacing and type scales. The table shows the rem values you see most (0.25, 0.5, 0.75, 0.875, 1, 1.125, 1.25, 1.5 and so on) and what they are in pixels at your root size.

The actual pixel size on screen can still change if someone sets a larger default text size in their browser: that’s the point of rem. Values are rounded to four decimals.

Frequently asked questions

How many pixels is 1.5rem?

24 pixels with the default root font size of 16px (1.5 × 16).

Is 1rem always 16px?

No. It’s 16px only when the root font size is the browser default. A stylesheet or the user’s browser settings can change it.

What is the difference between rem and em?

Rem is relative to the root font size, em to the font size of the current element, so em values multiply when elements are nested.

Why doesn’t my measurement match exactly?

Browsers round sizes to whole or half device pixels when drawing, so 0.875rem at 16px can be drawn as 14px on one screen and slightly different on another.