Skip to main content
FormFitKit

DPI vs Pixels for Online Application Forms Explained (With Conversion Math)

Understand the difference between pixel dimensions and DPI metadata labels, how to convert millimeters and centimeters to pixels at 200 or 300 DPI, and what web portals actually validate.

Author: Himayat Ur RehmanPublished: Last verified:

Why “3.5 cm × 4.5 cm at 200 DPI” Confuses Applicants

Many recruitment and university exam instructions were originally written for flatbed scanners in the early 2000s. You will frequently see instructions asking you to scan a 3.5 cm × 4.5 cm photograph or 6 cm × 2 cm signature at 200 DPI in JPG format under 50 KB.

When you capture a photo with a smartphone instead of a flatbed scanner, your image does not have a physical paper size in centimeters — it has pixels (for example, 3000 × 4000 px).

DPI (Dots Per Inch) or PPI (Pixels Per Inch) is the bridge between a physical ruler measurement (inches, centimeters, millimeters) and a digital grid of pixels. Because 1 inch equals exactly 25.4 millimeters (2.54 cm), the conversion formula is:

pixels = Math.round((millimeters / 25.4) × DPI)

Worked Conversion Table: Common Physical Dimensions at 200 DPI vs 300 DPI

Document TypePhysical SizePixels at 200 DPIPixels at 300 DPI
Standard Passport / Exam Photo35×45 mm (3.5×4.5 cm)276 × 354 px413 × 531 px
US Square Passport / Visa Photo2×2 in (50.8×50.8 mm)400 × 400 px600 × 600 px
Canada IRCC Passport / PR Photo50×70 mm (5.0×7.0 cm)394 × 551 px591 × 827 px
Small Signature Box60×20 mm (6.0×2.0 cm)472 × 157 px709 × 236 px
4×6 Inch Print Sheet4×6 in (101.6×152.4 mm)800 × 1200 px1200 × 1800 px

You do not need to compute these numbers manually: in our Image Resizer, select mm, cm, or in, enter your width, height, and DPI, and the tool calculates the exact target pixel grid automatically.

Pixel Dimensions vs the DPI Header Label Inside JPEG/PNG Files

There is an important technical distinction between resizing pixels and changing the DPI metadata label:

  • Pixel Dimensions (width × height in pixels): Almost all online application portals inspect the decoded image canvas width and height in pixels (for example, 600 × 600 px on digital visa applications) along with the file size. Changing the DPI header label alone does not alter pixel count or file size.
  • Header DPI Metadata (JFIF density / EXIF XResolution / PNG pHYs):
    • In JPEG JFIF v1.02 specifications, the APP0 marker defines density units (1 = dots per inch) alongside 16-bit Xdensity and Ydensity integers: "Xdensity: Horizontal pixel density. Ydensity: Vertical pixel density."
    • In the W3C PNG specification, the pHYs chunk defines physical pixel dimensions: "The pHYs chunk specifies the intended pixel size or aspect ratio for display of the image... Pixels per unit, X axis: 4 bytes... Unit specifier: 1 byte (1: unit is the metre)." DPI is converted to pixels per metre by round(DPI / 0.0254).

A small number of specialized portal upload forms read these binary headers and reject an image if the density tag does not read 200 or 300. If a portal rejects an image that already has the exact required pixel dimensions with a message specifically stating “Resolution must be 200 DPI”, you can use FormFitKit's Change Image DPI Tool to losslessly patch the JFIF, EXIF, or PNG header tags without re-compressing your image pixels.