Color and design

REM to PX Converter

Convert rem values to CSS pixels using a configurable root font size.

Convert to PX

Use the computed font size of your root html element. Results are CSS pixels, not physical screen pixels.

Your inputs and results are processed in your browser and are not uploaded to ToolPixels. This tool does not save them.

Rem multiplied by the root font size

The formula is pixels = rem × root font size. A value of 1.5rem at a 16px root equals 24px. Changing the root to 20px makes the same value 30px.

The browser may lay out fractional CSS pixels. This calculator preserves fractional values and does not assume your device pixel ratio or browser zoom.