Design tool
PX and REM Converter
Convert a pixel value to rem, or a rem value back to pixels.
Processed in your browser. The text is not sent to our servers.
How to convert px and rem
- Enter the number you want to convert.
- Set the root font size if it is not 16px.
- Choose To rem or To px.
Rem is the value divided by the root font size. Pixels are the rem value multiplied by that root size.
Frequently asked questions
What root size should I use?
16px matches the usual browser default. Use another number when your stylesheet sets a different root font size.
Is the calculation sent anywhere?
No. It runs in your browser.