Pixel to REM/EM Converter
Convert between pixel, rem, and em CSS units with a customizable base font size.
8px16px (default)32px
16px
Pixels
1rem
REM
1em
EM
Reference Table (base: 16px)
| Pixels | REM | EM | |
|---|---|---|---|
| 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 |
How to Use Pixel to REM/EM Converter
- 1
Enter a value
Type a pixel or rem value you want to convert.
- 2
Set base font size
Confirm or change the root font size, default is 16px.
- 3
Copy the result
Click copy to grab the converted pixel or rem value.
Related Tools
CSV to JSON Converter
Convert CSV data into structured JSON arrays or objects with automatic type detection.
JSON to CSV Converter
Transform JSON arrays and objects into downloadable CSV spreadsheet format.
YAML to JSON Converter
Convert YAML configuration files to JSON format with validation and formatting.
XML to JSON Converter
Parse XML documents and convert them to equivalent JSON structure with attributes.
TSV to CSV Converter
Convert tab-separated values to comma-separated format with proper escaping.
Number Base Converter
Convert numbers between binary, octal, decimal, and hexadecimal bases.