Converters / utility

Pixels to Inches

Convert pixels to inches with your image’s pixels-per-inch density. Reverse conversion, print-size examples and CSS-pixel limitations included.

Calculator

Calculator

Convert the entered value.

Calculate a physical image dimension using an explicit pixels-per-inch density. The 96 PPI example is editable and does not infer your screen or printer density.

Value and conversion direction

96 PPI is an example. Enter your image's intended or measured pixel density.

Your result

Enter details to see the result.

Complete the inputs and calculate to see the main result and its supporting breakdown.

Example

Worked example

Example inputs

Value in px
1920
Conversion direction
px → in
Pixel density (PPI)
96

Calculation breakdown

inches = pixels / PPI; pixels = inches × PPI. For instance, 1920 pixels at 96 PPI represent 20 inches, while 1920 pixels at 300 PPI represent 6.4 inches. Conversion passes through metres in the shared length engine.

Entered quantity
1920 px
Pixel density used
96 PPI

Example result

Converted value (in)

20

Arithmetic retains full precision. Ordinary values show up to six decimal places, large values up to eight, and extremes use scientific notation.

How to interpret the result

The dimension is conditional on the entered PPI; it does not establish your screen’s physical size.

Common conversions: px → in at 96 PPI
Common conversions: px → in at 96 PPI
pxin
961
3003.125
6006.25
108011.25
192020
384040

How to use this calculator

  1. Enter the image width or height in pixels.
  2. Set the PPI used for printing or the measured display density.
  3. Convert, retaining the PPI assumption; swap to calculate pixels for a target inch dimension.

How it works

Formula

inches = pixels / PPI; pixels = inches × PPI. For instance, 1920 pixels at 96 PPI represent 20 inches, while 1920 pixels at 300 PPI represent 6.4 inches. Conversion passes through metres in the shared length engine.

Is 96 PPI always correct?

No. It is an editable example. Physical dimensions depend on the chosen image density or measured device density; CSS reference units do not determine that density.

What this calculator does

Enter a pixel dimension and its pixels-per-inch density to estimate a physical dimension. The example uses 96 PPI; supply the intended image or measured display density for your own calculation.

Who this is useful for

Planning image print dimensions from pixel counts and an explicit density.

Inputs you will need

Required or selected inputs

  • Value in px
  • Conversion direction
  • Pixel density (PPI) — 96 PPI is an example. Enter your image's intended or measured pixel density.

Assumptions

  • The supplied PPI relates image pixels to a physical inch along the measured dimension.
  • Pixel dimensions can be decimal for calculation, although an exported image usually needs a whole-pixel size.

Limitations

  • The calculator does not detect screen density or read image metadata.
  • CSS reference pixels use a 96 px/in relation that does not necessarily match physical device or image pixels. Printer dots per inch and image PPI are distinct.

Useful next steps

To express the calculated physical dimension in metric units, use Inches to Centimeters.

To prepare a metric target size for the reverse pixel calculation, use Centimeters to Inches.

For other length units with explicit pixel density, use Unit converter.

References

W3C: CSS absolute length units and reference pixels — CSS reference pixels have a specified relationship to CSS inches. Physical image/display conversion requires an independently supplied pixels-per-inch density; it is not inferred from that CSS relationship.

See how HandyChest handles units, validation, rounding, and testing, or Report a problem with this calculator.

Good to know

Frequently asked questions

How many inches is a 3000-pixel image at 300 PPI?

3000 divided by 300 is 10 inches. Changing PPI metadata alone need not resample the pixel data.

Keep going