PX to REM Converter
Convert pixels to REM and REM to pixels. With reference table and custom base size.
How to use: Enter a pixel value and base font size to get the rem equivalent.
px
| Pixels | REM |
|---|---|
| 2px | 0.125rem |
| 4px | 0.25rem |
| 6px | 0.375rem |
| 8px | 0.5rem |
| 10px | 0.625rem |
| 12px | 0.75rem |
| 14px | 0.875rem |
| 16px | 1rem |
| 18px | 1.125rem |
| 20px | 1.25rem |
| 24px | 1.5rem |
| 28px | 1.75rem |
| 32px | 2rem |
| 36px | 2.25rem |
| 40px | 2.5rem |
| 48px | 3rem |
| 56px | 3.5rem |
| 64px | 4rem |
| 72px | 4.5rem |
| 80px | 5rem |
| 96px | 6rem |
PX to REM Converter
Convert between pixels and REM units for responsive CSS. Set your base font size, enter a value, and see the conversion instantly. Includes a reference table with common pixel sizes and their REM equivalents.
Frequently Asked Questions
- What is a REM unit?
- REM stands for 'root em'. It's a CSS unit relative to the root element's font size. If the root is 16px, then 1rem = 16px.
- What base size should I use?
- The default browser font size is 16px, which is the most common base. Change the base if your project uses a different root font size.