Fun Fat Studios mark Fun Fat Studios
article Privacy & Files Published · 6 min read

35×45 mm, 2×2 Inch, and A4 in Pixels at 300 DPI: Complete Portal Dimension Cheat Sheet

Convert 35×45 mm (413×531 px), 2×2 in (600×600 px), A4 (2480×3508 px), and US Letter at 150, 300, and 600 DPI with an offline portal pixel calculator.

Quick Answer · Key Takeaways

To convert physical portal dimensions to pixels, multiply (millimetres ÷ 25.4) × DPI and round cleanly. At the standard 300 DPI print density, 35×45 mm equals 413×531 px, 2×2 inches equals 600×600 px, A4 (210×297 mm) equals 2480×3508 px, and US Letter equals 2550×3300 px. Digital uploads ignore DPI metadata unless pixel dimensions match.

  • Exact conversion formula: pixels = Math.round((millimetres ÷ 25.4) × DPI), or inches × DPI directly.
  • At 300 DPI: 35×45 mm = 413×531 px, 2×2 inches = 600×600 px, A4 = 2480×3508 px, US Letter = 2550×3300 px.
  • Beware of mixing 51 mm with exact 2 inches (50.8 mm): 51 mm at 300 DPI rounds to 602×602 px, whereas exact 2×2 inches equals 600×600 px.
  • Test any custom width, height, and DPI live below using our zero-upload Portal Calculator before resizing in UploadReady.

Upload forms love mixing physical ruler units with digital screen requirements: “Submit 35 × 45 mm at 300 DPI”, “Upload 2 × 2 inches”, or “Scan certificate at A4 150 DPI under 500 KB.” Computers, however, do not store photographs in millimetres—every JPEG only has width in pixels and height in pixels.

Fortunately, converting any ruler measurement to exact pixels uses one simple formula:

pixels = Math.round((millimetres ÷ 25.4) × DPI) (or inches × DPI, since 1 inch = 25.4 mm)

Complete Portal Dimension Cheat Sheet (150, 300 & 600 DPI)

Keep this reference handy whenever an application states physical dimensions without telling you the pixel equivalent:

Standard Format Physical Size 150 DPI (Web / Light Scan) 300 DPI (Standard Print / Portal) 600 DPI (High-Detail Print)
EU / Schengen / India Passport 35 × 45 mm 207 × 266 px 413 × 531 px 827 × 1063 px
US Passport / Visa (2×2 in) 50.8 × 50.8 mm (2 × 2 in) 300 × 300 px 600 × 600 px 1200 × 1200 px
Metric Rounded Square (51×51 mm) 51 × 51 mm 301 × 301 px 602 × 602 px 1205 × 1205 px
Compact ID / Badge 30 × 40 mm 177 × 236 px 354 × 472 px 709 × 945 px
Canadian Passport 50 × 70 mm 295 × 413 px 591 × 827 px 1181 × 1654 px
ISO A4 Document 210 × 297 mm 1240 × 1754 px 2480 × 3508 px 4961 × 7016 px
US Letter Document 215.9 × 279.4 mm (8.5 × 11 in) 1275 × 1650 px 2550 × 3300 px 5100 × 6600 px

Use the live Portal Photo Calculator below this article to punch in any custom millimetre size and DPI instantly in your browser (zero files needed).

Three dimension traps that reject portal uploads

1. Don’t confuse digital pixel minimums with print conversions

For example, UK paper passport photos measure 35 × 45 mm (413 × 531 px at 300 DPI), yet GOV.UK’s digital upload portal enforces a minimum of 600 × 750 px. Always read whether a rule applies to digital uploads or printed paper cutouts before shrinking pixels below 600 px.

2. Watch out for 50.8 mm vs 51 mm on strict US portals

2 inches equals 50.8 mm (600 × 600 px at 300 DPI). Entering 51 mm rounds to 602 × 602 px. While US DS-160 accepts 600 × 600 px through 1200 × 1200 px, portals that require exact 600 × 600 pixel counts will reject 602 × 602 px. Always enter exact pixel numbers when a digital portal provides them.

3. Resize without stretching—crop or add a border instead

If your original camera portrait is 3:4 (3000 × 4000 px) and you need a 1:1 (600 × 600 px) square or 7:9 (35 × 45 mm) frame, never force-stretch width and height independently. In UploadReady, pick crop to ratio (when you have wall margin to trim) or add a border (if trimming cuts close to ears or shoulders), resize to the exact pixel target, and compress to the stated KB ceiling once.

Step-by-step workflow in UploadReady

  1. Compute exact pixels: Look up your format in the table above or use the live calculator below.
  2. Crop/resize cleanly in UploadReady: Set exact width/height or max long edge offline—your original gallery photo stays untouched.
  3. Enter the portal’s KB limit: Let UploadReady search for the highest visual quality underneath that ceiling while automatically stripping GPS EXIF metadata.
  4. Verify decoded dimensions & bytes: Confirm the review screen reports the exact pixel width, pixel height, true format, and safe byte count before submitting.

When to use something else

  • When printing multi-copy 4×6 photo sheets for physical passport offices: UploadReady exports clean exact-dimension files and combines photos into A4/Letter PDFs, yet does not generate multi-tile 4×6 photo-kiosk print grids—use a print lab or dedicated sheet-layout utility for physical cutting.
  • When you need official composition validation (head percentage / chin-to-crown ratio): UploadReady verifies pixel dimensions, format, and byte limits only; consult your country’s issuing agency instructions for framing rules.
  • On iPhone or desktop: Fun Fat Studios apps run on Android; macOS/Windows users can compute pixels with our browser widget below and resize locally in Preview or GIMP.

Get UploadReady on Google Play or inspect our privacy notice.

Interactive Tool · Zero Upload

Portal Photo mm / DPI → Pixels Calculator

Powered by UploadReady →
Exact Pixel Dimensions
413 × 531 px
Typical Crisp JPEG
~51 KB · Fits 200 KB easily
Formula: (mm ÷ 25.4) × DPI · Aim for 190 KB on strict 200 KB portals (decimal 200,000 B check).
FAQ

Questions people ask

What is 35 mm by 45 mm in pixels at 300 DPI?

At 300 DPI, 35 mm × 45 mm equals 413 × 531 pixels (computed via (35 ÷ 25.4) × 300 = 413.39 and (45 ÷ 25.4) × 300 = 531.50). At 600 DPI, it doubles to 827 × 1063 pixels. Always check whether a digital portal actually wants higher pixel minimums (for example, GOV.UK online passports require at least 600 × 750 px, not 413 × 531 px).

What is 2×2 inches in pixels?

At standard 300 DPI print density, 2 × 2 inches equals 600 × 600 pixels (2 × 300). At 600 DPI it equals 1200 × 1200 pixels—matching the exact 600×600 px minimum and 1200×1200 px maximum range used by US DS-160 and USCIS digital photo portals.

What is A4 paper size in pixels at 300 DPI?

Standard ISO A4 paper measures 210 × 297 mm, which converts to 2480 × 3508 pixels at 300 DPI, 1240 × 1754 pixels at 150 DPI, or 4961 × 7016 pixels at 600 DPI.

Does changing the EXIF DPI number without resizing pixels make a portal accept my image?

No. Almost all online visa, job, and school upload portals inspect actual decoded pixel width and height rather than the DPI metadata tag stored inside a JPEG header. Use the formula above to set real pixel dimensions in UploadReady, then compress to the portal's KB ceiling.

All blog posts →