Skip to content
OverCalculator
  1. Home
  2. Conversion
  3. Pixels to Inches Converter
Conversion

Pixels to Inches Converter

Convert pixels to inches or inches to pixels using a positive pixels-per-inch value supplied by the user.

Published

Converted size
Inches
11.25 in
Pixels
1,080 px
Inches
11.25 in
Centimeters
28.575 cm
Millimeters
285.75 mm
Resolution used
96 PPI

1,080 px at 96 PPI is 11.25 inches.

Conversion direction
The pixel length or height you want to convert.
px
Pixels per inch. Use 96 for the CSS reference relationship, or enter a positive PPI supplied by your task.
PPI

Results update as you type.

Pixels to Inches Converter

Digital files and browser layouts can describe size in pixels while another specification gives a pixels-per-inch scale. This converter connects those systems with one required value: resolution in pixels per inch or dots per inch. The default form converts 1080 px at 96 PPI to 11.25 in, then also reports 28.575 cm and 285.75 mm. Switch the direction and the same form multiplies inches by resolution to recover pixels.

Pixels alone are incomplete for a physical-size calculation. A 2400-pixel dimension is 25 inches at 96 PPI, 8 inches at 300 PPI, or 6 inches at 400 PPI. Those are direct consequences of the supplied PPI, not recommendations for a particular output process. For fixed lengths, compare with the length converter, the inch to meter calculator, or the mm to km converter. For CSS unit work, the px to em converter handles a different pixel relationship based on font size.

Resolution is the missing scale

PPI means pixels per inch. If a file is interpreted at 96 PPI, every 96 pixels cover one inch. If it is interpreted at 300 PPI, every 300 pixels cover one inch. This calculator’s field is PPI: pixels per inch. Treat PPI as an explicit input. For CSS arithmetic, 96 follows the W3C reference relationship. For a physical artifact, use a PPI value established outside this calculator.

Formula used by the calculator

The calculation rejects negative sizes and requires resolution greater than zero. In pixels-to-inches mode it divides by the entered PPI:

inches=pixelsPPI\text{inches} = \frac{\text{pixels}}{\text{PPI}}

In inches-to-pixels mode it multiplies by the entered PPI:

pixels=inches×PPI\text{pixels} = \text{inches} \times \text{PPI}

Metric companions use the exact inch relationships after the inch value is known:

centimeters=inches×2.54\text{centimeters} = \text{inches} \times 2.54

millimeters=inches×25.4\text{millimeters} = \text{inches} \times 25.4

The result panel formats pixels to at most two decimals, inches to at most four decimals, centimeters to at most four decimals, and millimeters to at most three decimals. That display choice is why a result may look rounded even though the underlying calculation is direct.

Worked example matching the default form

Open the converter in its default direction, pixels to inches. The pixel input is 1080 px and the resolution input is 96 PPI. The calculation is:

inches=108096=11.25\text{inches} = \frac{1080}{96} = 11.25

Then it converts that physical size to metric:

centimeters=11.25×2.54=28.575\text{centimeters} = 11.25 \times 2.54 = 28.575

millimeters=11.25×25.4=285.75\text{millimeters} = 11.25 \times 25.4 = 285.75

The primary answer is 11.25 in. The supporting rows show 1080 px, 28.575 cm, 285.75 mm, and 96 PPI as the resolution used. If you switch direction, enter 11.25 in, and keep 96 PPI, the calculator multiplies 11.25 by 96 and returns 1080 px.

Reference table

Pixel dimensionResolutionPhysical inchesTypical context
96 px96 PPI1 inCSS reference inch arithmetic
1080 px96 PPI11.25 inDefault calculator example
1920 px96 PPI20 inBrowser or screen layout comparison
1200 px300 PPI4 inSupplied-density example
2400 px300 PPI8 inSupplied-density example
3000 px300 PPI10 inSupplied-density example
4000 px400 PPI10 inSupplied-density example

Use the table as arithmetic examples, not recommended settings. The formula handles any positive finite PPI for which all derived results remain finite and representable, but the result is only as applicable as the density you enter.

CSS and supplied physical scales

In CSS, one pixel is a reference unit used by the layout engine. The W3C model ties common CSS math to a 96 pixel per inch reference, which is why 96 appears as the default. Browser zoom, operating-system scaling, and high-density panels can make that CSS inch differ from a physical ruler held against the glass. Use this calculator for CSS comparisons when the goal is layout reasoning, not laboratory measurement.

For a supplied physical scale, record the PPI with the result. The calculator does not determine calibration, image quality, device scaling, or production suitability. For physical dimensions after the inch result is known, use a fixed-unit tool such as the length converter.

Pitfalls to avoid

  • Assuming 96 PPI describes every monitor. It describes the CSS reference model; hardware may differ.
  • Entering a dots-per-inch value as though it were necessarily the required pixels-per-inch scale.
  • Rounding too early. Keep the calculator’s full result when you are preparing dielines, labels, or inspection screenshots.

Accuracy and limits

The calculator keeps the defined or cited relationship through the calculation and rounds only the displayed result. A converted number does not become more precise than the source measurement. Keep additional digits for chained calculations, then round to the precision justified by the original value; also preserve any reference basis or notation convention named with the input.

Sources

Frequently asked questions

Why do pixels need a PPI value before converting to inches?
A pixel count is not a physical length by itself. With an explicit pixels-per-inch value, 1080 pixels is 3.6 inches at 300 PPI or 11.25 inches at 96 PPI.
What PPI does this converter use by default?
The form defaults to 96 PPI because CSS defines 1 inch as 96 CSS pixels. This is a CSS reference relationship, not a measurement of a particular physical output. For other tasks, enter a PPI value supplied by the relevant specification or workflow.
How many inches is 1920 pixels at 96 PPI?
At 96 PPI, divide 1920 by 96 to get 20 inches. The calculator would also show 50.8 centimeters and 508 millimeters, because it converts the inch result using the exact inch to metric definitions. At 300 PPI, the same 1920 pixels would be only 6.4 inches.

Related calculators

Pixels to Inches Converter updated at