Home › Forms › Resize Image in cm / mm / inch

Resize an image in cm, mm or inches

Type the size in cm, mm or inches and the DPI. The tool works out the pixels, crops to the right shape and saves the DPI inside the JPG.

🔒 Processed on your device — never uploaded

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?

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.

Related tools