Skip to content
BEAD

CSS Unit Converter

Convert px ↔ rem ↔ em ↔ pt ↔ % with an adjustable base font size.

Pixels (px)
Root em (rem)
Em (em)
Points (pt)
Percent (%)
Common preset jumps

Quick reference

  • rem — relative to the root <html> font size (default 16 px).
  • em — relative to the parent element's font size. Tricky when nested.
  • pt — print typography unit. 1 pt = 1/72 inch ≈ 1.333 px.
  • % shown here is relative to the container width supplied below.

You might also like