Seamless Two-Way Conversion
Type in pixels to get REM immediately, or edit REM to calculate pixels instantaneously as you type.
PX to REM Converter
Convert pixels (px) to REM and EM units bidirectionally based on your root base font size (default 16px) with one-click copy and quick reference chart.
HTML root font-size value (default: 16px)
| Pixels (PX) | REM | EM | Copy |
|---|---|---|---|
| 8px | 0.5rem | 0.5em | |
| 10px | 0.625rem | 0.625em | |
| 12px | 0.75rem | 0.75em | |
| 14px | 0.875rem | 0.875em | |
| 16px | 1rem | 1em | |
| 18px | 1.125rem | 1.125em | |
| 20px | 1.25rem | 1.25em | |
| 24px | 1.5rem | 1.5em | |
| 28px | 1.75rem | 1.75em | |
| 32px | 2rem | 2em | |
| 36px | 2.25rem | 2.25em | |
| 40px | 2.5rem | 2.5em | |
| 48px | 3rem | 3em | |
| 56px | 3.5rem | 3.5em | |
| 64px | 4rem | 4em | |
| 72px | 4.5rem | 4.5em | |
| 80px | 5rem | 5em | |
| 96px | 6rem | 6em |
Calculate scalable typography and responsive spacing for modern CSS without manual calculations.
Type in pixels to get REM immediately, or edit REM to calculate pixels instantaneously as you type.
Easily adjust the base root font size from 16px to 10px, 14px, or any custom value suited for your design system.
Copy computed CSS units straight to your clipboard and explore a ready-to-use reference chart spanning 8px to 96px.
A refreshing collection of free classic browser games to recharge your brain during work.