Toolman 100% local

Convert in to px

1in = 96px. Both are absolute CSS units, so this ratio is fixed — the root font size does not affect it.

Runs on your devicenothing is uploadedHow to check

Guide & FAQFormula · IN to PX conversion table · About in · About px · Which unit should you use? · Frequently asked questions

Formula

px = in × 96
in = px × 0.010417

Both units are absolute in CSS, so this ratio never changes regardless of font size or user settings.

IN to PX conversion table

inpx
1in96px
2in192px
5in480px
10in960px
15in1440px
20in1920px
25in2400px
30in2880px
40in3840px
50in4800px
100in9600px
150in14400px
200in19200px
250in24000px
300in28800px

About in

CSS defines one inch as exactly 96 pixels. On screen this is a nominal measure, not a guarantee of physical size; in print stylesheets it maps to a real inch.

About px

The CSS pixel is the reference unit of the web. It is not a physical device pixel — it is an angular measure standardised at 1/96th of an inch, which the browser scales for device pixel ratio and zoom.

Which unit should you use?

PropertyRecommended unitWhy
Font sizeremScales with the user's browser font-size preference, which px ignores — an accessibility requirement.
Padding and marginrem or emrem for a consistent global rhythm; em when the spacing should track the component's own text size.
Borders and hairlinespxYou almost always want exactly one crisp pixel, not a value that scales.
Media query breakpointsemHistorically the most reliable across browsers when the user zooms.
Print stylesheetspt, cm, mmThese map to real physical measurements on paper.

Frequently asked questions

What is 16in in px?

16in equals 1536px, and that does not change with the font size because both units are absolute.

How do I convert in to px?

Multiply the in value by 96. Going the other way, multiply the px value by 0.010417.

Does browser zoom change the result?

No. Both units are absolute in CSS and keep the same ratio at any zoom level, though the rendered size on screen changes.

Why does CSS use 96 pixels per inch?

The 96 figure is a historical convention from early desktop displays that became the fixed CSS reference. It has nothing to do with your monitor's real pixel density — the browser scales CSS pixels to physical ones for you.

Related CSS unit conversions

All CSS unit converters · All converters