How to convert pixels to inches
- Type the resolution into DPI (pixels per inch). It starts at 300.
- Under Pixels to length, type a number of pixels. The length appears in inches, cm and mm.
- To go the other way, type a size under Length to pixels and pick cm, mm or inches as the Unit.
- Read the pixel count below, rounded to the nearest whole pixel.
What each setting does
- DPI (pixels per inch)
- How many pixels fit in one inch. Both parts of the calculator use this value.
- Pixels
- A width or height in pixels. Inches show to three decimal places.
- Length and Unit
- A print size in cm, mm or inches. The answer is the number of pixels needed along that side.
The formula
Inches = pixels ÷ DPI. One inch is exactly 2.54 cm, so multiply by 2.54 for centimetres or by 25.4 for millimetres. Going back, pixels = inches × DPI.
- 1200 px at 300 DPI is 4 in, or 10.16 cm.
- A 10 cm side at 300 DPI needs 10 ÷ 2.54 × 300 = 1181 px.
A pixel has no fixed size
A pixel is a dot of colour, not a unit of length. The same 1200 pixels can print as a small card or a large sheet, depending on how tightly the dots are packed, and that packing is the DPI. So “how many inches is 1200 pixels” only has an answer once a DPI is chosen.
To store a DPI in a JPG or PNG, use Change image DPI. To bring an image to the pixel count you worked out here, use the image resizer.
Limits
- This is a calculator only. It does not open or change an image file.
- Pixel results are rounded to whole pixels, so a round trip may differ by a fraction of a millimetre.
Questions
How many inches is 1000 pixels?
It depends on the DPI. At 300 DPI it is 3.333 in; at 96 DPI it is 10.417 in.
How do I convert pixels to cm?
Divide the pixels by the DPI and multiply by 2.54. For example, 1000 px at 300 DPI is 8.47 cm.
How many pixels do I need for a 4 × 6 inch print?
Multiply each side by the DPI. At 300 DPI that is 1200 × 1800 px; at 150 DPI it is 600 × 900 px.
Is DPI the same as PPI here?
Yes. On this page both mean the number of image pixels in one inch of the print.
How do I find out how many pixels my image has?
Open it in the image size checker, which shows width and height in pixels and any stored DPI.