Resize Image in cm, mm or Inches

To resize an image in cm, type the width and height in cm, mm or inches plus the DPI the form gives, and the tool calculates the pixels. For example, 3.5 × 4.5 cm at 200 DPI is 276 × 354 px. It then crops without stretching and can also compress the file to a KB limit.

= 413 × 531 px (3.5 × 4.5 cm @ 300 DPI) · pixels = size in inches × DPI; the DPI is also written into the JPG/PNG file.

🔒 Your files never leave this device — all processing happens in your browser.

How do I resize an image in cm, step by step?

  1. Upload the image above (JPG, PNG, WebP, HEIC or TIFF; on a phone you can take a photo).
  2. Choose the unit — cm, mm, inch or px. Switching units converts the numbers already typed, so the physical size stays the same.
  3. Type the width and height exactly as the form gives them, for example 3.5 and 4.5.
  4. Set the DPI from the notification (for example 200). The line under the fields shows the resulting pixel size.
  5. Pick how to fit — crop to fill (recommended), fit inside with white padding, or stretch — and, for cropping, which part to keep (centre, top, bottom, left, right). For portraits, "top" often keeps the head better.
  6. Pick the format (JPG, PNG or WebP) and, for JPG/WebP, an optional maximum KB.
  7. Download. The result line shows the pixels, file size and DPI.

For photos where you want to position the crop by hand, use the main photo & signature resizer: its dimensions section also accepts cm, mm and inches, and you can drag the crop box around the face.

Worked examples: real input and output

Measured by running this tool on our test photos (headless Chrome, 2026-10-03). Your numbers will differ slightly with your own photo.

CaseInputOutput
3.5 × 4.5 cm at 200 DPI1.2 MB phone portrait, 2687 × 3356 px276 × 354 px, 29.1 KB JPEG, 200 DPI
Signature 6 × 2 cm, 200 DPI, max 20 KB301 KB phone photo of a signature on paper, 1600 × 1000 px472 × 157 px, 5.9 KB JPEG, 200 DPI

When to use it

  • Forms that give sizes like 3.5 × 4.5 cm or 6 × 2 cm instead of pixels
  • Printing a photo at an exact physical size
  • Converting mm and inches to pixels for any DPI

Understanding your result

Pixels = cm ÷ 2.54 × DPI
6 cm at 200 DPI = 472 px. The tool shows the pixel result before you download.
DPI in the file
Stored in the JPEG so that print software uses the right physical size.
Crop / Fit / Stretch
Crop fills the box, Fit adds white margins and Stretch distorts. Avoid Stretch for faces.
KB cap
Optional. Quality is lowered only as far as needed to fit.

Detailed guide

Forms and print shops think in centimetres and inches; screens and image files think in pixels. When a notification says "photograph 3.5 cm × 4.5 cm" or "signature 6 cm × 2 cm", it is describing a physical size, and to produce a digital file you need to know how many pixels make up each centimetre. That missing link is DPI — dots (pixels) per inch. Once you know it, the conversion is simple arithmetic, and this tool does it for you and applies it in one step.

This page resizes and crops any image to an exact size in centimetres, millimetres, inches or pixels, at the DPI you choose, and writes that DPI into the file so software that reads it (including print dialogs) knows the intended physical size.

Why do cm and inches need a DPI?

A digital image has no physical size by itself — it is a grid of pixels. "4.5 cm tall" only becomes a pixel count once you decide how densely those pixels are packed. At 100 DPI, a 4.5 cm photo is 177 pixels tall; at 300 DPI it is 531 pixels tall. Both are "4.5 cm" when printed at their own DPI. That is why a requirement that gives centimetres without a DPI is ambiguous. If your notification gives both (for example "3.5 × 4.5 cm, 200 DPI"), use both. If it gives only centimetres, 200 DPI is common for online forms and 300 DPI is standard for printing; many forms also give a pixel size, which removes the ambiguity entirely.

How do I convert cm, mm and inches to pixels?

The formula is the same for every unit — convert to inches, then multiply by DPI:

  • From cm: pixels = cm ÷ 2.54 × DPI
  • From mm: pixels = mm ÷ 25.4 × DPI
  • From inches: pixels = inches × DPI
  • Back to cm: cm = pixels ÷ DPI × 2.54

Results are rounded to whole pixels, so a size can come out a pixel different from a table that rounds differently. Portals that check exact pixels will quote the pixel size themselves; use that when it is given.

What are common sizes like 3.5 × 4.5 cm and 6 × 2 cm in pixels?

Physical sizeAt 100 DPIAt 200 DPIAt 300 DPIAt 600 DPI
3.5 × 4.5 cm (passport / form photo)138 × 177276 × 354413 × 531827 × 1063
3.5 × 1.5 cm (signature)138 × 59276 × 118413 × 177827 × 354
6 × 2 cm (signature)236 × 79472 × 157709 × 2361417 × 472
5 × 6 cm197 × 236394 × 472591 × 7091181 × 1417
2 × 2 inch (5.08 × 5.08 cm)200 × 200400 × 400600 × 6001200 × 1200
2 × 2.5 cm (stamp size)79 × 98157 × 197236 × 295472 × 591

Calculated with pixels = cm ÷ 2.54 × DPI, rounded to the nearest pixel.

Which forms specify sizes in cm or mm?

These are the documents in our data set that give a physical size, with the DPI and pixel size we use for them. The table is generated from the same data file as the editor's presets:

