Kilomill

Kilomill Resize in cm

Resize an image in cm, mm or inches

Forms and print shops ask for sizes like 3.5 × 4.5 cm or 2 × 2 inches. Type the size and the resolution; the photo is resized to the exact pixels and the DPI is saved in the file, so it prints at that size.

  • No upload: runs in your browser
  • Batch + ZIP download
  • No sign-up, no watermark

Drop images here

or paste from the clipboard · JPG, PNG, WebP, AVIF, HEIC, GIF, BMP, TIFF, PSD, SVG, RAW · no upload

Quick presets
Save these settings

Only settings are saved in this browser. Your photos are never saved.

Output format

ICO: one file with 16, 24, 32, 48, 64, 128 and 256 px icons (up to the image size), transparent padding for non-square images.

PDF: one page per image. With several images, “Download as one PDF” puts them in a single file in list order.

File size

For JPG, WebP and AVIF. 70–80 is hard to tell from the original. PNG tries lossless and colour reduction, keeping detail unless you request a file-size target (see Advanced).

KB
KB

Aims at or below the maximum counting 1 KB = 1,000 bytes, so the file passes whether a site counts 1,000 or 1,024 bytes per KB.

Dimensions
DPI

Type the print size; the pixels are worked out from the resolution.

Leave one box empty to keep the proportions.

%
px
Advanced
PNG output
dpi

Kept metadata is copied from JPG, PNG, WebP, HEIC and AVIF originals into JPG, PNG or WebP output. The orientation tag is reset (the photo is already turned upright) and the embedded thumbnail is removed.

How cm, DPI and pixels fit together

A digital image has pixels, not centimetres. The DPI (dots per inch) says how many pixels go into one inch when it is printed, so pixels = size in cm ÷ 2.54 × DPI. A 3.5 cm wide photo at 300 DPI is 3.5 ÷ 2.54 × 300 ≈ 413 pixels wide. Kilomill does this sum for you, resizes to those pixels and writes the DPI into JPG, TIFF and PDF files.

Print sizes in pixels
Print sizeCommon use200 DPI300 DPI600 DPI
3.5 × 4.5 cmPassport-style photo on many forms276 × 354 px413 × 531 px827 × 1063 pxUse
2.5 × 3.5 cmPAN application photo (Protean, 200 DPI)197 × 276 px295 × 413 px591 × 827 pxUse
2 × 2.5 cmStamp-size photo157 × 197 px236 × 295 px472 × 591 pxUse
4.5 × 2 cmPAN application signature (Protean, 200 DPI)354 × 157 px531 × 236 px1063 × 472 pxUse
2 × 2 in (5.08 cm)Square photo, e.g. US passport print400 × 400 px600 × 600 px1200 × 1200 pxUse
4 × 6 in (10.2 × 15.2 cm)Standard photo print800 × 1200 px1200 × 1800 px2400 × 3600 pxUse
21 × 29.7 cm (A4)Full page document1654 × 2339 px2480 × 3508 px4961 × 7016 pxUse

Pixel values are width × height, rounded to the nearest pixel. PAN sizes from Protean’s online application instructions, read 28 October 2026. Always check the size your form or printer asks for.

Which DPI should I choose?

  • 200 DPI: what many online forms ask for (for example the PAN application). Small files.
  • 300 DPI: the usual print quality for photos and documents.
  • 600 DPI: fine detail such as signatures or line art to be printed small; larger files.

If a form gives a size in cm and a file limit in KB but no DPI, start with 200 DPI: it reaches small KB limits more easily. Set File size → Target size for the KB limit in the same pass.

When the shape does not match

A phone photo is 3:4 and a 3.5 × 4.5 cm photo is 7:9, so something has to give. Fill exactly (crop the edges) fills the size and trims a little from the sides; Fill exactly (add a border) keeps the whole picture and adds a plain border; Fit inside keeps the shape and makes one side smaller than asked. Use Crop first to choose exactly what stays.

Updated

Questions and answers

Does changing the DPI change the file size?

Only through the pixels. The DPI decides how many pixels the print size needs; the DPI tag itself is a few bytes. Two images with the same pixels are the same size whatever DPI they are tagged with.

Can I enter millimetres or inches?

Yes. Choose the unit next to the width and height: centimetres, millimetres or inches.

Will a small photo be enlarged?

Yes, to reach the print size you asked for. Enlarging cannot add detail, so start from the largest original you have.

Compare

OriginalResultOriginal Result

Crop & rotate

Image to crop