Unit Hub Online

CSS pixels to CSS inches converter

Convert CSS pixels (px) to CSS inches (in). The reference table uses 16 px element and root fonts; examples label any different font basis.

Typography converter

Instant conversion

Edit either value. Decimals and scientific notation supported.

px

in

CONVERSION

1 px ≈ 0.01041666667 in

Precision changes displayed rounding, not calculation accuracy.

FORMULAin = px ÷ 96

FORMULA & EXAMPLES

How to convert CSS pixels to CSS inches

in = px ÷ 96

Divide the px reading by 96.

Worked examples

16 px ≈ 0.1666666667 in

16 ÷ 96 ≈ 0.1666666667

Font basis for this example: element 16 px; root 16 px.

24 px ≈ 0.25 in

24 ÷ 96 ≈ 0.25

Font basis for this example: element 16 px; root 16 px.

Frequently asked questions

Which font or display assumption applies?

em and rem depend on the specified font context. CSS absolute units have fixed relationships to reference pixels, which do not necessarily equal physical display pixels.

CSS pixels to CSS inches table

Fixed reference · CSS pixel to CSS inch · Element and root font sizes: 16 px

Reference values use this page’s named pair and default context. Calculator precision and font settings do not change this table.

CSS pixel (px)CSS inch (in)
00
0.10.001041666667
0.50.005208333333
10.01041666667
20.02083333333
50.05208333333
100.1041666667
250.2604166667
500.5208333333
1001.041666667
100010.41666667
Table results use 10 significant figures; decimal formula coefficients use up to 15. Calculations use the unit definitions before rounding. Extra digits do not improve measurement accuracy.

Related conversions

A UNIT FOR EVERYTHING

Explore all converters

18 categories. One place.