Enter a rem value and get the pixel equivalent instantly at your project's root font size (16px by default). REM-to-PX is useful when a design system specifies sizes in rem but a tool, email client, or canvas needs absolute pixels. The table below converts the most common rem values at a 16px root.
| REM | Pixels |
|---|---|
| 0.25rem | 4px |
| 0.5rem | 8px |
| 0.75rem | 12px |
| 0.875rem | 14px |
| 1rem | 16px |
| 1.25rem | 20px |
| 1.5rem | 24px |
| 2rem | 32px |
| 2.5rem | 40px |
| 3rem | 48px |
| 4rem | 64px |
Multiply the rem value by the root font-size (default 16px in browsers). So 1.5rem × 16 = 24px, 0.875rem × 16 = 14px, 2rem × 16 = 32px. This tool does the multiplication for you — type the rem value and read the pixel result. If your project uses a non-default root font-size (such as 10px when html font-size is 62.5%), change the base field to match.
When auditing a third-party design system, debugging dev tools (which often show computed pixel values, not source rem values), or comparing a Figma file (pixel-based) against an existing rem-based codebase. Designers often think in pixels even when developers ship rem — this calculator bridges the two languages quickly.
In a project using the browser default, 1rem = 16px. In a project with html { font-size: 62.5% }, 1rem = 10px. In a project with html { font-size: 100% } (same as default), 1rem = 16px. In a project with html { font-size: 18px }, 1rem = 18px. The rem unit is always relative to the html element's computed font-size, not the user's browser preference directly — though setting html in percent keeps the user preference flowing through.
Yes. DevTools shows the computed pixel value for any rem property — and this calculator gives the same result for the same base. If your DevTools shows 24px for a font-size set to 1.5rem, this calculator will show 24px for 1.5rem at base 16. Useful for verifying that your design system tokens match what users actually see.
REM to PX conversion applies: px = rem × rootFontSize. This is the inverse of PX→REM. The shared CssUnitConverter component handles both directions from a single state, so entering a REM value computes the PX equivalent and vice versa. The configurable root font-size is stored in local state and defaults to the CSS standard of 16px.