How to Resize an Image in CM Free (cm to Pixels)
Forms that give photo sizes in cm, like 3.5 x 4.5 cm, need pixels. Convert cm to pixels at 300 or 200 DPI with one formula, then resize free in your browser.
Published · 5 min read
To resize an image in cm, convert the centimetres to pixels first, because screens and upload forms work in pixels: pixels = cm ÷ 2.54 × DPI. At 300 DPI, a 3.5 × 4.5 cm photo is about 413 × 531 pixels. Crop the photo to that shape, then type those numbers into our free image resizer and download. Nothing is uploaded, and there's no sign-up.
Centimetre sizes come from the paper world: passport photos, ID cards, application forms that will be printed. A digital file has no size in cm until it's printed, so you need to pick how many pixels go into each centimetre. That's what the DPI number does.
The formula, explained
One inch is exactly 2.54 cm. DPI (dots per inch) says how many pixels go into each inch when printed. So:
pixels = cm ÷ 2.54 × DPI
Worked example, 3.5 × 4.5 cm at 300 DPI:
- Width: 3.5 ÷ 2.54 = 1.378 inches; × 300 = 413 pixels
- Height: 4.5 ÷ 2.54 = 1.772 inches; × 300 = 531 pixels
Round to the nearest whole pixel. A pixel either way makes no visible difference.
Ready-made conversions
| Size in cm | At 300 DPI | At 200 DPI |
|---|---|---|
| 2 × 2.5 | 236 × 295 | 157 × 197 |
| 3 × 4 | 354 × 472 | 236 × 315 |
| 3.5 × 3.5 | 413 × 413 | 276 × 276 |
| 3.5 × 4.5 | 413 × 531 | 276 × 354 |
| 5 × 5 | 591 × 591 | 394 × 394 |
| 6 × 2 (a signature box, for example) | 709 × 236 | 472 × 157 |
These are pure conversions, not anyone's official requirement. For what "passport size" means on different forms and in different countries, see passport size photo in cm and pixels.
300 or 200 DPI: which to use?
- The form states a DPI: use that number.
- The form states pixels as well as cm: ignore the cm and use the pixels exactly.
- You'll print it: use 300 DPI. It's the usual standard for sharp photo prints.
- It's only for an online upload with a small KB limit: 200 DPI gives fewer pixels and a smaller file, which makes a tight KB limit easier to hit. It still looks fine on screen.
If you're unsure, 300 DPI is the safer default. You can always compress afterwards. More background in what is DPI.
Step 1: Crop to the right shape
A phone photo is usually 3:4 or 4:3, and 3.5 × 4.5 cm is a slightly different shape. If you resize straight to 413 × 531 with the proportions unlocked, the face gets squashed or stretched. Crop first:
- Open the free image cropper and choose your photo.
- Pick Passport 35×45 mm for 3.5 × 4.5 cm (same shape). For other sizes, pick Free and type a width and height in the same proportion, such as 2100 × 2800 for a 3 × 4 cm photo, in the pixel boxes under the picture. Use numbers that fit inside your photo; the resizer shrinks it to the final size next.
- Drag the box so the head and top of the shoulders are framed as the form describes.
- Click Crop image and download it as JPG.
Step 2: Resize to the pixel size
- Open the free image resizer and choose the cropped photo.
- Keep Pixels selected.
- Type the width from the table, for example
413. With Lock proportions on, the height fills in at about531because you've already cropped to the right shape. - If the height is off by a pixel or two and the form demands exact numbers, untick Lock proportions and type the height.
- Under Save as, choose JPG.
- Click Resize image. You'll see the result, like
413 × 531 px · 38 KB. - Click Download image.
Step 3: Check the KB
Many forms also give a KB range. If your file is too big, run it through the free image compressor as JPG, lowering the quality until the size is inside the range. If it's too small, see how to increase image size in KB.
Printing at the right size
If you're printing the photo yourself, the pixel size alone won't guarantee the paper size, because our resizer doesn't write a DPI value into the file. Printers and print dialogs often scale images to fit the page. Instead:
- In the print dialog, look for options like "actual size" or "100%" rather than "fit to page".
- Or let a photo shop print it; tell them the size in cm.
- To print several copies, many people place them on a 4 × 6 inch layout. Photo print sizes in pixels lists common paper sizes.
Measure one printed copy with a ruler before cutting the rest.
Converting the other way: pixels to cm
To find how big an image will print: cm = pixels ÷ DPI × 2.54. A 1080-pixel-wide image at 300 DPI prints 1080 ÷ 300 × 2.54 = 9.1 cm wide. At 150 DPI it would print twice as wide, but less sharp.
Do it now
Work out the pixels with the formula or the table, crop to the shape, then open the free image resizer and type the numbers. It's free and your photo never leaves your device.
Frequently asked questions
- How do I convert cm to pixels?
- Divide the centimetres by 2.54 and multiply by the DPI. At 300 DPI, 3.5 cm is 413 pixels and 4.5 cm is 531 pixels.
- How many pixels is 3.5 x 4.5 cm?
- About 413 × 531 pixels at 300 DPI, or 276 × 354 pixels at 200 DPI.
- Can I resize directly in cm?
- Image files are measured in pixels, so convert cm to pixels first and resize to those numbers. To print at an exact cm size, set that size in the print dialog or tell the print shop.
- Why does my resized photo look stretched?
- The proportions changed. Crop the photo to the right shape first, then resize with Lock proportions on.
- Which DPI should I use for an online form?
- Use the DPI or pixel size the form states. If it gives only cm, 300 DPI is a safe default; 200 DPI gives a smaller file for tight KB limits.
Image tools
Try Resize Image
Free, no sign-up, and your files stay on your device. Resize a JPG, PNG or WebP image to an exact width and height in pixels, or scale it by a percentage.
Also useful
- Crop ImageCut away what you don't want and frame your photo just right. Drag the crop box freely or lock it to square, 4:5, 16:9, story or passport shape, and set exact pixels if you need to. Your image stays on your device and is never uploaded.
- Compress ImageMake photos and images smaller in seconds. Choose a quality level, see the new file size before you download, and compress up to 20 images at once. Your images stay on your device and are never uploaded.