CSS Units Converter

Enter a value in any CSS unit and see all other unit equivalents with a custom base font size.

Summary

Enter a value in any CSS unit and see all other unit equivalents with a custom base font size.

How it works

  1. Enter the source value and unit
  2. Set root font size (default 16px)
  3. Set parent font size for em conversion
  4. Copy any converted value

Use cases

  • Converting design px values to rem for accessibility
  • Understanding vw values relative to viewport
  • Calculating pt values for print stylesheets

Frequently Asked Questions

Last updated: 2026-07-01 · Reviewed by Nham Vu