REM to PX Converter

Converts REM units into pixels based on a base font size.

Lilu Baba's REM to PX Converter converts CSS REM units into pixels using your chosen root font size — handy for translating design specs into code.

How to use this calculator

  1. Enter the REM value.
  2. Enter the root font size (default browser value is 16px).
  3. The pixel equivalent updates instantly.
Pixels —

REM to PX Converter — frequently asked questions

A relative unit equal to the root (html) element's font size — 1rem typically equals 16px unless changed.

Some sites set a custom root font size (e.g. for accessibility or responsive scaling) — use that value here for an accurate conversion.