Pixel to Rem Converter
Free pixel to rem converter. Turn px into rem (and em) for any base size, and reverse it instantly.
Rem (rem)
1.25
Em (em)
1.25
Processed locally in your browser. Nothing you type is uploaded to a server.
About Pixel to Rem Converter
Convert pixel sizes to rem and em for consistent, accessible CSS. Perfect for design hand-off. Runs locally.
How to use it
- 1Enter your base font size.
- 2Enter the pixel value.
- 3Read the rem and em values.
Examples
Design token
Input
base 16px, 20 pxResult
1.25 rem · 1.25 emFrequently asked questions
What base font size should I assume?
Most sites use 16px (100% browser default). If your root uses a different size, enter it to get accurate conversions.