PX to REM Converter
Design ToolsConvert pixels to rem and em for CSS
FreePrivateInstant
Similar tools you may like
History
All history →PX to REM Converter — at a glance
Convert pixel sizes to rem and em units (or back) based on your root font size.
24px at 16px root
Run
1.5rem
How to use it — step by step
A pixel or rem value and your root font size.
1
Enter your values
Fill in the boxes. Sample values are already there so you can see how it works.
2
Calculate
Press the button to get your answer instantly.
3
Read the result
The main answer is shown in a large card with extra details below it.
4
Copy it
Use the copy button to save the result anywhere.
Pro tips
Small things that make the result better.
✦Browsers use 16px as the default root size.
✦rem units respect the user’s font-size setting.
✦em depends on the parent element’s size, rem on the root.
Quick facts
Freeno signup, no limit
Instantresult in a moment
Privatenothing is uploaded
Any devicephone, tablet or PC
Frequently Asked Questions
Why use rem instead of px?+
rem scales with the user’s browser font settings, which is better for accessibility.
Is my data safe?+
Yes. Everything runs inside your own browser. Your text, files and images are never uploaded to any server.
Is this tool really free?+
Yes — completely free, no signup, no watermark and no usage limit.
More Free Tools
Guides you might like
All guides →Color ConverterHEX, RGB and HSL: three ways to write the same colour, and which to useAspect Ratio Calculator16:9, 4:3, 1:1: aspect ratios without cropping surprisesColor Contrast CheckerIs your text readable? The contrast ratio, explainedPythagorean Theorem CalculatorPythagorean theorem: the 3-4-5 trick, ladders, TV sizes and how to check a right angle

