Typography / mm → in
Convert Millimeters to CSS inches
Convert absolute CSS lengths and desktop-publishing points. Convert Millimeters (mm) to CSS inches (in). Find the formula, worked examples, unit definitions, and practical guidance below.
Reverse: CSS inches to Millimeters →
How to convert millimeters to CSS inches
These use CSS definitions: 1 inch = 96 CSS pixels = 72 points = 6 picas. A CSS pixel is not a physical screen pixel. Relative em, rem, and viewport units need a rendering context and are excluded.
Use x for the value in mm, b for the intermediate value in in, and y for the result in in.
in = mm × 0.03937007874015748
Worked examples
10 mm ≈ 0.393700787402 in
Step 1: (10 × 0.0393700787402) ≈ 0.393700787402 in.
Step 2: 0.393700787402 ÷ 1 ≈ 0.393700787402 in.20 mm ≈ 0.787401574803 in
Step 1: (20 × 0.0393700787402) ≈ 0.787401574803 in.
Step 2: 0.787401574803 ÷ 1 ≈ 0.787401574803 in.
Results are rounded to 12 significant digits. Converting units does not increase the precision of the original measurement. Very large or small values outside JavaScript’s finite numeric range are rejected.
About Millimeters
Millimeters (mm) measures typography under the conventions above. The base value in in is (x × 0.0393700787402), where x is the numerical value in mm. Factors shown here are rounded for display; calculations use the stored factor.
About CSS inches
CSS inches (in) measures typography under the conventions above. The base value in in is (x × 1), where x is the numerical value in in. Factors shown here are rounded for display; calculations use the stored factor.
Definitions and sources
Keep these unit conventions consistent when using measurements in construction calculations.
Millimeters to CSS inches reference table
| Millimeters (mm) | CSS inches (in) |
|---|---|
| 1 | 0.0393700787402 |
| 5 | 0.196850393701 |
| 10 | 0.393700787402 |
| 25 | 0.984251968504 |
| 50 | 1.96850393701 |
| 100 | 3.93700787402 |
| 1000 | 39.3700787402 |
Browse every typography conversion →