Complete centimetre, millimetre, and inch to pixel conversion reference at 96, 150, 200, 300, and 600 DPI

Exact formulas and lookup tables translating 3.5 × 4.5 cm, 3.5 × 1.5 cm, 2 × 2 inch, and A4 physical dimensions into digital pixel grids.

When you open a university admission brochure or a competitive exam notification, the document upload instructions often feel like they were written in two different languages. One section asks for a photograph measuring 3.5 cm × 4.5 cm and a signature of 3.5 cm × 1.5 cm, while the image cropper on your computer asks you to enter width and height in pixels. Without knowing the bridge between physical paper units and digital screen pixels, you are left guessing numbers that can distort your face or trigger an instant portal dimension error.

That bridge is DPI—Dots Per Inch (or PPI, Pixels Per Inch). Physical units like centimetres, millimetres, and inches describe how large a print looks on paper, whereas pixels describe how many discrete colour samples exist inside a digital image file. Once you know the target DPI expected by the portal (most commonly 200 DPI for Indian recruitment portals and 300 DPI for high-resolution printing and international visas), converting any physical measurement to exact pixel dimensions takes a single multiplication.

This reference guide gives you the exact mathematical formulas, a master lookup table covering every common passport photo, signature, postcard, and A4 document size across 96, 150, 200, 300, and 600 DPI, and practical advice on how pixel counts interact with strict 20 KB and 50 KB file-size limits.

Quick answer & key takeaways

To convert physical dimensions to pixels, use the formulas: Pixels = (cm ÷ 2.54) × DPI, Pixels = (mm ÷ 25.4) × DPI, or Pixels = inches × DPI, rounded to the nearest whole number. For example, a standard 3.5 × 4.5 cm passport photo equals 276 × 354 pixels at 200 DPI and 413 × 531 pixels at 300 DPI.

  • One international inch is defined as exactly 2.54 centimetres (25.4 millimetres), which makes Pixels = round((cm ÷ 2.54) × DPI) the universal conversion formula.
  • At the 200 DPI standard used by many exam portals, a 3.5 × 4.5 cm photo is 276 × 354 px and a 3.5 × 1.5 cm signature is 276 × 118 px.
  • Whenever a notification specifies both centimetre measurements and explicit pixel dimensions (such as 200 × 230 px), the explicit pixel numbers always take priority for online uploads.
  • Doubling the DPI from 150 to 300 quadruples the total number of pixels (4× area), making it much harder to stay under a 20 KB or 50 KB ceiling.
  • Changing the DPI metadata header alone does not resize an image unless the actual width and height in pixels are resampled.

The exact mathematical formulas from cm, mm, and inches to pixels

A digital image in memory has no inherent physical size in centimetres or inches—it only has a grid of Width × Height pixels. Physical size only emerges when you specify how many of those pixels should be packed into one linear inch of paper or screen space. Because 1 inch is internationally standardised as exactly 2.54 cm or 25.4 mm, every conversion reduces to converting your physical measurement into inches and multiplying by the target DPI.

  • Inches to pixels — Pixels = round(Inches × DPI). Example: 2 inches × 300 DPI = 600 pixels.
  • Centimetres to pixels — Pixels = round((cm ÷ 2.54) × DPI). Example: 3.5 cm ÷ 2.54 × 200 DPI = 275.59 → 276 pixels.
  • Millimetres to pixels — Pixels = round((mm ÷ 25.4) × DPI). Example: 45 mm ÷ 25.4 × 300 DPI = 531.49 → 531 pixels.
  • Pixels back to centimetres — cm = (Pixels ÷ DPI) × 2.54. Example: (413 px ÷ 300 DPI) × 2.54 = 3.50 cm.

Master conversion table for photos, signatures, and thumbprints (96 to 600 DPI)

Use the lookup table below whenever an application brochure specifies physical dimensions in centimetres, millimetres, or inches. If the brochure asks for a "200 DPI scan of 3.5 × 4.5 cm", read across the 3.5 × 4.5 cm row to the 200 DPI column (276 × 354 px) or simply enter the centimetre values directly in the Photo and signature tool, which performs the calculation for you.

