The formula
pixels = cm ÷ 2.54 × DPI · pixels = mm ÷ 25.4 × DPI · pixels = inches × DPI
Example: 3.5 cm at 200 DPI is 3.5 ÷ 2.54 × 200 = 276 pixels.
Which DPI should I use?
- 200 DPI — most exam and government forms that mention DPI.
- 300 DPI — printing photos and documents.
- 72–96 DPI — screens only; DPI has no effect on how big an image looks on screen.
Frequently asked questions
Does changing DPI change the file size?
Only if the pixel dimensions change. A higher DPI at the same cm size means more pixels and usually more KB.