Resize image in cm, mm or pixels

Set the exact size your form asks for, like 3.5 × 4.5 cm at 200 DPI, and a KB range. Free, and your photo never leaves your device.

What are you resizing?
Unit
cm
cm

Output: 276 × 354 px (3.5 × 4.5 cm at 200 DPI)

Common sizes (check your form's own rules)

How should the picture fill the size?
KB

Processed on your device. Your files are never uploaded.

How to use

  1. Add your photo or signature: tap "choose a file", drag it onto the box, or paste it.
  2. Type the width and height your form asks for, pick cm, mm, inches or pixels, and choose the DPI. Set the largest file size in KB, and a smallest size if the form has one.
  3. Move the crop box so the face or signature sits where you want it, then download the JPG.

What size in pixels is 3.5 × 4.5 cm?

A size in cm becomes pixels only once you choose a DPI (dots per inch). The same 3.5 × 4.5 cm photo has a different pixel size at each DPI:

DPI 3.5 × 4.5 cm photo 2 × 2 inch photo 6 × 2 cm signature
96 132 × 170 px 192 × 192 px 227 × 76 px
150 207 × 266 px 300 × 300 px 354 × 118 px
200 276 × 354 px 400 × 400 px 472 × 157 px
300 413 × 531 px 600 × 600 px 709 × 236 px

The formula is pixels = cm ÷ 2.54 × DPI, rounded to the nearest pixel. If your form gives the size in pixels, choose pixels instead and type them in; the DPI then does not change the size.

DPI, cm and KB: how they fit together

A form usually sets three things, and this tool keeps all three:

  • Size in cm or mm and a DPI fix the exact pixel width and height. The tool always gives you exactly that, cropped or fitted, never stretched.
  • The DPI is also written inside the JPG file, so a portal that reads it sees the value you chose.
  • The KB limit is reached by changing only the JPG quality, because the pixel size is fixed. 1 KB counts as 1,000 bytes for the largest size, so the file passes whether the portal counts in 1,000 or 1,024.

If the tool says the size does not fit your KB limit, the pixel size is too big for that many KB. Lower the DPI, or check that the size and limit you typed match the form.

Crop to fill or fit inside

Crop to fill (the default) fills the whole size with your picture and cuts off what does not fit. Drag the box, or use the arrow keys, to choose which part to keep. Fit inside keeps the whole picture and adds white bars where the shapes differ, which suits a signature or a document you must not cut.

Frequently asked questions

How do I convert cm to pixels?

Divide the centimeters by 2.54 to get inches, then multiply by the DPI. At 200 DPI, 3.5 cm is 3.5 ÷ 2.54 × 200 = 276 pixels. The tool does this for you and shows the pixel size under the size fields.

What DPI should I choose?

Use the DPI your form or notice states. If it gives only a size in cm and a KB limit, 200 DPI is a safe choice: the picture is sharp enough to print at that size and still fits small KB limits. A higher DPI means more pixels, which needs more KB.

Can I resize a photo to 35 × 45 mm?

Yes. Choose mm and type 35 and 45, or tap the "3.5 × 4.5 cm photo" size, which is the same thing. 35 × 45 mm at 200 DPI is 276 × 354 pixels.

My form says "3.5 × 2.5 cm". Which number is the width?

Forms do not always write the width first. A face photo is taller than it is wide, so 3.5 × 2.5 cm means 2.5 cm wide and 3.5 cm high. A signature is wider than it is tall. If the preview looks squashed or the wrong shape, swap the two numbers.

Why is my file well under the largest size?

The tool keeps photos at a clean quality and does not add size the form does not need; any size under the limit is accepted. If your form also has a minimum, tick "Set a smallest file size" and the tool raises the quality until the file reaches it.

Is my photo uploaded anywhere?

No. The resizing happens in your browser on your own device. Your photo is never sent to our server or anyone else.