Back to home

CSS Unit Converter

Convert between px, rem, em, pt and % with a configurable root size

Value
Unit
Root sizepx
Conversions
  • px16px
  • rem1rem
  • em1em
  • %100%
  • pt12pt
  • pc1pc
  • in0.167in
  • cm0.423cm
  • mm4.233mm

rem, em and % are converted against the root size above (assuming the parent font-size equals the root); pt, pc, in, cm and mm are absolute and ignore it.