Typography Unit Converter
Convert CSS px, pt, pc, in, cm, and mm using the CSS reference of 96 px per inch.
How to use
- Enter a CSS/typographic length and choose units among px, pt, pc, in, cm, and mm under the 96 CSS px/in reference.
Capabilities and scope
Use CSS absolute-length relationships to compare screen/typographic units; this is not a physical monitor pixel-size measurement.
How it works
The CSS reference is 1 in=96 px, with 1 pt=96/72 px, 1 pc=16 px, 1 cm=96/2.54 px, and 1 mm=96/25.4 px.
Example
12 pt equals 16 CSS px.
Useful for
- Compare CSS pixels and typographic points
- Express print dimensions in CSS absolute units
- Convert pc/in/cm dimensions to px
Before you use it
- A CSS px is not always one physical hardware pixel. Browser zoom, DPR, and output-device calibration are not measured.
Standards and references
Frequently asked questions
Is 96 px always physically one inch on screen?
CSS defines the unit relationship as 96 px/in, but actual physical size can vary with device and viewing environment.