PX to EM Converter
Convert CSS px to em (or em to px) instantly with a configurable base font size, batch input, and a handy reference table.
px — usually 16 (browser default)
px
EM value
Enter multiple values separated by spaces or commas.
Results
Common PX → EM Reference
at 16px base| PX | EM | Common use |
|---|
Copied!
Summary
Convert CSS px to em (or em to px) instantly with a configurable base font size, batch input, and a handy reference table.
How it works
- Enter the base font size (default 16px — the browser default).
- Type a pixel value in the PX input to get the em equivalent, or type an em value to convert back to px.
- Use the Batch tab to paste multiple space- or comma-separated px values and convert them all at once.
- Copy individual results with the copy button, or copy the full batch output.
- Use the reference table to look up common px sizes and their em equivalents.
Use cases
- Convert a designer's pixel specs to em units for a scalable CSS stylesheet.
- Quickly check what em value corresponds to a target pixel size.
- Batch-convert all font sizes in a design token file from px to em.
- Verify responsive typography scales using a custom root font size.
- Cross-check em values when debugging text that looks too large or small.
Frequently Asked Questions
Last updated: 2026-07-01 ·
Reviewed by Nham Vu