PX ↔ REM Converter

Convert pixels to rem and rem to pixels using your base font size. Perfect for responsive, accessible typography.

Pixels to REM

Example: 12, 16, 24, 32
REM
Copied!

Formula: rem = px ÷ base font size

REM to Pixels

Example: 0.75, 1, 1.25, 1.5
Pixels
Copied!

Formula: px = rem × base font size

Set your own root font size if it’s different from the default 16px.
Quick presets:

Quick px → rem reference (16px base)

Pixels (px) REM (16px base)
12 px0.75 rem
16 px1.00 rem
20 px1.25 rem
24 px1.50 rem
32 px2.00 rem

Tip: using rem instead of px makes your typography more scalable and accessible. For most projects, a 16px base works well.

Common PX to REM sizes at 16px…

  • 1 px to rem is 0.0625 rem

  • 2 pixels to rem is 0.125 rem

  • 4 px into rem is 0.25 rem

  • 8 pixels to rem is 0.5 rem

  • 10 px to rem is 0.625 rem

  • 12 pixels to rem is 0.75 rem

  • 14px to rem is 0.875 rem

  • 15 pixels to rem is 0.9375 rem

Common Pixels to REM sizes at 96 PPI…

  • 16 px to rem is 1 rem

  • 18 pixels to rem is 1.125 rem

  • 20px to rem is 1.25 rem

  • 22 px to rem is 1.375 rem

  • 24px to rem is 1.5 rem

  • 28 pixels to rem is 1.75 rem

  • 30 px to rem is 1.875 rem

  • 32 pixels to rem is 2 rem

Common PX REM sizes at 96 PPI…

  • 36 px to rem is 2.25 rem

  • 40 pixels to rem is 2.5 rem

  • 48 px to rem is 3 rem

  • 50 pixels to rem is 3.125 rem

  • 56 px to rem is 3.5 rem

  • 60 pixels to rem is 3.75 rem

  • 64 px to rem is 4 rem

  • 72 pixels to rem is 4.5 rem

Common Pixel to REM sizes at 96 PPI…

  • 80 px to rem is 5 rem

  • 90 pixels to rem is 5.625 rem

  • 96 px to rem is 6 rem

  • 100 pixels to rem is 6.25 rem

  • 112 px to rem is 7 rem

  • 120 pixels to rem is 7.5 rem

  • 128 px to rem is 8 rem

  • 160 pixels to rem is 10 rem

FAQs

Here are some of the frequently asked questions about conversions…

Related tools you might find helpful

If you work with CSS, responsive layouts, or UI design, these converters will help you switch between different units quickly.

Each tool solves a specific use case – whether you're adjusting font sizes, spacing, or converting print measurements to screen pixels. Explore the full set below to speed up your workflow…

Complete list of conversion tools

  • PX to CM Converter – Convert pixels into centimeters for print-friendly layouts and accurate sizing.

  • CM to PX Converter – Convert centimeters to pixels when designing for screens or digital assets.

  • PX to REM Converter – Convert pixels to rem for scalable and accessible typography.

  • REM to PX Converter – Convert rem values back to fixed pixel units for precise layout control.

  • PX to Inches Converter – Convert pixels into inches for print sizes or physical measurements.

  • Inches to PX Converter – Convert inches into pixel dimensions based on standard screen density.

  • MM to PX Converter – Convert millimeters to pixels for UI, print, and product mockups.

  • PX to MM Converter – Convert pixels to millimeters with accurate unit mapping.

  • MM to Inches Converter – Convert millimeters into inch values for sizing and print design.

  • Inches to MM Converter – Convert inches into millimeters for exact physical measurements.

  • VW to PX Converter – Convert viewport-width units into pixel values for responsive layouts.

  • PX to VW Converter – Convert pixel values into viewport-width units for fluid UI scaling.