Skip to content
1440px

px to in

in = px ÷ 96 — with a live converter and the full table.

Formula
in = px ÷ 96

16px = 0.1667in. CSS defines this ratio as fixed.

In CSS an inch is defined as exactly 96 px, regardless of what the display actually measures. For physical output size, divide by the real DPI instead.

Converter

px to in conversion table

px to in — exact values
pxinRounded
1px0.01042in0.01in
2px0.02083in0.02in
4px0.04167in0.04in
6px0.0625in0.06in
8px0.08333in0.08in
10px0.10417in0.1in
12px0.125in0.13in
14px0.14583in0.15in
16px0.16667in0.17in
18px0.1875in0.19in
20px0.20833in0.21in
22px0.22917in0.23in
24px0.25in0.25in
28px0.29167in0.29in
32px0.33333in0.33in
36px0.375in0.38in
40px0.41667in0.42in
44px0.45833in0.46in
48px0.5in0.5in
56px0.58333in0.58in
64px0.66667in0.67in
72px0.75in0.75in
80px0.83333in0.83in
96px1in1in
112px1.16667in1.17in
128px1.33333in1.33in
144px1.5in1.5in
160px1.66667in1.67in
192px2in2in
224px2.33333in2.33in
256px2.66667in2.67in
320px3.33333in3.33in
384px4in4in
448px4.66667in4.67in
512px5.33333in5.33in

Questions

How do I convert px to in?

in = px ÷ 96. So 16px = 0.1667in.

Is the px to in conversion exact?

Yes, for CSS. The specification fixes 1in = 96px, which pins every absolute unit to a fixed ratio regardless of the physical display. It is not a physical measurement — a CSS inch on a phone is not an inch of glass. For real-world output size use the DPI calculator instead.

How do I convert in back to px?

Invert the formula, or use the in to px converter.

Other conversions

Conversions follow the CSS Values and Units specification, in which 1in is defined as exactly 96px. Values are computed, not tabulated by hand.