To convert px to inches css, multiply by 0.01041666667.
The calculation uses 1 px = 0.01041666667 in. Results are displayed to at most 10 significant digits. Definitions can be exact while a displayed decimal is rounded. Match the displayed precision to your original measurement.
Uses the CSS reference ratio 96 px per inch. This does not establish physical size on a particular screen.
Uses CSS absolute-unit ratios; screen pixels do not guarantee a physical inch.
The formula
px- Input unit: px
in- Output unit: inches css
How to use this calculator
- Enter a value in px.
- Multiply by the stored conversion factor.
- Read the result in in; divide by the same factor to convert back.
Worked examples
Worked conversion
1 px × 0.01041666667 ≈ 0.01041666667 in.
Reverse conversion
0.01041666667 in ÷ 0.01041666667 ≈ 1 px. Rounding intermediate values can change the last displayed digit.
Frequently asked questions
What factor does this converter use?
It uses 0.01041666667 in per px. Uses the CSS reference ratio 96 px per inch. This does not establish physical size on a particular screen. Uses CSS absolute-unit ratios; screen pixels do not guarantee a physical inch.
Why can another converter show a slightly different answer?
Check the unit convention first (such as US versus Imperial or decimal versus binary), then compare rounding. Measurement uncertainty is separate from the unit conversion.
px to in table
| px | in (rounded) |
|---|---|
| 0 | 0 |
| 1 | 0.01041666667 |
| 2 | 0.02083333333 |
| 5 | 0.05208333333 |
| 10 | 0.1041666667 |
| 100 | 1.041666667 |