How to resize an image in centimetres
- Choose or drop your image. JPG, PNG, WebP, BMP, GIF, HEIC and AVIF files open.
- Pick cm or mm under Unit, then type the Width and Height you want on paper.
- Check the DPI (dots per inch) box. The line under it shows the pixel size this gives.
- Choose what happens If the shape differs, pick JPG or PNG, and press Resize image.
From centimetres to pixels
A screen image has no size in centimetres, only pixels. To get one, the tool needs a DPI: how many pixels to place along each inch of paper. One inch is 2.54 cm, so the sum is centimetres ÷ 2.54 × DPI, rounded to whole pixels.
For a 10 × 15 cm print at 300 DPI that gives 1181 × 1772 px. In millimetres the method is identical, with 25.4 mm to the inch: 50 × 70 mm at 300 DPI becomes 591 × 827 px.
The DPI you enter is also written into the saved JPG or PNG. Programs that read this value can then place the picture at the centimetre size you chose, without you scaling it by hand.
What each setting does
- Width, Height and Unit
- The size on paper. Switching the unit does not convert the numbers already typed, so set the unit first.
- DPI (dots per inch)
- Pixels per inch of print, between 1 and 2400. Higher values give more pixels for the same paper size.
- If the shape differs
- Fill and crop the edges, Fit and add borders (in the background colour), Fit inside (may come out smaller) or Stretch.
- Save as, Quality and Background colour
- JPG with a quality slider, or lossless PNG. The colour fills borders and, in a JPG, any transparent areas.
Limits
- The pixel size cannot pass 16,384 px on a side. Lower the DPI or the size if the tool warns you.
- A small photo enlarged to a big print gets more pixels but no extra detail.
Questions
How many pixels is 1 cm?
It depends on the DPI. At 300 DPI, 1 cm is about 118 px; at 96 DPI it is about 38 px.
Which DPI should I use for printing?
300 is a common choice for photos seen up close. Lower values give fewer pixels and a smaller file, which can be fine for prints viewed from further away.
Can I resize to a size in mm, like 35 × 45 mm?
Yes. Choose mm under Unit, type 35 and 45, and keep 300 DPI to get 413 × 531 px.
How do I keep the whole photo without cropping?
Choose Fit and add borders. The picture is scaled to fit inside your size and the leftover strip is filled with the background colour, so the paper size stays exact.