1.25em in px · 16px root
20 px
px = em × parent font size — shown here at the browser default root font size of 16px.
1.25em at every root font size
| Root font size | 1.25em equals | CSS |
|---|---|---|
| 10px | 12.5px | font-size: 12.5px; |
| 12px | 15px | font-size: 15px; |
| 14px | 17.5px | font-size: 17.5px; |
| 16px default | 20px | font-size: 20px; |
| 18px | 22.5px | font-size: 22.5px; |
| 20px | 25px | font-size: 25px; |
Converter
—
Nearby values
Questions
What is 1.25em in px?
1.25em = 20px at the browser default root font size of 16px. px = em × parent font size.
What is 1.25em in px at a different root size?
At 10px root: 12.5px. At 12px root: 15px. At 14px root: 17.5px. At 16px root: 20px. At 18px root: 22.5px. At 20px root: 25px.
How is 1.25em calculated?
px = em × parent font size. Here: 1.25 × 16 = 20.
All em values
Computed from the CSS Values and Units specification. See the full em to px table.