Skip to content

Image Size in Cm to Pixels

cm / mm / in ↔ px

Free tool: Image Size in Cm to Pixels

No upload
Loading tool…Runs fully in your browser

Convert physical photo sizes into pixels for online forms. Enter the size in cm, mm or inches and a DPI (300 is standard for photos) to get the exact pixel dimensions – or go from pixels back to cm.

Formula: pixels = (cm ÷ 2.54) × DPI. For example 3.5 cm at 300 DPI = 413 px.

Common conversions

Size200 DPI300 DPI
3.5 × 4.5 cm276 × 354 px413 × 531 px
2 × 2 in400 × 400 px600 × 600 px
6 × 2 cm (signature)472 × 157 px709 × 236 px
A4 (21 × 29.7 cm)1654 × 2339 px2480 × 3508 px

How to use

  1. Pick the unit and type width and height.
  2. Choose a DPI.
  3. Copy the pixel result into the resizer.

Which DPI should I use?

Use 300 DPI for print-quality photos, 200 DPI where bank-exam guidelines say so, and 96 DPI only for on-screen layouts.

Fixing blurry or blocky results

  1. Start again from the original photo, not a WhatsApp or screenshot copy.
  2. Crop tighter so fewer pixels share the KB budget.
  3. Lower the pixel dimensions slightly instead of forcing very low quality.
  4. Use a plain, evenly lit background – noise and texture waste bytes.
  5. If the limit is extremely small (under 15 KB), keep the image below about 250 px wide.

Your files stay private

No upload, no account and no tracking of file contents: processing uses the JavaScript engine in your browser. You can even load the page, switch off mobile data, and keep working. Closing the tab clears the images from memory.

This matters for documents such as signatures, ID cards and certificates, which should not be stored on unknown servers.

How the in-browser compressor works

Your photo is decoded by the browser, drawn onto an invisible canvas and re-encoded with the browser’s own JPEG/WEBP encoder. To hit a size target, the tool runs a binary search over quality (from 0.95 down to about 0.3); if even low quality is too big, it shrinks the pixel dimensions in 10% steps and searches again. The result is the highest quality that fits, typically within 1–3% of the target.

Because everything happens locally, the speed depends on your device: a 12-megapixel photo takes about a second on a modern phone.

JPG, PNG, WEBP or HEIC – which should you upload?

FormatGood forUpload forms
JPG / JPEGphotos, passport pictures, signaturesaccepted almost everywhere
PNGscreenshots, logos, transparent signaturesoften accepted, but larger in KB
WEBPwebsitesfrequently rejected by government forms
HEICiPhone camera photosrarely accepted – convert to JPG

When in doubt, upload JPG: it gives the smallest file for photos and is the format named in almost every exam notification.

KB, MB and pixels explained

TermMeaning
KB (kilobyte)1,024 bytes – the unit most upload limits use
MB (megabyte)1,024 KB
Pixelsthe dots that make up the image (width × height)
DPIpixels per inch when printed – does not change file size by itself

File size (KB) and dimensions (pixels) are different limits. A 200 × 230 px photo can be 15 KB or 60 KB depending on quality, so forms often specify both.

Image Size in Cm to Pixels – FAQs

How many pixels is 1 cm?

118 px at 300 DPI, 79 px at 200 DPI, 38 px at 96 DPI.

How many pixels is 35 mm?

413 px at 300 DPI.

Do I need to install an app?

No. The tool runs in Chrome, Safari, Edge or Firefox on phones and computers.

Is there a file limit or watermark?

No limits on the number of files and no watermark.

Does it work offline?

After the page has loaded once, processing happens on your device without uploading.