CM to Pixel Converter

Turn a size in centimetres, millimetres or inches into pixels at any DPI, or work out how big a pixel size will print.

DPI (dots per inch)

413 × 531 pixels

at 300 DPI

Resize a photo to this size

Your photos stay on your device. Nothing is uploaded.

How it works

  1. Type the sizeIn cm, mm, inches or pixels, or choose a common size.
  2. Pick the DPI300 for prints, or whatever your form says.
  3. Get the pixelsThen resize your photo to that size in one tap.

The formula

pixels = cm ÷ 2.54 × DPI. For millimetres divide by 25.4 instead, and for inches just multiply by the DPI. Going the other way, cm = pixels ÷ DPI × 2.54.

Common sizes in pixels

Size200 DPI300 DPI
3.5 × 4.5 cm (passport photo, India)276 × 354413 × 531
2 × 2 inches (US passport)400 × 400600 × 600
35 × 45 mm (UK, Schengen)276 × 354413 × 531
2.5 × 3.5 cm (stamp size)197 × 276295 × 413
4 × 6 inches (postcard print)800 × 12001200 × 1800
A4 (21 × 29.7 cm)1654 × 23392480 × 3508

When a form gives both cm and pixels

Some application forms give a size in cm and a size in pixels that don’t match at any normal DPI. Go by the pixels and the KB limit: that’s what the upload page actually checks. Our photo size checker shows a file’s pixels, KB and DPI, and the exam photo size pages already have each exam’s numbers built in.

Related tools: resize image in cm, in mm, in inches, change DPI, check DPI and passport photo maker.

Frequently asked questions

How many pixels is 1 cm?

It depends on the DPI. 1 inch is 2.54 cm, so 1 cm = DPI ÷ 2.54 pixels: 118 px at 300 DPI, 79 px at 200 DPI and 38 px at 96 DPI. Type any size above to get the exact number.

What is 3.5 × 4.5 cm in pixels?

At 300 DPI, 3.5 × 4.5 cm is 413 × 531 pixels. At 200 DPI it is 276 × 354 pixels, and at 96 DPI it is 132 × 170 pixels. If a form gives the size in pixels, use those pixels instead: the form’s own number always wins.

Which DPI should I use?

Use the DPI your form or printer asks for. 300 DPI is the usual print quality for photos. Some government forms state 200 DPI. Screens don’t use DPI at all: there only the pixel size matters, which is why 96 or 72 DPI often appears for web images.

Does the size in cm decide the file size in KB?

No. The pixel size sets how many pixels there are, but the KB size depends on how strongly the JPG is compressed. Two photos with the same pixel size can be 20 KB or 200 KB. Resize first, then use Compress Image to hit a KB limit.

How do I change the size of my photo, not just calculate it?

Tap Resize a photo to this size. It opens the resizer for cm, mm or inches, which crops and resizes your photo and saves the DPI in the file.

Is anything uploaded?

No. The converter is plain maths in your browser, and the resize tools also work on your device.

Esc

↑↓ to move · Enter to open · See all tools