Enter a number in the From field, select units, and then click Convert.
This tool perform conversion between CSS absolute length units, including centimeters (cm), millimeters (mm), inches (in), pixels (px), points (pt), picas (pc), twips (twip), and quarter-millimeters (Q).
To use the converter, input a value in the From field, select the source and target units, and click Convert. The entered value is also converted into the other often used supported units.
| Unit definitions and relationships | |
| 1 centimeter | 1 cm = 10 mm = 40 Q |
| 1 millimeter | 1 mm = 0.1 cm = 1/10 cm = 4 Q |
| 1 inch | 1 in = 2.54 cm = 25.4 mm |
| 1 inch | 1 in = 96 px = 72 pt = 6 pc = 1440 twips |
| 1 pica | 1 pc = 12 pt = 16 px = 240 twips |
| 1 point | 1 pt = 1/72 in = 1/12 pc = 20 twips |
| 1 pixel | 1 px = 1/96 in = 1/16 pc = 3/4 pt = 0.75 pt = 15 twips |
| 1 twip | 1 twip = 1/20 pt = 1/1440 in |
| 1 quarter-millimeter | 1 Q = 0.25 mm = 1/40 cm = 1/101.6 in |
Note:
A CSS pixel is a logical unit defined as 1/96 in. However, its physical size can vary with display
scaling and resolution.