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

8 x 10in
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.

Print size

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

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 DPIPixels at 300 DPI
4 x 610.16 x 15.24600 x 9001200 x 1800
5 x 712.7 x 17.78750 x 10501500 x 2100
8 x 1020.32 x 25.41200 x 15002400 x 3000
11 x 1427.94 x 35.561650 x 21003300 x 4200
16 x 2040.64 x 50.82400 x 30004800 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.

Frequently asked questions

How many pixels is 1 inch?
It depends on the DPI, because a pixel has no physical size until you choose one. One inch is 72 px at 72 DPI, 96 px at 96 DPI, 150 px at 150 DPI and 300 px at 300 DPI.
How many inches is 1080 pixels?
Divide 1080 by the DPI. At 72 DPI that is 15 in, at 96 DPI 11.25 in, and at 300 DPI 3.6 in (9.14 cm).
How many pixels do I need for an 8 x 10 inch print?
Multiply each side by the DPI. At 300 DPI an 8 x 10 in print needs 2400 x 3000 px (8 x 300 and 10 x 300). At 150 DPI it needs 1200 x 1500 px.
Does changing the DPI change the pixels in an image?
No. The DPI value stored in a file only tells software how large to print it. The same 2400 x 3000 px image is 8 x 10 in at 300 DPI and 16 x 20 in at 150 DPI, with exactly the same pixels. Only resampling, which adds or removes pixels, changes the image itself.
How many pixels is 1 cm?
One centimeter is 1 / 2.54 = 0.3937 in, so multiply that by the DPI. At 300 DPI 1 cm is 118.11 px, which rounds to 118 whole pixels; at 96 DPI it is 37.8 px.