Skip to main content
Image Tools 8 min read

Passport and Visa Photo Size Requirements: Pixels, DPI and File Size Limits

Passport and visa photo rules explained: print size versus pixels, why 50KB or 100KB limits exist, and how to hit them without blurring the face.

Updated 2026-10-02

A passport photo has to pass two checks that have nothing to do with each other. The first is geometry: print size, aspect ratio, and how much of the frame the head fills. The second is file size: 50KB, 100KB, 240KB, whatever the form says. A photo can be cropped perfectly and still be refused for weighing 512KB, and small enough to upload yet refused because the face is a dot in the middle of it.

This guide covers what actually causes failed uploads: how millimetres, pixels and DPI relate, which numbers an upload system really reads, the specs used for US, UK, Schengen, Chinese and Indian applications, and how to compress to a hard byte limit without losing a recognisable face.

Two independent checks

Photo requirements read like one long list, but they fall into three groups.

  • Geometry: print size, pixel dimensions, aspect ratio, and the size and position of the head in the frame.
  • File properties: format (usually JPEG), colour mode (24-bit RGB, not CMYK or greyscale) and the file-size range, which may have a floor as well as a ceiling.
  • Content: neutral expression, eyes open, plain light background, no glasses in many countries, no head covering except for religious reasons, no shadows, nothing added.

If a portal says only invalid file, the cause is usually in the second group. Check the real file type and the byte count before re-cropping anything.

Millimetres, pixels and DPI: how the numbers connect

A digital photo has no physical size, only a pixel grid and a byte count. Physical size appears when you decide how densely to pack those pixels onto paper, and that density is DPI, dots per inch. The conversion is pixels = (millimetres / 25.4) x DPI.

The same print size at two output resolutions
Print sizeAt 300 DPIAt 600 DPI
35 x 45 mmabout 413 x 531 pxabout 827 x 1063 px
51 x 51 mm (2 x 2 in)about 602 x 602 pxabout 1205 x 1205 px
33 x 48 mmabout 390 x 567 pxabout 780 x 1134 px

The DPI value inside a JPEG is a note to the printer, not image data. It adds no pixels. Two files holding 600 x 600 pixels contain the same image information whether one is tagged 72 DPI and the other 300 DPI, and a web form treats them identically. A print shop does not: at 72 DPI it spreads those pixels over about 21 cm, at 300 DPI over about 5 cm.

Re-encoding a JPEG through a browser canvas, as most in-browser compressors do, drops EXIF metadata including the DPI tag. The pixels survive. Harmless for an upload, but a reason to keep the original if you also need a printed copy.

Common specifications for major applications

These are the specs most often quoted for the big applications. Treat the file-size column as orientation, not as a contract: online forms, paper forms and consulates for the same country can differ, and several of the ranges above have a lower bound as well as an upper one.

Widely used photo specs; always confirm against the official source for your application
ApplicationCommon print sizeTypical pixelsCommon file size
US visa (DS-160)51 x 51 mm (2 x 2 in)600 x 600 px, up to 1200 x 1200 pxJPEG; file must be 240KB or less
US passport, online renewal51 x 51 mm (2 x 2 in)at least 600 x 600 pxJPG/PNG/HEIC; official range 54KB to 10MB — too small is also rejected
UK passport35 x 45 mmdigital photos: at least 600 x 750 pxofficial range: at least 50KB, maximum 10MB
Schengen visa35 x 45 mmabout 413 x 531 px at 300 DPIvaries by consulate; 50KB and 100KB ceilings are common
Chinese visa, digital photo33 x 48 mm for the printed photo354 x 472 px minimum, 420 x 560 px maximumtypically 40KB to 120KB, JPEG
Indian visa (online form)square, 51 x 51 mm (2 x 2 in)square; the pixel range is stated on the formofficial range: 10KB to 300KB, JPEG

Print size is only half of the geometry. Most systems also state how large the head must be: roughly 25 to 35 mm from chin to crown for a US photo, roughly 32 to 36 mm in many Schengen countries. A photo can measure exactly 35 x 45 mm and still be rejected because the face sits small in the middle.

Digital requirements are not always the print size converted at 300 DPI. The UK digital photo is specified as a pixel minimum, and the Chinese digital photo has its own pixel window. Take pixel numbers from the digital form, millimetre numbers from the print guidance.

Why online forms cap photos at 50KB or 100KB

These ceilings date from when the forms were built: storage was expensive, connections were slow, and a system receiving a million applications could not afford multi-megabyte photos. The limits were copied from system to system and outlived their reason. A 50KB ceiling is still a useful spot: cheap to store, yet large enough for a recognisable face if the crop is right.

The trap is that not every rule is a ceiling. Some are ranges. Compress a photo to 18KB and you can fail an application whose minimum is 50KB. Read the rule before you compress.

  • Ceiling only: aim just under it, because two programs can disagree about the same file by a few hundred bytes.
  • Range: aim for the middle, not the floor.

Compressing to a hard limit without losing the face

