Formula
in to px conversion formula
Use this relationship for a direct conversion:
Worked example
2 in = 192 px.
Pixel conversions assume 96 pixels per inch. Use actual device or print PPI when physical pixel size matters.
Typography and Screen Length conversion
1 inch (in) equals 96 css pixel (96 ppi) (px). Enter any value below to convert from in to px.
Enter a value and choose units. Results update instantly.
1 in = 96 px
| Unit | Value |
|---|---|
| Inch in | 1 |
| CSS pixel (96 PPI) px | 96 |
| Point pt | 72 |
| Pica pc | 6 |
| Millimeter mm | 25.4 |
| Centimeter cm | 2.54 |
| Twip twip | 1,440 |
Formula
Use this relationship for a direct conversion:
2 in = 192 px.
Pixel conversions assume 96 pixels per inch. Use actual device or print PPI when physical pixel size matters.
Quick reference
| Inch (in) | CSS pixel (96 PPI) (px) |
|---|---|
| 0.01 | 0.96 |
| 0.1 | 9.6 |
| 1 | 96 |
| 2 | 192 |
| 5 | 480 |
| 10 | 960 |
| 25 | 2,400 |
| 50 | 4,800 |
| 100 | 9,600 |
| 1,000 | 96,000 |
From unit
The physical reference length, exactly 25.4 millimeters.
Symbol: in
To unit
One 96th of an inch under the CSS reference-pixel convention.
Symbol: px
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 px = in x 96. 1 inch (in) equals 96 css pixel (96 ppi) (px).
Both unit definitions use exact factors. Only the displayed decimal may be rounded.