Select Or Drag & Drop Images Here
By Mukeem, who builds and maintains ToolBuny · Updated October 2026
To resize image in cm, upload your photo, enter the width and height in centimeters, choose a DPI, and click Resize Image. Then download the finished file. It’s free, and you can also add a KB limit in the same step.
Centimeters matter when a picture has a physical use, such as a printed photo, frame, sticker, or form that asks for a fixed size. Most image editors work in pixels. If you need to resize an image in centimeters, this tool converts your measurements into pixels for you.
Centimeters, Pixels and DPI: How They Connect
A screen works with pixels, while centimeters describe the physical size of a picture. DPI connects the two by telling the tool how many pixels to use for each inch.
The basic formula is:
pixels = centimeters ÷ 2.54 × DPI
For example, 27.2 cm at 96 DPI gives about 1028 pixels:
27.2 ÷ 2.54 × 96 ≈ 1028 pixels
That is the same width I got in the test below. So when you resize an image in centimeters, you can check the pixel result with the same formula.
Here are some common sizes:
| Size | At 96 DPI | At 300 DPI |
|---|---|---|
| 3.5 × 4.5 cm | 132 × 170 px | 413 × 531 px |
| 10 × 15 cm | 378 × 567 px | 1181 × 1772 px |
| 15 × 20 cm | 567 × 756 px | 1772 × 2362 px |
| 21 × 29.7 cm (A4) | 794 × 1123 px | 2480 × 3508 px |
Upload the photo, enter the width and height in cm, choose a DPI, and press Resize Image.
Click Select Images or drop your file into the upload box. If you picked the wrong file, use Change Images.
Enter the Width (CM) and Height (CM) you need.
Keep Maintain Aspect Ratio checked if you want the other dimension to follow the original proportions.
Choose a value under DPI (Print Quality).
If you have a file-size limit, enter the number in Compress Image To Specific Size (Optional).
Choose JPG, JPEG, or PNG.
Click Resize Image, then download the result.
I used a 2.22 MB portrait, entered 27.2 cm for the width and 40.8 cm for the height, left the DPI at 96 (Standard), entered 70 in the KB box, and selected JPG.
The result showed 1028 × 1542 pixels and a file size of 71.4 KB.
The pixel dimensions matched my calculation. The file was slightly above the 70 KB target, so if a form has a strict size limit, it can help to enter a slightly lower KB value.

Sample photo used for testing.
DPI affects how many pixels are used for a given physical size. A setting of 96 works well for screens and many online forms. For printing, a higher setting is often used, and many print shops ask for 300 DPI.
If a print shop or form tells you to use 300 DPI, select that value and enter the required dimensions in centimeters. A higher DPI creates more pixels for the same physical size, which can also produce a larger file.
A simple rule is to use 96 DPI for screens and online uploads unless the form gives you another requirement. For printing, follow the DPI requested by the print shop or document.
Some forms ask for a specific physical size, such as 3.5 cm × 4.5 cm.
Enter 3.5 as the width and 4.5 as the height, then choose the required DPI. If you need the image to match those exact dimensions, turn off Maintain Aspect Ratio. If your original photo has a different shape, crop it first so the person or object does not look stretched.
Making a complete ID photo? Our Passport Size Photo tool is built for that job.
Signatures work in much the same way. If a form specifies a signature width and height in centimeters, enter the exact measurements given by the form instead of guessing.
Some websites and forms require both a physical size and a file-size limit.
You can resize an image in cm and set a KB target in the same process. Enter the required centimeters, then add your KB value in the optional compression box.
If you only need a file below a specific size, our 20 KB tool is designed for that. For other file-size limits, you can use Reduce Image Size in KB.
The tool lets you choose between JPG, JPEG, and PNG.
JPG and JPEG are useful for photographs because they usually produce smaller files. PNG is useful when you need sharper edges, such as for logos, text, or screenshots, although PNG files can be larger.
Choose the format based on what the website, form, or application requires.
On a phone, open the page in Chrome or Safari, select a photo from your gallery, enter the required dimensions, and save the result.
On Windows or Mac, you can drop the image into the upload box and enter the same measurements.
You don't need a separate image-editing program. The tool works directly in your browser.
Print sizes in the US are often given in inches. To convert inches to centimeters, multiply the measurement by 2.54.
| Size in inches | Width × Height in cm |
|---|---|
| 2 × 2 | 5.08 × 5.08 |
| 4 × 6 | 10.16 × 15.24 |
| 5 × 7 | 12.7 × 17.78 |
| 8 × 10 | 20.32 × 25.4 |
Not sure about your picture’s current DPI? Check it with our Image DPI Checker.
The resizing runs inside your browser, so your photo isn't sent to a remote server. You can check this yourself by pressing F12, opening the Network tab, resizing a picture, and watching the activity.
Select your photo with Select Images. Enter the required Width (CM) and Height (CM), such as 3.5 and 4.5. Keep DPI at 96 for screens or online forms unless a different value is required. For printing, choose the DPI requested by the print shop or form.
If you also have a KB limit, enter the number in the optional compression box. Then click Resize Image and use Download to save the result.
The tool is free to use.
Quick answers to common questions about this tool.