Convert in to px
Use the live converter below to translate between Inch (in) and Pixel (CSS) (px). Scroll further for quick examples, formula tips, and related units.
Convert
in → px
Formula
px = in × 96
1 in = 96 px
Conversion sourcesTap or click to view references
CSS Values and Units Module Level 3, Absolute lengths
World Wide Web Consortium (W3C). Defines the CSS absolute lengths: 1in = 2.54cm = 96px, 1pc = 1/6th of 1in, 1pt = 1/72nd of 1in, 1px = 1/96th of 1in, 1mm = 1/10th of 1cm and 1Q = 1/40th of 1cm. The px is the reference pixel, not a device pixel. View source
Results update as you type. Swap the direction to convert back from px to in, or open the px to in converter.
in to px quick table
Multiply any row by the same factor to scale results. Use the converter above to enter exact values with your own units.
| Inch (in) | Pixel (CSS) (px) |
|---|---|
| 0.25 in | 24 px |
| 0.5 in | 48 px |
| 1 in | 96 px |
| 2 in | 192 px |
| 5 in | 480 px |
| 10 in | 960 px |
| 25 in | 2,400 px |
| 100 in | 9,600 px |
px back to in
Use the reverse table when double-checking calculations or undoing a conversion.
| Pixel (CSS) (px) | Inch (in) |
|---|---|
| 0.25 px | 0.00260417 in |
| 0.5 px | 0.00520833 in |
| 1 px | 0.0104167 in |
| 2 px | 0.0208333 in |
| 5 px | 0.0520833 in |
| 10 px | 0.104167 in |
| 25 px | 0.260417 in |
| 100 px | 1.04167 in |
More typography conversions
Compare all typography units
See every typography unit side by side, with reference tables, tips and answers to common questions.