The formula
Inches = pixels ÷ DPI, and pixels = inches × DPI. A centimeter is 1/2.54 of an inch, so centimeters = pixels ÷ DPI × 2.54.
Why there's no single answer
A pixel has no physical size until you print it. The same 1,200-pixel image is 4 inches wide at 300 DPI and 8 inches at 150. Screens are similar: 72 and 96 are old conventions for how many pixels a screen shows per inch, and modern phones and laptops pack in far more. For print, use the DPI your print service asks for; 300 is the usual answer.
Common print sizes
| Size | Pixels at 300 DPI | Pixels at 150 DPI | |
|---|---|---|---|
| Wallet | 2.5 × 3.5 in | 750 × 1,050 | 375 × 525 |
| Standard photo | 4 × 6 in | 1,200 × 1,800 | 600 × 900 |
| — | 5 × 7 in | 1,500 × 2,100 | 750 × 1,050 |
| A5 | 148 × 210 mm | 1,748 × 2,480 | 874 × 1,240 |
| — | 8 × 10 in | 2,400 × 3,000 | 1,200 × 1,500 |
| US Letter | 8.5 × 11 in | 2,550 × 3,300 | 1,275 × 1,650 |
| A4 | 210 × 297 mm | 2,480 × 3,508 | 1,240 × 1,754 |
| — | 11 × 14 in | 3,300 × 4,200 | 1,650 × 2,100 |
| A3 | 297 × 420 mm | 3,508 × 4,961 | 1,754 × 2,480 |
| — | 16 × 20 in | 4,800 × 6,000 | 2,400 × 3,000 |
| Poster | 18 × 24 in | 5,400 × 7,200 | 2,700 × 3,600 |
| Large poster | 24 × 36 in | 7,200 × 10,800 | 3,600 × 5,400 |
If your image has fewer pixels than the size you want, an upscale of 2x to 4x usually closes the gap. You can try one below.