PX to REM Converter
Convert pixel values to rem and back again using the root font size your project actually uses.
Features
Two-Way Conversion
Switch between pixel-to-rem and rem-to-pixel conversion without needing a second calculator.
Custom Root Size
Use the root font size your project actually uses instead of assuming 16px.
Quick Output
Copy the converted result for CSS, design specs, or audits.
How It Works
Pick whether you are converting from pixels to rem or the other way around.
Use the default 16px or enter the value your project is based on.
The converted value updates immediately so you can paste it into code or documentation.
Frequently Asked Questions
Related Tools
Calculate readable line-height values for headings, body copy, and long-form text.
Convert between pixels, points, picas, em, rem, inches, millimeters, and more.
Search a compact reference of common Tailwind utility classes and their CSS output.