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 cmphoto is276 × 354 pxand a3.5 × 1.5 cmsignature is276 × 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.
| Document / Photo type | Physical 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 photo | 3.5 × 4.5 cm (35 × 45 mm) | 132 × 170 px | 207 × 266 px | 276 × 354 px | 413 × 531 px | 827 × 1063 px |
| Standard exam signature | 3.5 × 1.5 cm (35 × 15 mm) | 132 × 57 px | 207 × 89 px | 276 × 118 px | 413 × 177 px | 827 × 354 px |
| Wide signature / thumb box | 4.0 × 2.0 cm (40 × 20 mm) | 151 × 76 px | 236 × 118 px | 315 × 157 px | 472 × 236 px | 945 × 472 px |
| Compact signature strip | 6.0 × 2.0 cm (60 × 20 mm) | 227 × 76 px | 354 × 118 px | 472 × 157 px | 709 × 236 px | 1417 × 472 px |
| Stamp-size college photo | 2.0 × 2.5 cm (20 × 25 mm) | 76 × 94 px | 118 × 148 px | 157 × 197 px | 236 × 295 px | 472 × 591 px |
| US visa / square photo | 2.0 × 2.0 in (5.08 × 5.08 cm) | 192 × 192 px | 300 × 300 px | 400 × 400 px | 600 × 600 px | 1200 × 1200 px |
| Postcard photo (4 × 6 in) | 4.0 × 6.0 in (10.16 × 15.24 cm) | 384 × 576 px | 600 × 900 px | 800 × 1200 px | 1200 × 1800 px | 2400 × 3600 px |
| Handwritten declaration | 10.0 × 5.0 cm (100 × 50 mm) | 378 × 189 px | 591 × 295 px | 787 × 394 px | 1181 × 591 px | 2362 × 1181 px |
| Full A4 certificate page | 21.0 × 29.7 cm (210 × 297 mm) | 794 × 1123 px | 1240 × 1754 px | 1654 × 2339 px | 2480 × 3508 px | 4961 × 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.
| Resolution tier | Pixel dimensions | Total pixels in grid | Best suited for KB cap | Typical use case |
|---|---|---|---|---|
| 96 DPI | 132 × 170 px | 22,440 pixels | 10 KB – 25 KB | Legacy low-res web portals |
| 150 DPI | 207 × 266 px | 55,062 pixels | 15 KB – 40 KB | Compact form uploads & low-KB certificates |
| 200 DPI | 276 × 354 px | 97,704 pixels | 20 KB – 60 KB | Standard competitive exam photo uploads |
| 300 DPI | 413 × 531 px | 219,303 pixels | 40 KB – 150 KB | High-clarity uploads & 4×6 / A4 photo printing |
| 600 DPI | 827 × 1063 px | 879,101 pixels | 150 KB – 500 KB | Archival 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.
- Read the notification first — Check whether the rule gives pixels (
200 × 230 px), physical units (3.5 × 4.5 cm), or both. - Pick the matching DPI — Use the notification’s stated DPI (usually 200 DPI for exams, 300 DPI for print/visas).
- 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
- 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.
- 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.
- 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).
- 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.
- 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.