CM to Pixels Converter

Type a size in centimetres or millimetres, choose a DPI and get the exact width and height in pixels, with the same size at 96, 150, 200, 300 and 600 DPI. It opens at 3.5 × 4.5 cm, the common passport size.

  • Nothing uploadedFiles never leave your device
  • No sign-upNo sign-up, no limits
  • FreeFree, no watermark
cm
cm

Pixels needed

413 × 531 px

3.5 × 4.5 cm at 300 DPI, 0.22 megapixels

The same size at other resolutions
96 DPI132 × 170 px
150 DPI207 × 266 px
200 DPI276 × 354 px
300 DPI413 × 531 px
600 DPI827 × 1063 px

Resolution

DPI

300 DPI is the usual print and photo-form standard. Screens ignore DPI.

Pixels = size in inches × DPI. One inch is 2.54 cm, so 1 cm at 300 DPI is about 118 pixels.

How do I convert cm to pixels?

Pixels = cm ÷ 2.54 × DPI, rounded to a whole pixel. At 300 DPI, 1 cm is about 118 pixels, so a 3.5 × 4.5 cm passport-size photo is 413 × 531 px and an A4 page is 2480 × 3508 px. For millimetres, divide by 25.4. Without a DPI, cm has no fixed pixel count.

Updated by the UploadWell team

How to use the CM to Pixels Converter tool

  1. Enter the size

    Type the width and height in centimetres or millimetres, or tap a common size such as Passport 3.5 × 4.5 cm, 3 × 4 cm or A4.

  2. Choose the DPI

    Tap 72, 96, 150, 200, 300 or 600 DPI, or type a custom value from 1 to 9600. It starts at 300 DPI, the usual figure for prints and photo forms.

  3. Copy the pixels

    The result shows width × height in pixels and the megapixels. Tap Copy the result to copy it as plain text, such as 413 x 531, and use the table to compare other DPIs.

  4. Make the image

    The calculator changes no files. To get a photo at that size, open Resize Image and choose cm / inch, which also saves the DPI in the file.

Why use UploadWell’s CM to Pixels Converter?

Centimetres, millimetres or inches
Switch units at any time. The numbers you typed are converted, so the physical size stays the same.
Any DPI
Six one-tap resolutions from 72 to 600 DPI, plus a custom field from 1 to 9600 DPI.
Five resolutions side by side
A table shows the same size at 96, 150, 200, 300 and 600 DPI, so you can see how the pixel count changes.
Common sizes in one tap
Passport 3.5 × 4.5 cm, 3 × 4 cm, A4, 2 × 2 in, 4 × 6 in, 5 × 7 in and Letter are ready to pick.
Works both ways
Switch to Pixels to size to find the print size of an image you already have.
Nothing to upload
It is a calculator, not an editor: no photo is needed, and the arithmetic runs in your browser.

The cm to pixels formula

An image file stores pixels, not centimetres. A size in cm only becomes a pixel count once you choose how many pixels go into each inch: the DPI (dots per inch, also called PPI). One inch is exactly 2.54 cm, so:

  • Pixels from cm: cm ÷ 2.54 × DPI
  • Pixels from mm: mm ÷ 25.4 × DPI
  • Pixels from inches: inches × DPI

Take 3.5 cm at 300 DPI: 3.5 ÷ 2.54 × 300 = 413.386, which rounds to 413 px. The height, 4.5 cm, gives 531.496, which rounds to 531 px.

Round once, at the end. If you round 1 cm to 118 px first and then multiply, larger sizes drift: 21 × 118 = 2478, but the exact width of A4 at 300 DPI is 2480 px. The calculator always works from the full size.

Pixels per centimetre at each DPI

DPIPixels per cm1 cm5 cm10 cm
7228.3528 px142 px283 px
9637.838 px189 px378 px
15059.0659 px295 px591 px
20078.7479 px394 px787 px
300118.11118 px591 px1181 px
600236.22236 px1181 px2362 px

For millimetres, divide the pixels per cm by 10: at 300 DPI, 1 mm is 11.81 pixels.

Common photo and paper sizes in pixels

Worked out with the same rounding as the calculator. Width comes first, then height.

SizeAt 200 DPIAt 300 DPIOften used for
3.5 × 4.5 cm (35 × 45 mm)276 × 354 px413 × 531 pxPassport-size photos
3 × 4 cm (30 × 40 mm)236 × 315 px354 × 472 pxID and student cards
5 × 7 cm (50 × 70 mm)394 × 551 px591 × 827 pxCanadian passport photos
6 × 2 cm472 × 157 px709 × 236 pxSSC signature preset
3.5 × 2 cm276 × 157 px413 × 236 pxRRB signature box (35 × 20 mm)
10 × 15 cm787 × 1181 px1181 × 1772 pxPhoto prints
A5 (14.8 × 21 cm)1165 × 1654 px1748 × 2480 pxHalf an A4 page
A4 (21 × 29.7 cm)1654 × 2339 px2480 × 3508 pxDocuments and certificates
A3 (29.7 × 42 cm)2339 × 3307 px3508 × 4961 pxPosters and drawings

