CSS Units Converter

Rem to Px Converter

Convert rem to pixels instantly. Free online CSS rem to px converter with base font size adjustment.

100% client-side. Your data never leaves your browser.

÷base
Viewport settings
Enter a value above to convert between CSS units

Related Tools

Convert Rem to Pixels

Enter a rem value to convert it to pixels. The conversion multiplies your rem value by the root font size (default 16px). Use this when you need to understand the actual pixel output of relative CSS units.

Common Rem to Pixel Values

RemPixels (16px base)Pixels (14px base)Context
0.5rem8px7pxSmall spacing
0.75rem12px10.5pxSmall text
0.875rem14px12.25pxBody text (some frameworks)
1rem16px14pxBase font size
1.25rem20px17.5pxLarge body text
1.5rem24px21pxH3 / section headings
2rem32px28pxH2 headings
3rem48px42pxH1 headings

How to Use

  1. The tool opens with 1rem pre-filled, converting to 16px
  2. Type any rem value in the input field
  3. Adjust the base font size if your project uses something other than 16px
  4. Copy the pixel value from the results table

Real-World Example

You see font-size: 1.25rem in the computed styles and need to know the actual pixel size. With a 16px root font size, multiply 1.25 × 16 = 20px. If your framework uses 14px base, it would be 1.25 × 14 = 17.5px.

For more conversions, see the full CSS Units Converter or try Px to Rem.