1. Home
  2. Image Utilities
  3. Resize Image in cm, mm or inches

Resize Image in cm, mm or Inches

Type the printed size you need. We do the pixel maths and write the DPI into the file.

Free No sign-up

Forms and print shops often ask for a photo in centimetres or inches, but images are stored in pixels. Enter the size and the DPI (dots per inch) and the tool works out the pixels: pixels = size in inches x DPI. For example 3.5 x 4.5 cm at 300 DPI is 413 x 531 pixels. The DPI is saved in the file, so print dialogs show the right physical size.

0 = work it out from the height, keeping the shape.
0 = work it out from the width, keeping the shape.
Used to turn cm, mm or inches into pixels, and written into the file.
0 = no limit. With a limit, quality is lowered until the file fits; the size in pixels stays.

Your files are uploaded to Nimclip for processing. Uploads are deleted when processing ends and results 30 minutes after they are ready.

Features

Five units

Pixels, percent, centimetres, millimetres and inches. Leave width or height at 0 to keep the shape.

Your choice of fit

Fill and crop the edges, fit inside with a coloured border, fit without a border, or stretch.

DPI written to the file

JPG gets the value in both the JFIF header and EXIF, PNG in its pHYs chunk.

Optional KB limit

Add a maximum file size and the quality is lowered until the file fits, without changing the pixel size.

Several files

Up to 20 images per run when signed in (5 without an account), as a ZIP.

How to use the Resize Image in cm, mm or inches

  1. Choose your image.
  2. Pick the unit, then type the width and height (or use a quick size).
  3. Set the DPI the form or printer asks for. 300 is the usual print value.
  4. Choose how to handle a different shape, press Process and download.

Supported formats

Input: JPG/JPEG/JFIF, PNG, WebP, HEIC, AVIF, GIF (first frame), BMP and TIFF, up to 10 MB without an account and 25 MB when signed in. Output: JPG, PNG or WebP, up to 20000 px per side and 60 megapixels.

Good for

Application photos in cmSignature 6 x 2 cmPrint photos in inchesA4 scans

Limitations, honestly

  • Making a small photo bigger adds pixels but not detail, so it can look soft.
  • "Fill the size" crops from the centre. If the face or subject is off-centre, crop it first or use the Passport Photo Maker, which finds the face.
  • WebP files have no standard DPI field, so the physical size is only kept for JPG and PNG.
  • The quick sizes are plain measurements. We don't claim any office or exam accepts them; check the official notice for your form.
  • Files are processed on Nimclip's servers and deleted automatically 30 minutes after the result is ready.

Resize Image in cm, mm or inches FAQ

How many pixels is 3.5 x 4.5 cm?
At 300 DPI it is 413 x 531 pixels. At 200 DPI it is 276 x 354. The tool shows the result on the card.
What DPI should I use?
Use what the form or printer asks for. 300 DPI is the common print value; 72 or 96 is only relevant for screens.
Does changing DPI change the picture?
Here the DPI decides how many pixels a cm or inch becomes. If you only want to change the DPI number without resizing, use Change Image DPI.
How long are my images kept?
They are deleted automatically 30 minutes after the result is ready.