1.25 rem = 20 px at the standard CSS 96dpi reference.
The conversion uses the fixed relationship 1rem = 16 px (CSS standard: 96px = 72pt, root font size 16px). Your browser may use a different root font size if the site overrides html{font-size}.
| rem | px |
|---|---|
| 0.5 rem | 8 px |
| 0.75 rem | 12 px |
| 1 rem | 16 px |
| 1.5 rem | 24 px |
| 2 rem | 32 px |
Use the interactive converter: rem to px converter. Related: px to rem, rem to px, pt to px, px to pt.
Yes, at the browser default 1rem = 16px (root font size 16px). If a site overrides html{font-size} (e.g. 62.5% → 10px root), divide or multiply by that root size instead.
px is a fixed unit, while rem scales with the user's font-size preference, which is exactly what makes rem better for accessibility. Designers often hand off in px; converting to rem keeps typography responsive.