Typography / pt → in
Convert DTP points to CSS inches
Convert absolute CSS lengths and desktop-publishing points. Convert DTP points (pt) to CSS inches (in). Find the formula, worked examples, unit definitions, and practical guidance below.
Reverse: CSS inches to DTP points →
How to convert DTP points 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 pt, b for the intermediate value in in, and y for the result in in.
in = pt × 0.013888888888888888
Worked examples
10 pt ≈ 0.138888888889 in
Step 1: (10 × 0.0138888888889) ≈ 0.138888888889 in.
Step 2: 0.138888888889 ÷ 1 ≈ 0.138888888889 in.20 pt ≈ 0.277777777778 in
Step 1: (20 × 0.0138888888889) ≈ 0.277777777778 in.
Step 2: 0.277777777778 ÷ 1 ≈ 0.277777777778 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 DTP points
DTP points (pt) measures typography under the conventions above. The base value in in is (x × 0.0138888888889), where x is the numerical value in pt. 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.
DTP points to CSS inches reference table
| DTP points (pt) | CSS inches (in) |
|---|---|
| 1 | 0.0138888888889 |
| 5 | 0.0694444444444 |
| 10 | 0.138888888889 |
| 25 | 0.347222222222 |
| 50 | 0.694444444444 |
| 100 | 1.38888888889 |
| 1000 | 13.8888888889 |
Browse every typography conversion →