The formula
- Pixels to inches: inches = pixels ÷ DPI. 1200 px at 300 DPI is 1200 ÷ 300 = 4 inches.
- Inches to pixels: pixels = inches × DPI. A 6-inch print at 300 DPI needs 6 × 300 = 1800 pixels.
- Centimeters: 1 inch is exactly 2.54 cm, so cm = inches × 2.54, and 4 inches is 10.16 cm.
Common pixel widths in inches
| Pixels | At 72 DPI | At 96 DPI | At 300 DPI |
|---|---|---|---|
| 600 px | 8.33 in | 6.25 in | 2 in |
| 1200 px | 16.67 in | 12.5 in | 4 in |
| 1920 px | 26.67 in | 20 in | 6.4 in |
| 3000 px | 41.67 in | 31.25 in | 10 in |
| 4000 px | 55.56 in | 41.67 in | 13.33 in |
To make an image fit a print size, the image resizer scales it to the exact pixels, and the aspect ratio calculator gives the matching height for any width.
Frequently Asked Questions
Why do screens ignore DPI?
A screen draws an image by its pixel dimensions, so a 1200 × 800 photo saved at 72 DPI and the same photo saved at 300 DPI typically look identical in a browser. The DPI value is a note stored in the file that tells printing software how many pixels to place in each inch of paper. Changing it adds or removes no pixels; it only changes the printed size: 1200 px is 16.67 in at 72 DPI and 4 in at 300 DPI.
96 or 72 DPI: which is right for screens?
Neither changes how an image looks on screen. 96 is the figure CSS uses: the CSS specification defines 1 inch as 96 CSS pixels, and Windows has long used 96 DPI as its default. 72 is a convention from early Macintosh screens, where one screen pixel matched one typographic point (1/72 inch). For web images only the pixel dimensions matter.
What DPI should I print at?
300 DPI is the usual target for photos and documents viewed at arm’s length. Large prints seen from further away, such as posters, often look fine at 150 to 240 DPI. To print 8 × 10 inches at 300 DPI you need 2400 × 3000 pixels (8 × 300 and 10 × 300). If your image has fewer pixels, print it smaller or accept a lower DPI.
How many centimeters is 1200 pixels?
It depends on the DPI. At 300 DPI, 1200 px is 4 inches, and 4 × 2.54 = 10.16 cm. At 96 DPI the same 1200 px is 12.5 inches, or 31.75 cm.
Related tools and guides
- Aspect ratio calculator — get the ratio of any size, or the missing side from a ratio.
- Image resizer — scale to exact pixel dimensions with the aspect ratio locked.
- Image cropper — trim a photo to the shape of your print.
- Recommended image sizes for websites — which dimensions to aim for on screen.