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.
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.