Design tool
PX-to-REM Converter
Convert pixels and rem values using any root font size.
Runs in your browserEstimate
- REM value
- 1.5rem
- CSS
- font-size: 1.5rem;
- Back to pixels
- 24px
Most browsers use a 16px default root size, but your site may set a different value.
How to use this px-to-rem converter
- Enter the pixel value and the page's root font size to calculate the matching rem value.
- Compare the converted result with the source. Check the selected direction, format, and options before copying it.
- Change one input at a time to compare another case, then copy or save the result you plan to use.
About this px-to-rem converter
PX-to-REM Converter helps you convert pixels and rem values using any root font size. The input and result appear together for easy comparison.
You can also use it to compare the converted result with the source.
Example
With a 16 pixel root size, 24 pixels converts to 1.5rem. Change the root if the site's base font size is different.
Common uses
- → convert pixels and rem values using any root font size
- → compare the converted result with the source
- → prepare the output for another task or program