Pixels to inches converter
Divide the pixels by the DPI to get inches: 300 px at 300 DPI is exactly 1 inch. Enter a width and height in pixels, pick a DPI, and read the print size in inches, centimeters and millimeters. Flip the direction to see how many pixels a print size needs.
Pick a preset or type any custom DPI.
2400 x 3000 px at 300 DPI
- Centimeters
- 20.32 x 25.4 cm
- Millimeters
- 203.2 x 254 mm
- Formula
- 2400 / 300 = 8 in
Print check
How many of your image pixels land on each inch at a chosen print size, compared with your DPI target.
At 8 x 10 in this image gives 300 PPI.
That meets your 300 DPI target.
300 DPI is a common target for prints viewed up close. This check is arithmetic: it counts pixels per inch and does not judge how a print will look.
How to convert pixels to inches
Divide the number of pixels by the DPI (dots per inch). The result is the printed length in inches. Multiply inches by 2.54 for centimeters, or by 25.4 for millimeters. To go the other way, multiply the inches by the DPI and round to a whole pixel.
inches = pixels / DPI cm = inches x 2.54 mm = inches x 25.4 pixels = inches x DPI (rounded)
Worked examples
- 300 px at 300 DPI: 300 / 300 = 1 in, which is 2.54 cm.
- 2400 x 3000 px at 300 DPI: 2400 / 300 = 8 and 3000 / 300 = 10, so the print is 8 x 10 in (20.32 x 25.4 cm).
- 1920 x 1080 px at 96 DPI: 20 x 11.25 in.
- The reverse, 8 x 10 in at 300 DPI: 8 x 300 = 2400 and 10 x 300 = 3000, so the image needs 2400 x 3000 px.
DPI vs PPI
PPI (pixels per inch) describes an image: how many of its pixels are spread over each printed inch. DPI (dots per inch) strictly describes a printer: how many ink dots it places per inch, and a printer uses several dots to reproduce one pixel. In a pixels to inches conversion, and in most image software, both names are used for the same number: image pixels per printed inch.
The DPI value saved in a file does not change its pixels. It only tells software how large to print the image by default. The same 2400 x 3000 px image is 8 x 10 in at 300 DPI, 16 x 20 in at 150 DPI and 33.333 x 41.667 in at 72 DPI.
On a screen an image is shown by its pixels, so the DPI setting has no effect there. 72 and 96 are common default values in image software, and CSS defines one inch as 96 px. 300 DPI is a common target for prints viewed up close, such as photos and flyers. The print check in the converter shows how many pixels per inch your image delivers at a chosen print size, so you can compare it with the target you have in mind.
Pixels needed for common print sizes
Each value is the print size multiplied by the DPI and rounded to whole pixels.
| Print size (in) | Print size (cm) | Pixels at 150 DPI | Pixels at 300 DPI |
|---|---|---|---|
| 4 x 6 | 10.16 x 15.24 | 600 x 900 | 1200 x 1800 |
| 5 x 7 | 12.7 x 17.78 | 750 x 1050 | 1500 x 2100 |
| 8 x 10 | 20.32 x 25.4 | 1200 x 1500 | 2400 x 3000 |
| 11 x 14 | 27.94 x 35.56 | 1650 x 2100 | 3300 x 4200 |
| 16 x 20 | 40.64 x 50.8 | 2400 x 3000 | 4800 x 6000 |
Related tools
An 8 x 10 in print has a 4:5 shape, so an image with a different shape gets cropped or framed. Check the shape of your image with the aspect ratio calculator, then resize it to the exact pixels a print needs with the image resizer. Both run in your browser, like this converter.