Pixels (CSS) to Inches
Type a value in Pixels (CSS) and get the result in Inches, calculated exactly.
16 Pixels (CSS) ≈ 0.1666666667 Inches
Precision
Exact factorRounded for display to about 10 significant digits.
Slide rule
Drag to scrub · arrow keys step · Shift × 10Paper tape
ConvertThemAll
- Your conversions print here.
0 lines · kept on this device only
Formula
in = px ÷ 96
To convert Pixels (CSS) to Inches, divide the value by 96.
Worked examples
- 1 px ÷ 96 ≈ 0.01041666667 in
- 16 px ÷ 96 ≈ 0.1666666667 in
- 100 px ÷ 96 ≈ 1.041666667 in
This factor is exact by definition.
Conversion table
| Pixels (CSS) (px) | Inches (in) |
|---|---|
| 1 | ≈ 0.01041667 |
| 2 | ≈ 0.02083333 |
| 4 | ≈ 0.04166667 |
| 8 | ≈ 0.08333333 |
| 10 | ≈ 0.1041667 |
| 12 | 0.125 |
| 14 | ≈ 0.1458333 |
| 16 | ≈ 0.1666667 |
| 18 | 0.1875 |
| 20 | ≈ 0.2083333 |
| 24 | 0.25 |
| 32 | ≈ 0.3333333 |
| 36 | 0.375 |
| 48 | 0.5 |
| 64 | ≈ 0.6666667 |
| 72 | 0.75 |
| 96 | 1 |
Values marked ≈ are rounded; the rest are exact.
Reverse table: Inches to Pixels (CSS)
| Inches (in) | Pixels (CSS) (px) |
|---|---|
| 1 | 96 |
| 2 | 192 |
| 4 | 384 |
| 8 | 768 |
| 10 | 960 |
| 12 | 1,152 |
| 14 | 1,344 |
| 16 | 1,536 |
| 18 | 1,728 |
| 20 | 1,920 |
| 24 | 2,304 |
| 32 | 3,072 |
| 36 | 3,456 |
| 48 | 4,608 |
| 64 | 6,144 |
| 72 | 6,912 |
| 96 | 9,216 |
Unit definitions
- Pixels (CSS) px
- The CSS reference pixel: exactly 1/96 of an inch.
- Inches in
- Exactly 25.4 millimetres.
Questions people ask
Pixels (CSS) to Inches: what is the conversion factor?
One px is ≈ 0.01041666667 in.
How do I convert Pixels (CSS) to Inches?
Use the formula above. For example, 16 px = ≈ 0.1666666667 in.
Is the conversion exact?
Yes. Both units have exact definitions, so the factor is exact; a result is only rounded when its decimals never end.
Factors checked 19 October 2026.