28 px = 1.75 rem at the standard CSS 96dpi reference.
The conversion uses the fixed relationship 1px = 1/16 rem (CSS standard: 96px = 72pt, root font size 16px). Your browser may use a different root font size if the site overrides html{font-size}.
| px | rem |
|---|---|
| 8 px | 0.5 rem |
| 10 px | 0.625 rem |
| 12 px | 0.75 rem |
| 14 px | 0.875 rem |
| 16 px | 1 rem |
Use the interactive converter: px to rem 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.