Exam / portalDocumentPhysical sizeDPIPixels
SSC (CGL, CHSL, MTS, GD, Selection Post)Signature6 × 2 cm200472 × 157
CTETPhoto3.5 × 4.5 cm200276 × 354
CTETSignature3.5 × 1.5 cm200276 × 118
CAT (IIM)Signature8 × 3.5 cm150472 × 207
UPPSC (OTR)Photo5 × 6 cm200394 × 472
UPPSC (OTR)Signature6 × 3 cm200472 × 236
MPSCPhoto3.5 × 4.5 cm200276 × 354
MPSCSignature3.5 × 1.5 cm200276 × 118
Parivahan Sarathi (Driving Licence / Learner's Licence)Photo3.5 × 4.5 cmnull420 × 525
Voter ID (ECI Form 6 / Voters' Service Portal)Photo3.5 × 4.5 cm300413 × 531
Canada visa photo 35x45 mmPhoto3.5 × 4.5 cm300413 × 531
NEET PGSignature3.5 × 1.5 cm200276 × 118
NEET PG Thumb Impressionthumb3.5 × 1.5 cm200276 × 118
MHT CETPhoto5 × 5 cm300600 × 600
HTETPhoto3.5 × 4.5 cm200276 × 354

Documents in data/presets.json specified in cm/mm. Verify with the official notification.

A pattern worth noticing: most of them use 200 DPI for online uploads. The new SSC module's signature, for example, is 6.0 × 2.0 cm at 200 DPI, which is 472 × 157 px.

Crop, fit or stretch — which should I choose?

  • Crop to fill scales the image until it covers the whole target, then trims whatever sticks out. Nothing is distorted and there are no borders. This is right for photos, as long as the part you care about is inside — use the crop position to choose which side to keep.
  • Fit inside scales the image until it fits entirely, and fills the leftover area with white. Nothing is cut off, which suits signatures, documents and logos whose shape differs from the target.
  • Stretch forces the image into the target shape. It distorts faces and text and is almost never what you want for an application form — it is there for cases where the source already has the right proportions.

What DPI should I use?

Use the DPI the notification gives. If it gives only a physical size, think about where the image will end up:

  • Online upload forms: 200 DPI is the value most often paired with centimetre sizes in our data. It gives a readable face at 3.5 × 4.5 cm (276 × 354 px) while keeping the file small enough for tight KB limits.
  • Printing at a shop or at home: 300 DPI is the usual standard for photo prints. A 35 × 45 mm print at 300 DPI needs 413 × 531 px; the passport size photo maker lays those out on A4 or 4×6 sheets.
  • Very large prints or archiving: higher DPI (600) only helps if your source photo actually has that much detail. Upscaling a small phone crop to 600 DPI adds pixels but not sharpness.

Remember that DPI is also stored as a small metadata value inside JPG and PNG files. Some portals read it; most ignore it and look only at the pixel count. This tool sets both consistently, so the file is correct either way. WebP has no standard DPI field, which is why the DPI is not shown for WebP output.

How do I resize in cm and KB at the same time?

Set the size and DPI first, then type a maximum KB. The tool searches for the highest JPEG (or WebP) quality that fits under the limit and tells you whether it made it. If it cannot, reduce the DPI or the size — halving the DPI quarters the pixel count. If the form also has a minimum KB and your file comes out too small, run it through increase image size in KB, which adds bytes without touching the pixels. PNG ignores the KB limit because it is lossless.

Can I resize in cm in Paint, Word or Canva?

Paint's resize dialog works in percent and pixels, not centimetres, so you have to do the conversion yourself, and it will stretch the image if the proportions differ. Word lets you set a picture's size in centimetres on the page, but that changes how it is displayed, not the pixels in the file, so a portal still sees the original image. Canva can create a design in cm, but exporting at a chosen DPI and file size takes extra steps. This tool changes the actual pixels, crops without distortion, embeds the DPI and can cap the KB — in one place, in your browser.

Physical sizes and DPI requirements vary between forms and are revised between notifications. Verify with the official notification before you upload.

Frequently asked questions

How to resize photo in cm?

Choose cm as the unit, type the width and height, set the DPI (for example 200 or 300), keep Crop to fill, and download. The line under the fields shows the resulting pixel size.

3.5 x 4.5 cm in pixels at 200 DPI?

276 × 354 pixels (3.5 ÷ 2.54 × 200 and 4.5 ÷ 2.54 × 200, rounded).

3.5 x 4.5 cm in pixels at 300 DPI?

413 × 531 pixels.

How to convert pixels to cm?

cm = pixels ÷ DPI × 2.54. For example 472 pixels at 200 DPI is 472 ÷ 200 × 2.54 ≈ 6.0 cm.

How to resize image in cm and KB?

Set the size in cm and the DPI, then type a maximum KB. The tool finds the best JPEG quality under that limit.

How to resize photo in cm in Paint?

Paint works in pixels and percent, so convert first (pixels = cm ÷ 2.54 × DPI). This tool accepts cm directly and crops without stretching.

How to resize passport size photo in cm?

Type 3.5 × 4.5 cm, choose 300 DPI for printing (413 × 531 px) or the DPI your form asks for, and use Crop to fill with the Top position to keep the head.

Resize image in cm 6cm x 2cm?

Type 6 × 2 cm; at 200 DPI that is 472 × 157 pixels. For a signature, choose Fit inside so no stroke is cut off.

Related guides

⚠ Specs change between notifications — always verify with the latest official notification before you upload.