Formula
px to in conversion formula
Use this relationship for a direct conversion:
Worked example
2 px = 0.0208333333 in.
Pixel conversions assume 96 pixels per inch. Use actual device or print PPI when physical pixel size matters.
Typography and Screen Length conversion
1 css pixel (96 ppi) (px) equals 0.010416666667 inch (in). Enter any value below to convert from px to in.
Enter a value and choose units. Results update instantly.
1 px = 0.0104166667 in
| Unit | Value |
|---|---|
| Inch in | 0.0104166667 |
| CSS pixel (96 PPI) px | 1 |
| Point pt | 0.75 |
| Pica pc | 0.0625 |
| Millimeter mm | 0.2645833333 |
| Centimeter cm | 0.0264583333 |
| Twip twip | 15 |
Formula
Use this relationship for a direct conversion:
2 px = 0.0208333333 in.
Pixel conversions assume 96 pixels per inch. Use actual device or print PPI when physical pixel size matters.
Quick reference
| CSS pixel (96 PPI) (px) | Inch (in) |
|---|---|
| 0.01 | 0.0001041667 |
| 0.1 | 0.0010416667 |
| 1 | 0.0104166667 |
| 2 | 0.0208333333 |
| 5 | 0.0520833333 |
| 10 | 0.1041666667 |
| 25 | 0.2604166667 |
| 50 | 0.5208333333 |
| 100 | 1.0416666667 |
| 1,000 | 10.4166666667 |
From unit
One 96th of an inch under the CSS reference-pixel convention.
Symbol: px
To unit
The physical reference length, exactly 25.4 millimeters.
Symbol: in
Keep converting
Source
Definitions are checked against CSS Values and Units Level 4. Calculations use full internal precision before display rounding.
View the complete typography and screen length converterQuestions
Use the formula in = px x 0.010416666667. 1 css pixel (96 ppi) (px) equals 0.010416666667 inch (in).
Both unit definitions use exact factors. Only the displayed decimal may be rounded.