EM to REM Converter
Conversion Guide
Since both em and rem are relative units, the conversion is 1:1. However, remember that em is relative to parent element while rem is relative to root font size.
EM | REM | Actions |
---|---|---|
0.25 | 0.25 | |
0.5 | 0.5 | |
0.75 | 0.75 | |
1 | 1 | |
1.25 | 1.25 | |
1.5 | 1.5 | |
2 | 2 | |
2.5 | 2.5 | |
3 | 3 | |
4 | 4 | |
5 | 5 |
Frequently Asked Questions
Basics
What is EM?
The em unit creates sizes that adapt to their parent element's font size - like a family inheritance system for measurements. When you use 1em, you're saying 'make this the same size as my parent's font'. Using 2em means 'make this twice my parent's font size'. This makes em units perfect for creating harmonious, scalable designs.
I set my element to 1.5em but it's bigger than expected. What's happening?
Should I use em for padding and margins too?
My nested elements keep getting bigger and bigger with em. Help!
When should I use em vs rem vs px?
What is REM?
The rem (root em) unit is a relative unit that's always based on the font-size of the root element (html). This makes it powerful for creating consistent, scalable layouts that respect user preferences. Unlike em units which compound in nested elements, rem always refers back to the root font-size.
Why should I use rem instead of pixels?
How do I calculate rem values from pixels?
What's the difference between rem and em units?
When should I use rem vs em units?
How can I debug rem calculations?
Conversion
How to convert EM to REM?
To convert EM to REM, use the following formula: