CSS Unit Converter
Convert between px, pt, em, rem, pica, inches and mm for CSS and print.
Web and print typography speak different unit languages: browsers work in pixels and rem, designers hand off in points and picas, and print output is measured in inches and millimeters. At the CSS standard of 96 dpi these all relate by fixed factors — 1 point is 1.333 px, 1 rem is 16 px by default — but juggling them by hand while translating a design to code is error-prone.
This converter maps any value between px, pt, pc, in, cm, mm, em and rem, so you can turn a print spec into CSS or size type consistently across both worlds.
How to use CSS Unit Converter
- 1
Enter a value
Type the amount you want to convert.
- 2
Choose the source unit
Pick the unit you're converting from.
- 3
Choose the target unit
The converted value appears instantly.
Features
- Instant bidirectional conversion
- Standards-based conversion factors
- Precise results as you type
Frequently asked questions
Common mistakes to avoid
- Mixing up unit prefixes across several orders of magnitude.
- Confusing similar-looking units from different systems.
Get new tools in your inbox
One email a month with new tools, guides, and updates. No spam, unsubscribe anytime.

