PX to REM Converter
Fill in the values and the answer updates as you type.
How the PX to REM Converter works
rem = pixels ÷ root font size. Browsers default to a 16 px root, so 24 px is 1.5 rem. Points use 1 px = 0.75 pt. Using rem lets text and spacing scale when people change their browser font size.
Inputs and results
The PX to REM Converter takes 2 inputs and gives 4 results.
What you enter
- Pixels (px) — starts at 24.
- Root font size (px) — starts at 16.
What you get
- Value in rem
- Value in em (same as rem at root)
- Value in points
- Percent of root size
PX to REM Converter FAQ
How do I use the PX to REM Converter?
Enter pixels and root font size in the fields, then read value in rem, value in em (same as rem at root), value in points and percent of root size in the result panel. The answer updates as you type, and you can press Calculate or Enter to refresh it. Use “Copy link” to share your exact numbers with someone else.
What does the PX to REM Converter calculate?
Convert pixels to rem, em, points, and percent for CSS. It returns value in rem, value in em (same as rem at root), value in points and percent of root size from the 2 values you provide.
What values does the PX to REM Converter start with?
It opens with pixels 24 px and root font size 16 px so you can see a working result straight away. Replace them with your own numbers, or press Reset to return to these starting values.
Is the PX to REM Converter free and private?
Yes. It is free, needs no account, and runs in your browser, so nothing you type is sent to or stored on our servers. See the Privacy Policy for details.
Can I rely on the PX to REM Converter for important decisions?
Treat the result as a well-rounded estimate. Real situations often have details a general calculator cannot know, so confirm important decisions with a qualified professional. See the Disclaimer for more.