⚡ Try PakhiPDF Pro — Unlimited tools, zero ads. Upgrade Free →
CSS Unit Converter

REM to PX Converter

Instantly convert CSS rem units to pixels. Free, fast, no sign-up required.

? Custom Base Font Size ? Real-time Results ? 100% Free Forever
gradient

REM ? PX Calculator

Browser default = 16px

Result

16 px

Formula: 1 - 16 = 16px

Quick Presets (Base 16px)

Formula

PX = REM - Base Font Size

Example: 1.5rem - 16px = 24px

gradient

Want to start investing in crypto now?

Discover how specific cryptocurrencies work — and get a bit of each crypto to try out for yourself.

Start Earning

What is REM to PX Conversion?

The REM to PX converter is an essential tool for every web developer and CSS designer. REM (Root EM) is a relative CSS unit that is always proportional to the <html> root element's font size. By default, all modern browsers set the root font size to 16 pixels, so 1rem = 16px. Our free tool lets you convert any REM value to its exact pixel equivalent instantly - with support for custom base font sizes.

How the REM to PX Formula Works

The math is straightforward:

PX = REM Value - Base Font Size (px)

With the default 16px root: 1.5rem - 16 = 24px, 2rem - 16 = 32px, 0.75rem - 16 = 12px. If you change your root to 10px (via the 62.5% trick), then 1rem = 10px.

REM to PX Conversion Table (Base 16px)

REMPX (16px base)PX (10px base)Common Use
0.25rem4px2.5pxFine borders
0.5rem8px5pxSmall spacing
0.75rem12px7.5pxCaptions
1rem16px10pxBody text
1.25rem20px12.5pxLead text
1.5rem24px15pxH3
2rem32px20pxH1/H2
3rem48px30pxDisplay
4rem64px40pxHero

Why Use REM Instead of PX?

REM units are the industry standard for accessible, scalable web design. Here is why leading developers and frameworks like Tailwind CSS and Bootstrap prefer REM:

  • Accessibility: REM respects the user's browser font size preference. If a user sets their browser to 20px for readability, all rem-based elements scale proportionally.
  • Consistency: A single change to html { font-size } scales your entire design system.
  • Responsive Design: REM-based layouts scale gracefully across devices without dozens of media queries.
  • Industry Standard: WCAG accessibility guidelines recommend rem for font sizes and spacing.
  • Tailwind & Bootstrap: Both frameworks output rem values by default for all typography and spacing utilities.

When to Use PX Units

  • Border widths: border: 1px solid - fractional borders look odd
  • Box shadows with precise blur/spread values
  • Media query breakpoints where exact pixel widths are needed
  • Fixed-dimension icons that should not scale with font size
  • Overriding third-party component styles

Frequently Asked Questions

Related REM Converter Tools