Pixel Converter

REM to PX Converter

Convert rem to pixels using the root font-size. Multiply the rem value by the root size to get an absolute pixel value.

Parent/root font-size the relative unit is measured against.

Result

256px

Formula

px = rem × root font-size (default 16px)

Conversion table

rem → px at base font-size (px) = 16.

rempx
0.25rem4px
0.5rem8px
0.75rem12px
1rem16px
1.25rem20px
1.5rem24px
2rem32px
2.5rem40px
3rem48px
4rem64px
5rem80px
6rem96px
8rem128px
10rem160px

About the REM to PX conversion

rem is relative to the root <html> font-size. Converting rem to px resolves that relative value into a fixed pixel measurement — useful for specs, debugging, and contexts that need absolute sizes.

The formula is px = rem × root font-size. At the 16px default, 1rem is 16px, 1.5rem is 24px, and 0.5rem is 8px. Change the base to match your document’s root font-size.

Reach for this rem to px converter when translating a rem-based design token into a concrete pixel value, or when checking exactly how large a rem value will render.

Related converters

REM to PX Converter FAQs

Multiply the rem value by the root font-size. At the default 16px root, px = rem × 16 — so 1rem = 16px and 2rem = 32px.
Only when the root font-size is 16px (the browser default). If html { font-size } is set to another value, 1rem equals that value instead.
When you need an absolute size — for a fixed-width asset, a spec that requires pixels, or debugging why a rem value renders at a certain size.
No. rem is always relative to the root font-size regardless of nesting, so the conversion depends only on the root value — not on parent elements.