Inches to Pixels Converter
Convert inches to CSS pixels at the fixed 96px-per-inch ratio, with a note on what that means on screen versus paper.
Browsers default to 16px. Use 10 if your CSS sets html { font-size: 62.5% }.
About this conversion
The same value at other root sizes
| Root size | Result |
|---|
Common conversions at 16 px
| in | px |
|---|
What It Does
CSS pins the inch to 96 pixels by definition, so this conversion is a fixed multiply that needs no font size and no device information. The number is genuinely useful for print stylesheets and for laying out things with a physical size — labels, badges, tickets, anything that will be measured with a ruler after it comes off a printer. On screen it is a reference ratio rather than a physical measurement: a CSS inch will not be an inch against your monitor, and this page explains where the difference bites.
When to Use It
- You are converting a design handed over in inches (in) into a stylesheet that uses pixels (px) for accessibility.
- You inherited a codebase that mixes units and you need the px equivalent of an existing in value.
- You want to check what a in value becomes when the user changes their browser's default font size.
- You are writing a design-token scale and need the same step expressed in both units.
Worked Examples
1
1 inch is 96px. This is the definition every other absolute CSS unit is built on.
0.5
Half an inch is 48px — a common print margin.
8.5
An 8.5 inch page width is 816px. Useful when laying out something that has to fit US Letter paper.
Features
How to Use
1. Enter the measurement in inches. 2. Read the pixel equivalent — the ratio is fixed at 96px per inch, so no font size is needed. 3. Use the table for common fractions of an inch.
Common Mistakes
- Expecting a CSS inch to measure one physical inch on your screen. It will not — it is a reference unit fixed at 96px, and screens vary in physical density.
- Using inches for on-screen layout. They freeze the size and ignore the reader's settings; keep them for @media print where paper really is measured in inches.
- Assuming 96 DPI describes your display. Modern screens run far higher densities; the browser maps one CSS pixel onto several device pixels and the CSS arithmetic stays the same.
- Mixing inches and millimetres in one print stylesheet — both work, but switching between them mid-file makes proofing errors much easier to miss.
Frequently Asked Questions
The conversion runs entirely in your browser. Nothing is uploaded and nothing is stored.