Compress Passport Photo Under 240KB: Exact Fix Steps
To compress passport photo under 240kb, keep your image at 600x600 pixels and lower the JPEG quality factor to between 80% and 88%. This reduces file size to 80–160KB without triggering digital artifact errors or failing official biometric passport checks.
Online passport and visa portals—such as the US Department of State DS-160 visa portal, the Diversity Visa lottery system, and online passport renewal systems—enforce a strict file size ceiling of 240 kilobytes (245,760 bytes). When a raw smartphone photo reaches 3MB to 12MB, the portal rejects the upload instantly.
Reducing this file size without triggering a secondary rejection requires balancing pixel dimensions, color profiles, and compression. Shrinking pixel dimensions below 600x600 pixels causes the system to flag incorrect resolution, while compressing below 30% quality creates blocky artifacts that ruin facial edge detection.
Why passport photos exceed the 240KB file size limit
Modern smartphone cameras capture images at 12 to 48 megapixels, producing raw JPEG files between 3MB and 15MB. Even after cropping, a high-resolution export retains excessive pixel data, metadata, and preview thumbnails that push the file over 240KB.
| Metric | Official US Spec | Recommended Safe Target |
|---|---|---|
| Maximum File Size | 240 KB (245,760 B) | 90 KB – 180 KB |
| Minimum Dimension | 600 x 600 pixels | 600 x 600 pixels (1:1 square) |
| Maximum Dimension | 1200 x 1200 pixels | 600 x 600 pixels |
| Color Depth | 24-bit RGB (sRGB) | 24-bit sRGB (8 bits per channel) |
| File Format | JPEG (.jpg) | Baseline standard JPEG |
| Compression Ratio | <= 20:1 | 10:1 to 15:1 (82–88% quality) |
The US limit is 240 KB: the State Department’s digital image rules cap the file at 240 KB, so a file over that limit is rejected on upload. Aim well under it — the safe target in the table above is 90–180 KB.
The rules also cover dimensions: the image must measure between 600x600 pixels and 1200x1200 pixels. Shrinking the photo to 300x300 pixels passes the 240KB test but fails the resolution test. You must solve file size through image re-encoding, stripping EXIF metadata, and adjusting JPEG quantization.
Technical fixes versus source and physical fixes
Fixing a rejected passport photo falls into two categories: technical file adjustments and physical composition changes.
| Technical Fixes (Browser-Solvable) | Source/Physical Fixes (Must Retake) |
|---|---|
| File size > 240 KB | Eyeglasses or tinted lenses worn |
| Dimensions != 600x600 px | Uneven shadows on face or background |
| File format is PNG, HEIC, or WEBP | Tilted head or smiling expression |
| Color profile is CMYK instead of sRGB | Background is off-white or patterned |
| Embedded GPS / EXIF bloating file | Head height < 50% or > 69% of frame |
Technical errors can be resolved in your browser without uploading private documents to remote servers. Using a client-side tool like our image resizer or image compressor keeps your image in local memory while it is cropped, converted to sRGB, and compressed.
Physical rejections cannot be fixed through compression. If you wore glasses or cast shadows behind your ears, you must retake the photo. Review our passport photo with glasses rules before exporting.
Step-by-step workflow to compress your photo under 240KB
Step 1: Crop to a 1:1 square aspect ratio
A compliant US passport photo must be square. Use a crop image tool to center your face. Eyes must sit between 56% and 69% from the bottom edge, and head height must occupy 50% to 69% of the frame.
Step 2: Set pixel dimensions to 600x600
Scale the cropped image to 600x600 pixels. While up to 1200x1200 pixels is allowed, larger dimensions push file sizes closer to 240KB. See our guide on how to resize photo to 600x600 pixels for desktop workflows.
Step 3: Convert color profile to sRGB
Ensure your image uses 24-bit sRGB color. Avoid CMYK, grayscale, or 16-bit profiles. If you shot on an iPhone, convert from HEIC first using our HEIC to JPG converter.
Step 4: Adjust JPEG quality to reach 90KB–180KB
Export as a standard JPEG at roughly 85% quality. This strips sensor bloat while keeping facial edges sharp. Aim for 90KB to 180KB to leave a safe buffer below 240KB.
| JPEG Quality (%) | Approx. File Size | Consular Portal Outcome |
|---|---|---|
| 100% Quality | 450 KB – 900 KB | Hard Reject (Exceeds 240 KB) |
| 95% Quality | 230 KB – 290 KB | High Risk (Borders 240 KB limit) |
| 85% Quality | 110 KB – 160 KB | Ideal Target (Safe & Sharp) |
| 75% Quality | 70 KB – 95 KB | Acceptable (Meets all rules) |
| Below 50% Quality | 25 KB – 40 KB | High Risk (Blocky Artifacts) |
To automate all four steps in one browser-side operation, use the us visa photo resizer.
Mathematical breakdown of passport photo compression
An uncompressed 24-bit digital image has a base size calculated from raw pixel data:
$$\text{Raw Bytes} = \text{Width} \times \text{Height} \times \left(\frac{\text{Bit Depth}}{8}\right)$$
For a 600x600 passport photo at 24-bit color depth:
$$\text{Raw Bytes} = 600 \times 600 \times 3 = 1,080,000 \text{ bytes} \approx 1,054.69\text{ KB}$$
To reach the 240KB (245,760 bytes) limit, the image requires a minimum compression ratio of:
$$\text{Minimum Compression Ratio} = \frac{1,054.69\text{ KB}}{240\text{ KB}} \approx 4.39:1$$
US Department of State guidelines state that JPEG compression ratios should not exceed 20:1, as higher ratios cause visible block artifacts.
Calculated example: Compressing a high-resolution export
- Inputs: 1200x1200 pixels, 24-bit sRGB ($4,320,000\text{ bytes} \approx 4,218.75\text{ KB}$).
- Step 1 (Downscale to 600x600): Raw byte total drops to $600 \times 600 \times 3 = 1,080,000\text{ bytes}$.
- Step 2 (Apply 85% JPEG quality / ~10:1 ratio): Compressed payload is $\frac{1,080,000}{10} = 108,000\text{ bytes}$.
- Step 3 (Add JPEG header overhead): $108,000 + 600 = 108,600\text{ bytes}$.
- Step 4 (Convert to KB): $\frac{108,600}{1,024} \approx 106.05\text{ KB}$.
At 106.05KB, the file is safely under 240KB and well below the 20:1 artifact limit.
Verified real-world data: Official system specifications
| Country / Portal | Pixel Dimensions | Max File Size | Official Format |
|---|---|---|---|
| US (DS-160 / DV) | 600x600 to 1200x1200 | 240 KB | JPEG (sRGB) |
| UK Online HMPO | 900x1200 minimum | 10 MB | JPEG |
| Canada Digital | 715x1000 minimum | 4 MB | JPEG or PNG |
| Schengen Visa | 413x531 (at 300 DPI) | Typically 2 MB | JPEG |
US Department of State (Bureau of Consular Affairs): Digital passport and visa photos must be square (1:1), 600x600 to 1200x1200 pixels, 24-bit RGB, and under 240KB with compression ratios no higher than 20:1. Source: US Department of State (Last verified: 2026-11-27).
UK HM Passport Office: Online UK passport photos must measure at least 900x1200 pixels with a file size between 50KB and 10MB. Source: UK Government (GOV.UK) (Last verified: 2026-11-27).
For international conversions, see our photo size in pixels chart mm to pixels and guides for UK passport photo size in pixels, Canada passport photo size in pixels, and Schengen visa photo 35x45mm pixels.
Common mistakes and edge cases to avoid
- Progressive JPEG encoding: Older consular portals, including DS-160, often fail to read progressive JPEGs. Always export as baseline standard JPEG.
- Bloated EXIF metadata: Smartphone photos embed GPS tags, device serials, and preview thumbnails that add 20KB to 80KB. Strip metadata during export.
- Over-compressing below 50%: Compressing down to 15KB–20KB introduces blocky noise along the jawline and nose, triggering automated quality rejections. Read our guide on ds-160 photo rejected reasons for more details.
- Sending it through a chat app. WhatsApp and Messenger recompress pictures and lower the quality. Edit the original, not the copy someone sent you.
- Taking a screenshot. Screenshots are PNG files and have the wrong size.
- Photographing a printed photo. You get glare and a slight tilt, and the form may reject it.
- Resizing twice. Every re-save loses a little quality. Resize once, from the original.
Preparing passport photos at home
Stand 4 to 6 feet away from the camera lens to avoid wide-angle distortion, and have someone use the rear camera under balanced daylight against a plain white wall. Review our tutorial on how to take passport photo at home with phone.
For federal submissions, see us passport photo requirements online upload. For supporting documents, use our JPG to PDF, PDF to JPG, or compress PDF under 2MB tools.
DV Lottery entrants
The Diversity Visa entry uses the same digital photo limits as the passport — square 600x600 to 1200x1200 JPEG under 240 KB — but the entry window and rules are announced each year. Read the current instructions on the official Diversity Visa program site before you submit. Only one entry per person is allowed.
The order that saves you time
- Take the photo against a plain wall.
- Resize and compress once, with the tool.
- Check the size on your device.
- Upload it.
Frequently asked questions
Why does the US Department of State require passport photos under 240KB?
The US Department of State sets a 240KB file limit on DS-160 and passport renewal portals to prevent server timeouts and standardize facial recognition processing across millions of digital submissions.
Can I resize a passport photo below 600x600 pixels to make it under 240KB?
No. The US portal automatically rejects images smaller than 600x600 pixels or larger than 1200x1200 pixels. Keep dimensions at 600x600 pixels and lower the JPEG compression quality instead.
Does saving a passport photo as PNG keep it under 240KB?
No. Most official portals reject PNG uploads outright. They mandate baseline or progressive JPEG files in 24-bit sRGB color space.
Final tip for a clean upload
Before uploading, right-click your file and check Properties (Windows) or Get Info (macOS). On iPhone, open Files, press and hold the picture and tap Get Info; on Android, open the file in Files and look at Details. Confirm the file size is under 240KB (245,760 bytes) and the dimensions read 600x600 pixels. Verifying these two numbers prevents portal errors and keeps your application on schedule.
If your source photo is HEIC, convert it to JPEG first — most government upload pages do not accept HEIC. New iPhones save HEIC by default; go to Settings, then Camera, then Formats, and pick Most Compatible for future shots, or convert existing files with our HEIC to JPG converter. When the resizer redraws your picture and saves it as a new JPEG, hidden phone metadata such as time and location is not copied over, and the file never leaves your device.
Frequently asked questions
Why does the US Department of State require passport photos under 240KB?
The US Department of State sets a 240KB file limit on DS-160 and passport renewal portals to prevent server timeouts and standardize facial recognition processing across millions of digital submissions.
Can I resize a passport photo below 600x600 pixels to make it under 240KB?
No. The US portal automatically rejects images smaller than 600x600 pixels or larger than 1200x1200 pixels. Keep dimensions at 600x600 pixels and lower the JPEG compression quality instead.
Does saving a passport photo as PNG keep it under 240KB?
No. Most official portals reject PNG uploads outright. They mandate baseline or progressive JPEG files in 24-bit sRGB color space.