Exact pixel dimensions (Width × Height) across 96, 150, 200, 300, and 600 DPI
Document / Photo typePhysical size (cm / mm / in)96 DPI (Screen)150 DPI (Low scan)200 DPI (Exam std)300 DPI (Print std)600 DPI (Archival)
Indian passport / exam photo3.5 × 4.5 cm (35 × 45 mm)132 × 170 px207 × 266 px276 × 354 px413 × 531 px827 × 1063 px
Standard exam signature3.5 × 1.5 cm (35 × 15 mm)132 × 57 px207 × 89 px276 × 118 px413 × 177 px827 × 354 px
Wide signature / thumb box4.0 × 2.0 cm (40 × 20 mm)151 × 76 px236 × 118 px315 × 157 px472 × 236 px945 × 472 px
Compact signature strip6.0 × 2.0 cm (60 × 20 mm)227 × 76 px354 × 118 px472 × 157 px709 × 236 px1417 × 472 px
Stamp-size college photo2.0 × 2.5 cm (20 × 25 mm)76 × 94 px118 × 148 px157 × 197 px236 × 295 px472 × 591 px
US visa / square photo2.0 × 2.0 in (5.08 × 5.08 cm)192 × 192 px300 × 300 px400 × 400 px600 × 600 px1200 × 1200 px
Postcard photo (4 × 6 in)4.0 × 6.0 in (10.16 × 15.24 cm)384 × 576 px600 × 900 px800 × 1200 px1200 × 1800 px2400 × 3600 px
Handwritten declaration10.0 × 5.0 cm (100 × 50 mm)378 × 189 px591 × 295 px787 × 394 px1181 × 591 px2362 × 1181 px
Full A4 certificate page21.0 × 29.7 cm (210 × 297 mm)794 × 1123 px1240 × 1754 px1654 × 2339 px2480 × 3508 px4961 × 7016 px

Why 3.5 × 4.5 cm does not equal 200 × 230 pixels in banking and recruitment forms

One of the most frequent points of confusion in competitive exam forms is a sentence that reads: *"The size of the photograph must be 4.5 cm × 3.5 cm (200 × 230 pixels)."* If you do the maths, 3.5 ÷ 4.5 is an aspect ratio of 0.778, whereas 200 ÷ 230 is an aspect ratio of 0.870. Furthermore, 200 pixels divided by 3.5 cm works out to roughly 145 DPI horizontally, while 230 pixels divided by 4.5 cm is roughly 130 DPI vertically.

Why do notifications contain this mathematical contradiction? Because 3.5 × 4.5 cm is the traditional physical size of a printed Indian passport photo, whereas 200 × 230 pixels (and 140 × 60 pixels for signatures) was hardcoded into legacy recruitment portal templates years ago. When a portal specifies both a centimetre size and an explicit pixel dimension, its upload validator checks the pixel dimensions (image.width === 200 && image.height === 230). Always prioritise the explicit pixel numbers for the digital upload.

How choosing 150, 200, 300, or 600 DPI impacts your KB budget

It is easy to assume that scanning at 600 DPI is always "better" than 200 DPI because higher resolution sounds sharper. In reality, when a portal imposes a strict 20 KB or 50 KB maximum file size, scanning at an unnecessarily high DPI actively hurts your image quality. Because total pixels scale with the square of the linear DPI, moving from 200 DPI to 600 DPI multiplies the total pixel count by nine (9×).

For example, a 3.5 × 4.5 cm photo at 200 DPI contains 97,704 pixels (276 × 354). At 600 DPI, that same photo contains 879,101 pixels (827 × 1063). Trying to squeeze 879,101 pixels into a 50,000-byte JPEG forces the encoder to drop the JPEG quality factor so low that blocky compression artefacts appear across your face. Matching your pixel grid to 200 DPI (for 20–50 KB caps) or 300 DPI (for 50–200 KB caps and physical prints) keeps the bits-per-pixel ratio in the sweet spot.

Total pixel count and ideal KB range for a 3.5 × 4.5 cm photo at each DPI tier
Resolution tierPixel dimensionsTotal pixels in gridBest suited for KB capTypical use case
96 DPI132 × 170 px22,440 pixels10 KB – 25 KBLegacy low-res web portals
150 DPI207 × 266 px55,062 pixels15 KB – 40 KBCompact form uploads & low-KB certificates
200 DPI276 × 354 px97,704 pixels20 KB – 60 KBStandard competitive exam photo uploads
300 DPI413 × 531 px219,303 pixels40 KB – 150 KBHigh-clarity uploads & 4×6 / A4 photo printing
600 DPI827 × 1063 px879,101 pixels150 KB – 500 KBArchival master scans only (too heavy for 50 KB)

DPI header metadata vs. true pixel resampling

Inside every JPEG file is a short header segment called JFIF (or EXIF) that contains two numbers: Xdensity and Ydensity. These numbers merely state "Suggested print density: 72 DPI" or "200 DPI." Changing that header tag from 72 to 300 without changing the actual pixel width and height does not add a single pixel of detail to your image—and most browser-based portal validators completely ignore the header tag anyway, checking only naturalWidth and naturalHeight in pixels.

However, a handful of older government portals inspect both the pixel grid and the JFIF density header. When you prepare your image in the Photo and signature tool using centimetre mode and a chosen DPI, the tool resamples the actual pixel canvas to the exact mathematical width and height while simultaneously writing a clean, matching JFIF density header and verifying the final byte count.

  1. Read the notification first — Check whether the rule gives pixels (200 × 230 px), physical units (3.5 × 4.5 cm), or both.
  2. Pick the matching DPI — Use the notification’s stated DPI (usually 200 DPI for exams, 300 DPI for print/visas).
  3. Resample and compress together — Crop to the exact pixel grid and target your decimal KB ceiling in one step.

