28 px to rem

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}.

Nearby values

pxrem
8 px0.5 rem
10 px0.625 rem
12 px0.75 rem
14 px0.875 rem
16 px1 rem

Convert other values

Use the interactive converter: px to rem converter. Related: px to rem, rem to px, pt to px, px to pt.

Frequently Asked Questions

Is the px to rem ratio always the same?

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.

Why convert px to rem?

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.