📏

PX to REM Converter

Essential PX/REM converter with custom root font size support.

px

Default browser root font size is usually 16px

R
Using REM units in web development supports better responsive layouts and accessibility. This tool helps you quickly convert between PX and REM.

Common Conversion Table

Pixels (px)Rem
10px0.625rem
12px0.75rem
14px0.875rem
16px1rem
18px1.125rem
20px1.25rem
24px1.5rem
28px1.75rem
32px2rem
36px2.25rem
40px2.5rem
48px3rem
56px3.5rem
64px4rem
72px4.5rem
80px5rem
96px6rem
128px8rem

About This Tool

In modern responsive web development, using REM (Root EM) units offers significant advantages over fixed PX (Pixels), especially for accessibility and mobile adaptation. This tool provides convenient bidirectional conversion between PX and REM. It defaults to a 16px base but supports custom adjustments. A handy reference table is also included to streamline your CSS coding process.

Features

  • 🔄 Bidirectional: Auto-convert PX to REM and vice versa
  • ⚙️ Custom Base: Adjustable Root Font Size (default 16px)
  • 📊 Reference Table: Built-in common PX/REM mapping table
  • ⚡ Real-time: Instant results as you type
  • 📋 One-click Copy: Easily copy conversion results
  • 📱 Responsive: Perfectly adapted for all screen sizes