em to rem
Snapshot
1 EM equals 1 REM.
- Reference basis: This conversion uses CSS pixel-based scaling anchored to 96 pixels per inch.
- Example: For 8 EM, the result equals 8 REM.
Interactive conversion
Converter Calculator
Decimals: 1.5 or 1,5. Fractions: 1/2. Scientific notation: 1e3. Write 1000 without grouping separators.
1 REM (16px root) (rem)
SwitchAPI and AI agent access
em to rem.
Machine-readable identifiers
- Conversion family
typography-units- Source unit
em_16_context- Target unit
rem_16_root
Use these identifiers in the API request. Sources and model limits also apply to software clients.
Example API request and response
POST /api/v1/convertRequest
{
"family": "typography-units",
"value": 1,
"from": "em_16_context",
"to": "rem_16_root"
}Essential response
{
"ok": true,
"conversion": {
"family": "typography-units",
"value": 1,
"from": "em_16_context",
"to": "rem_16_root",
"result": {
"raw": 1,
"display": "1"
},
"canonicalPath": "/typography-units/em-16-context-to-rem-16-root/"
}
}Explanation
Multiply by 1 because 1 em = 16 px and 1 rem = 16 px. Assumption: Assumes a 16px parent font size. Assumes a 16px root font size.
Common Conversion Values
| EM (16px context) (em) | REM (16px root) (rem) |
|---|---|
| 8 | 8 |
| 10 | 10 |
| 12 | 12 |
| 14 | 14 |
| 16 | 16 |
| 18 | 18 |
| 24 | 24 |
| 32 | 32 |
| 48 | 48 |
| 96 | 96 |
Questions & answers
Frequently Asked Questions
What defines em to rem?
Both units are normalized through CSS pixels, then converted using a fixed ratio.