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

Enter multiple values separated by spaces or commas.

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

  1. Enter the base font size (default 16px — the browser default).
  2. Type a pixel value in the PX input to get the em equivalent, or type an em value to convert back to px.
  3. Use the Batch tab to paste multiple space- or comma-separated px values and convert them all at once.
  4. Copy individual results with the copy button, or copy the full batch output.
  5. 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