How to convert any cm, mm, or inch specification into a portal-ready image

  1. Check if explicit pixel numbers are already listed

    Scan the upload instructions for explicit pixel figures such as 200 × 230 px or 140 × 60 px. If present, use those exact pixel dimensions rather than calculating from centimetres.

  2. Identify the physical unit and target DPI

    If only physical dimensions are given (such as 3.5 × 4.5 cm, 35 × 45 mm, or 2 × 2 inches), note the required DPI from the brochure—defaulting to 200 DPI for exam portals or 300 DPI for print sheets.

  3. Look up or calculate the exact pixel width and height

    Divide centimetres by 2.54 (or millimetres by 25.4), multiply by the DPI, and round to the nearest integer, or enter the cm and DPI directly in the Photo & Signature tool (Photo & signature).

  4. Crop your original image to the target aspect ratio

    Align your face or signature inside the locked aspect-ratio frame so resizing to the target pixel grid never stretches or squashes your features.

  5. Encode to the required KB window and verify

    Set the notification’s minimum and maximum KB limits, export the JPEG locally, and confirm both pixel dimensions and byte size in the Application File Checker (Application file checker).

Common mistakes to avoid

What goes wrong: Using 72 DPI or 96 DPI web calculators when a recruitment notification asks for a 200 DPI scan.

Better approach: A 3.5 × 4.5 cm image at 96 DPI is only 132 × 170 pixels, which looks visibly blurry on an admit card and often falls below portal pixel minimums. Always calculate at 200 DPI or 300 DPI as instructed.

What goes wrong: Typing 3.5 × 4.5 cm (276 × 354 px) when the portal explicitly validates for 200 × 230 px.

Better approach: When a notification lists both physical centimetres and exact pixel dimensions, the upload script almost always checks the exact pixel numbers.

What goes wrong: Resizing a 4000 × 3000 px phone photo into a 276 × 354 px box without cropping first.

Better approach: Forcing a landscape or 4:3 photo into a portrait pixel grid without cropping squashes your face horizontally. Crop to the aspect ratio first, then resample.

What goes wrong: Scanning an A4 certificate at 600 DPI when the upload limit is 100 KB JPEG.

Better approach: An A4 page at 600 DPI contains over 34 million pixels and cannot look sharp at 100 KB. Use 150 DPI or 200 DPI (1240 × 1754 px or 1654 × 2339 px) for low-KB single-page JPEG certificates.

Frequently asked questions

How many pixels is 3.5 cm × 4.5 cm at 200 DPI and 300 DPI?

Using the formula Pixels = round((cm ÷ 2.54) × DPI), 3.5 cm × 4.5 cm equals 276 × 354 pixels at 200 DPI and 413 × 531 pixels at 300 DPI. At 150 DPI, it equals 207 × 266 pixels.

How many pixels is a 3.5 cm × 1.5 cm signature at 200 DPI?

At 200 DPI, 3.5 cm converts to 276 pixels wide and 1.5 cm converts to 118 pixels tall (276 × 118 px). At 300 DPI, a 3.5 × 1.5 cm signature measures 413 × 177 pixels.

What is the pixel size of a 2 × 2 inch photo and a 4 × 6 inch postcard photo at 300 DPI?

Because Pixels = Inches × DPI, a 2 × 2 inch square photo at 300 DPI is exactly 600 × 600 pixels (or 400 × 400 pixels at 200 DPI). A 4 × 6 inch postcard photo at 300 DPI is 1200 × 1800 pixels.

Is there any difference between DPI and PPI when resizing images for online portals?

In strict printing terminology, PPI (Pixels Per Inch) refers to the digital image grid and DPI (Dots Per Inch) refers to physical printer ink droplets. However, exam notifications and scanners universally use the term "DPI" to mean pixels per inch, so you treat them identically in the conversion formula.

What DPI should I choose if the notification gives centimetre dimensions but never mentions a DPI number?

If no DPI is stated and no pixel dimensions are given, 200 DPI is the safest default for online uploads with 20–50 KB limits, while 300 DPI is the standard if the file cap is 100 KB or higher or if you are preparing a sheet for physical printing.

Summary

Converting between centimetres, millimetres, inches, and pixels is completely predictable once you anchor on 1 inch = 2.54 cm = 25.4 mm and multiply by the target DPI. Bookmark the master table above—or enter your centimetre dimensions and DPI directly into the Photo and signature tool—and remember to give explicit pixel requirements priority whenever a notification lists both.

Related guides

Browse all guides →