Pixels to Inches Converter
Convert pixels to inches and cm at 300 DPI or any other, with the pixels a print size needs and the DPI an image reaches on paper.
6.40 × 3.60 in
Centimetres: 16.26 × 9.14 cm
Inches = pixels ÷ DPI. Changing the DPI adds no pixels.
Fitted on A4 landscape, the image prints at 130.6 DPI: the height fills it.
That is below the 300 DPI chosen.
Largest sheets it covers at 300 DPI: A7 and 3.5 × 5 in photo.
Works out how large an image prints: its width and height in pixels divided by the DPI give inches, and centimetres beside them. A 1,920 × 1,080 px image at 300 DPI prints at 6.40 × 3.60 in. Pick a sheet to see the DPI the image reaches when it is fitted on it, and the largest paper and photo sizes it covers at the DPI you chose.
How to use it
Enter the image's width and height in whole pixels, up to 1,000,000 a side; the height may be left empty to size one side. The DPI buttons cover the common resolutions, and Custom takes any whole number from 1 to 2,400. On paper fits the image inside a sheet, turned to match it, so a landscape photo goes on a landscape page.
The other way, from a print size to the pixels it needs, is Paper → pixels: pick a paper or photo size, or Custom for any width and height, and it gives the pixels at the DPI. A 4 × 6 in photo at 300 DPI needs 1,200 × 1,800 px.
Pixels, inches and DPI
An image file holds pixels, not inches. It has a physical size only once something decides how many of its pixels make an inch: that number is the DPI (dots per inch), or PPI (pixels per inch) when it describes the image rather than the printer. The two are used interchangeably for print sizes, as here. Inches are pixels divided by DPI, and centimetres are inches times 2.54.
Fitting on a sheet runs the other way: the DPI the image reaches is its pixels divided by the sheet's inches, on each side, and the lower of the two sets it, since the image must fit whole. A 1,920 × 1,080 px image on A4 reaches 130.6 DPI, limited by its height. Whole pixels decide whether an image reaches a DPI on a sheet: it does when each side has at least the pixels the sheet itself is at that DPI, as Paper Sizes gives them. A4 at 300 DPI is 2,480 × 3,508 px, so an image of exactly that size reaches 300 DPI on A4, although its width is a hair short of the exact inches; the DPI shown, to one place, never reads below a DPI the image reaches nor at one it misses.
Two resolutions are fixed by definition rather than chosen. CSS, the language of web pages, measures in pixels of 1/96 inch, so a browser lays out a page at 96 per inch; PDF measures in points of 1/72 inch. Neither is a property of an image file.
inches = pixels ÷ DPI
centimetres = pixels ÷ DPI × 2.54
pixels = inches × DPI
Examples
A 12 MP photo on A4
A 4,000 × 3,000 px photo prints at 13.33 × 10.00 in (33.87 × 25.40 cm) at 300 DPI. Fitted on A4 landscape, it reaches 342.1 DPI, limited by its width, and the largest A size it covers at 300 DPI is A4.
Print sizes of common images
| DPI | Inches | cm |
|---|---|---|
| 72 | 26.67 × 15.00 | 67.73 × 38.10 |
| 96 | 20.00 × 11.25 | 50.80 × 28.58 |
| 150 | 12.80 × 7.20 | 32.51 × 18.29 |
| 300 | 6.40 × 3.60 | 16.26 × 9.14 |
| DPI | Inches | cm |
|---|---|---|
| 72 | 53.33 × 30.00 | 135.47 × 76.20 |
| 96 | 40.00 × 22.50 | 101.60 × 57.15 |
| 150 | 25.60 × 14.40 | 65.02 × 36.58 |
| 300 | 12.80 × 7.20 | 32.51 × 18.29 |
| DPI | Inches | cm |
|---|---|---|
| 72 | 55.56 × 41.67 | 141.11 × 105.83 |
| 96 | 41.67 × 31.25 | 105.83 × 79.38 |
| 150 | 26.67 × 20.00 | 67.73 × 50.80 |
| 300 | 13.33 × 10.00 | 33.87 × 25.40 |
| DPI | Inches | cm |
|---|---|---|
| 72 | 83.33 × 55.56 | 211.67 × 141.11 |
| 96 | 62.50 × 41.67 | 158.75 × 105.83 |
| 150 | 40.00 × 26.67 | 101.60 × 67.73 |
| 300 | 20.00 × 13.33 | 50.80 × 33.87 |
Frequently asked questions
See also
- Paper Sizes — for every paper size in mm, inches, points and pixels.
- Image Resizer — to resize an image to a print size in cm or inches at a DPI, and write the DPI into the file.
- Aspect Ratio Calculator — to work out the crop or fit of an image to a print's shape.
- PPI Calculator — for a screen's pixels per inch from its resolution and diagonal.