A form's own numbers come first. When a notice lists pixels, such as the 200 × 230 px photo for IBPS and SBI forms, use those pixels and its KB range: the cm size and DPI no longer decide the upload. These presets are already set up: 3.5 × 4.5 cm, 3 × 4 cm, IBPS and SBI photo and SSC signature.

DPI changes the print size, not the pixels

A pixel has no fixed size. DPI is a number stored in the file that tells printing software how closely to pack the pixels on paper. Change it and the same pixels print larger or smaller:

413 × 531 px printed atPrint size
72 DPI14.57 × 18.73 cm
96 DPI10.93 × 14.05 cm
150 DPI6.99 × 8.99 cm
200 DPI5.25 × 6.74 cm
300 DPI3.5 × 4.5 cm
600 DPI1.75 × 2.25 cm

Screens ignore DPI altogether. A phone or a website shows an image by its pixels and the space it is given, so 413 × 531 px looks the same on screen whether the file says 72 DPI or 300 DPI. That is why upload portals mostly check pixels and KB, and why a size in cm only matters once you print.

To change only the stored DPI, without touching the pixels, use the DPI Converter. Adding a 300 DPI tag to a photo with the wrong pixel size will not make it print at 3.5 × 4.5 cm.

Which DPI to choose

  • 300 DPI is the usual figure for sharp photo prints and for forms that give a photo size in cm. The calculator starts here.
  • 200 DPI gives a lighter file at the same print size. The RRB signature preset uses it: 3.5 × 2.0 cm at 200 DPI is 276 × 157 px, above the 140 × 60 px minimum in the notices.
  • 150 DPI suits uploads with a small KB limit. A 3.5 × 4.5 cm photo becomes 207 × 266 px.
  • 600 DPI doubles the pixels on each side compared with 300 DPI, for very detailed prints, at a much larger file size.
  • 72 and 96 DPI are screen conventions. They only matter when software asks you for a DPI to turn cm into pixels.

If your form states a DPI, use that one. If it gives pixels, use the pixels and leave the DPI aside.

From the numbers to a finished photo

The calculator only does the arithmetic: it never opens or changes an image. Once you know the size you need:

  1. Make the image with Resize Image. Choose cm / inch, enter the size and DPI, and it crops or fits your photo and writes the DPI into the JPG or PNG.
  2. For the most common form photo, the 3.5 × 4.5 cm resizer opens already set to 413 × 531 px at 300 DPI.
  3. If the form also caps the file in KB, turn on Limit file size in the resizer. The pixels stay fixed and only the JPG quality drops.
  4. Check the finished file with the Image Size Checker before you upload it.

For an official passport or visa photo, the size is only part of the rules. The Passport Photo Maker adds head-size guides for each country.

Frequently asked questions

What is 3.5 × 4.5 cm in pixels?

413 × 531 pixels at 300 DPI, 276 × 354 at 200 DPI and 207 × 266 at 150 DPI. The same size is also written 35 × 45 mm, or 4.5 × 3.5 cm with the height first.

How many pixels is 1 cm?

It depends on the DPI: 118 pixels at 300 DPI (118.11 exactly), 79 at 200 DPI, 59 at 150 DPI and 38 at 96 DPI. A centimetre has no pixel size until a DPI is chosen.

What is A4 size in pixels at 300 DPI?

2480 × 3508 pixels for an upright page, or 3508 × 2480 in landscape. At 200 DPI it is 1654 × 2339 px, and at 150 DPI 1240 × 1754 px.

How do I convert mm to pixels?

Divide the millimetres by 25.4 and multiply by the DPI. At 300 DPI, 35 mm is 413 px and 45 mm is 531 px. Choose Millimetres in the calculator to type sizes in mm directly.

What is passport size photo size in pixels?

It depends on the country and the DPI. The common 3.5 × 4.5 cm size is 413 × 531 px at 300 DPI, and a square 2 × 2 in photo is 600 × 600 px. If your form lists pixels and a KB range, follow those numbers exactly.

Does changing the DPI change the number of pixels?

No. Changing the stored DPI only changes the print size. To get a different pixel count the image has to be resized, for example with Resize Image in cm / inch mode, which sets the pixels and the DPI together.

More free tools

View all tools

Change image dimensions in pixels, percent, cm, mm or inches, with DPI control.

Set JPG or PNG to 300 DPI or a custom print density without changing pixels.

Check pixels, exact KB and format against your application form’s upload limits.