CSS / FRONTEND · RUNS IN YOUR BROWSER

REM to PX Converter

Convert rem values to real pixels, with a table of common rem sizes.

Root font size defaults to 16px and accepts 1 to 200px, and both fields stay linked either way. Results are rounded to four decimal places.

Input

Browsers default to 16px. If your project changed the html font-size, enter that value instead.

Result

Pixels24px

Common size reference

PixelsREM
1px0.0625rem
2px0.125rem
4px0.25rem
6px0.375rem
8px0.5rem
10px0.625rem
12px0.75rem
14px0.875rem
16px1rem
18px1.125rem
20px1.25rem
24px1.5rem
28px1.75rem
32px2rem
36px2.25rem
40px2.5rem
48px3rem
56px3.5rem
64px4rem
72px4.5rem
80px5rem
96px6rem
128px8rem

About this tool

Reading a design file or someone else's stylesheet usually means running into values like `1.375rem`. Enter the rem value here and you get the pixel size straight away, with both fields linked so you can check the reverse too. If your project uses a root size like 10px to make the arithmetic easier, change the field and the whole table recalculates.

How it works

  1. Set the root font size your project actually uses.
  2. Enter a rem value to get the pixel result.
  3. Use the table to scan common rem sizes at a glance.

Privacy

Every calculation and preview runs inside this browser. Your input is never uploaded, stored, or written to the URL or any log.

Frequently asked questions

How many pixels is 1rem?
It depends on the html element's font-size. Browsers default to 16px, so 1rem is usually 16px — but a project that changes the html font-size, or a reader who changed their browser default, will get a different number.
How is rem different from em?
rem is always relative to the root font size and stays consistent across the document. em is relative to the current element's font size and compounds through nesting, so values drift as structure deepens. Use rem when you need predictable sizing.