Order of operations matters more than any slider. Crop first, compress last, and start again from the original.

  • Crop to the required pixel size first. Compressing a 12 megapixel photo to 50KB and then cropping it wastes the quality you just paid for.
  • Cut those pixels yourself first instead of leaving it to the compressor. The compressor here has target-size and quality modes; in target-size mode it binary-searches JPEG quality at full resolution first, and only if the target stays out of reach does it step down through smaller dimensions, down to 20% of the original, keeping the largest result that fits.
  • Use JPEG for a face. PNG is lossless, so a portrait saved as PNG will not reach 50KB until shrunk to something useless. Auto mode picks JPEG for photos and keeps PNG only for transparency.
  • Never re-compress a file you already compressed. Keep the master and redo the pass from it.
  • Leave a margin. These tools target 5% under your number, so 50KB lands near 47KB, and they report whether the target was reached.
  • Convert HEIC properly. Renaming an iPhone HEIC to .jpg does not convert it. Decode to JPEG first.

A five-minute workflow

  1. Write down four numbers for your application: print size, pixel size, background and colour rule, and the file-size range.
  2. Crop the original to the required aspect ratio and head size, then export at the required pixel dimensions.
  3. Export at high JPEG quality and keep that file as the master.
  4. Open a target-size compressor, enter the ceiling in KB, compress, and check that the target is reported as reached.
  5. Verify the byte count and the real file type of the download, then upload it. Take the master, not the compressed copy, to a print shop.

Mistakes that get photos rejected

  • Photographing a printed photo or a screen. It adds glare, colour cast and interference patterns, and most authorities forbid it.
  • Using a close-range wide-angle selfie, which distorts facial proportions and rarely gives a plain background.
  • Renaming a HEIC file to .jpg. The name changes, the data does not.
  • Adding a border, date stamp or watermark.
  • Compressing far below the limit to be safe, when the form also has a minimum.
  • Sending the compressed upload copy to a print shop; it was tuned for a form, not for paper.
  • Reusing one country's spec for another. A 35 x 45 mm Schengen photo and a 51 x 51 mm US photo are not interchangeable.

Almost every photo rejection comes down to two numbers that are easy to get right: the pixel dimensions and the byte count. Fix the crop first, then compress with a target-size mode instead of dragging a quality slider. If the geometry is already correct and only the weight is the problem, the 50KB and 100KB image compressors on this site run the engine described above in target-size mode with a 5% margin, and the file never leaves your device.

Frequently asked questions

Is 50KB enough for a passport photo?

Usually yes, because the ceiling is about bytes, not about how much face is visible. Faces tolerate JPEG compression well, and a properly cropped 600 x 600 photo at around 47KB still passes automated checks. What fails is a file that was shrunk to 200 x 200 pixels to satisfy the byte limit, because that loses real detail.

Does DPI matter when I upload a photo?

Almost never. Online forms read pixel dimensions and byte count. DPI is a printing instruction stored in metadata, and re-encoding usually removes it anyway. It matters when you print the photo, and to print shops, not to web forms.

Why does the portal reject a file that is clearly a JPEG?

Check three things. The extension may not match the content, which is what happens when a HEIC is renamed; the file may be below a pixel or byte minimum that the form silently enforces; or the colour mode may be wrong, for example greyscale or CMYK where RGB is required.

Can I just resize the photo to the exact pixel size and upload it?

Only if the resized file also fits the byte range. Resizing to 600 x 600 often produces a file well under the ceiling, but a detailed photo at that size can still be over it. Resize first, then compress with a target size, and check the result.

Will compressing a photo to 50KB make the face unrecognisable?

Not if you start from a correctly cropped original and let the compressor trade resolution and quality in a sensible order. The risk is not compression itself but over-compression of a badly cropped photo, which is what produces a soft, tiny face that both examiners and automatic checks reject.

Tools used in this guide

Compress Image to 50KB

Compress photos to exactly 50KB online free. Shrink JPG, PNG or WebP to 50KB for forms, uploads and email — done in your browser, private and instant.

Compress Photo to 50KB

Compress photos to exactly 50KB online free. Resize and compress JPG, PNG photos to 50KB for web forms, uploads and email — private, in-browser, no upload.

Compress Image to 100KB

Compress JPG, PNG or WebP images to exactly 100KB online free. Reduce photo size to 100KB for forms, portals and email — no upload, processed entirely in your browser.

Compress HEIC to 50KB

Compress HEIC photos to 50KB online free. Reduce iPhone HEIC image size for forms, uploads and email. Browser-based, no upload.

Compress HEIC to 100KB

Compress HEIC photos from iPhone to exactly 100KB online free. Convert HEIC to JPG while reducing size for forms, uploads and email attachments. Private, no upload.

Compress JPEG to 100KB

Compress JPEG to exactly 100KB online free. Shrink JPG photo size to 100KB for forms, email and web uploads — browser-based, private, no watermark.

Compress PNG to 50KB

Compress PNG to exactly 50KB online free. Shrink PNG file size for fast web loading while preserving transparency. Perfect for mobile optimization and AMP pages.

Compress PNG to 100KB

Compress PNG images to exactly 100KB online free. Reduce PNG file size while keeping transparency for logos, screenshots and UI design. In-browser, no upload.

Compress Image to 20KB

Compress images to exactly 20KB online free. Reduce JPG, PNG or WebP file size to 20KB for strict upload caps and small thumbnails — instant, in-browser, no upload.

Compress PNG to 20KB

Compress PNG to 20KB online free. Ultra-small PNG compression for favicons, app icons and emoji. Keep transparency while minimizing file size.

More guides