Convert CSS rem units to pixels based on your root font size. Enter a value and the result appears instantly.

The CSS rem unit is relative to the root element (html) font size. By default, browsers set this to 16px, so 1rem = 16px. Unlike em, rem does not compound — it always references the root.
Rem is the recommended unit for modern responsive web design. It provides consistent, scalable sizing that respects user accessibility preferences.
Converting rem to px helps understand the actual rendered size when designing or debugging CSS layouts.
All calculations run locally in your browser — nothing is sent to any server.
px = rem × root font size. Default root font size = 16px.
If html { font-size: 62.5% }, root = 10px, so 1.6rem = 16px.
Rem never compounds. 1rem is always the same regardless of nesting depth. This makes it more predictable than em.
| Feature | rem | px |
|---|---|---|
| Reference | Root font size | Fixed pixel |
| Compounds | No (always root) | No |
| Responsive | Yes | No |
| Accessibility | Respects user settings | Fixed size |
| Predictability | Consistent everywhere | Always consistent |

Have an idea, found a bug, or want to suggest a feature? Drop us a message – we respond within 24 hours.