Compressing an image to 3MB: what to expect
With 3 MB (3,000,000 bytes) there is room for almost any phone photo at full resolution: 19 of our 20 kept every pixel, and the median JPG quality was 87.5. Only the 48 MP Moscow photo was scaled, to 6539 × 4904, two thirds of its pixels.
The verified 3 MB limit is the Thailand e-Visa upload for photos and documents, and nearby ones are photo uploads for New Zealand visas (up to 3.14 MB) and Australian visas (up to 3.5 MB). The decision at this size is mostly whether to touch the photo at all: seven of our originals were already under 3 MB, an eighth fitted once its metadata was gone, and none of those eight was re-encoded.
Our test: 44 real photos compressed to 3MB
All 20 fit, at a median of 2904.9 KB and SSIM 0.999, the lowest 0.996. Eight came back as their own JPG minus metadata, so they used only part of the budget: the iced coffee, for example, is 1920.3 KB.
Those eight were the simple scenes: the wooden church, the cemetery, the lake, the navy ship, the stone tower, the rally crowd, the tower at night and the iced coffee. The savings ranged from 1.5 KB on the wooden church to 1.88 MB on the iced coffee. The median photo took 2.2 s and the slowest 7.0 s.
Method: each photo went through this page in Chromium on an Apple M2 Mac. 3MB means 3,000,000 bytes, so the result passes whether a site counts a KB as 1,000 or 1,024 bytes. Figures are medians. SSIM compares the result with the original at 1080 px wide, about what a phone screen shows (1.000 = identical). How we test.
| Photos | Under 3MB | File size | Width | Pixels kept | JPG quality | SSIM | Time |
|---|---|---|---|---|---|---|---|
| iPhone photos, 12–48 MP | 20 of 20 | 2.9 MB | 4032 px | 100% | 88 | 0.999 (lowest 0.996) | 2.2 s |
| Web-size photos, 768 × 512 | 24 of 24 | 155.9 KB | 768 px | 100% | 95 | 0.987 (lowest 0.979) | 1.0 s |
Last updated
Every phone photo at 3MB
All 20 photos from our test set, so you can find one like yours. Quality is the JPG quality the tool settled on; when it would have dropped below 50, the photo was scaled down instead. A JPG that already fitted was returned unchanged apart from its metadata, so its quality is the phone's own setting.
| Photo | Original | Result | Size | Quality | SSIM |
|---|---|---|---|---|---|
| Barcelos, Vila Boa e Vila Frescainha (São Martinho e São Pedro) - Igreja de Nossa Senhora do Terço 01 | 3024 × 4032, 5.5 MB | 3024 × 4032 | 3.0 MB | 80 | 0.998 |
| Bloki na ulicy Goszczynskiego Sosnowiec Środula 02 | 4032 × 3024, 9.7 MB | 4032 × 3024 | 2.92 MB | 86 | 0.996 |
| Boston Basilica interior 02 | 5425 × 4063, 4.0 MB | 5425 × 4063 | 2.98 MB | 80 | 0.999 |
| -i---i- (54245759081) | 3024 × 4032, 3.8 MB | 3024 × 4032 | 1.92 MB | 94 | 1.000 |
| Carinda Roman Catholic Church 09-08-2024 | 3530 × 2667, 1.5 MB | 3530 × 2667 | 1.48 MB | 90 | 1.000 |
| China Merchants Bank Building in Shanghai at night 02 | 3024 × 4032, 2.7 MB | 3024 × 4032 | 1.89 MB | 94 | 1.000 |
| 8787 Georgia Avenue 09 | 5074 × 3781, 4.0 MB | 5074 × 3781 | 2.97 MB | 80 | 0.998 |
| -i---i- (51970200648) | 4032 × 3024, 5.6 MB | 4032 × 3024 | 2.68 MB | 94 | 0.998 |
| 20230807 145136 August 2023 in Białystok | 3024 × 4032, 1.5 MB | 3024 × 4032 | 1.53 MB | 89 | 1.000 |
| 'One Old Road' (1 Old Road) with windows and a high brick wall, viewed from Old Road in Chatham, Kent | 4588 × 3347, 13.6 MB | 4588 × 3347 | 2.96 MB | 68 | 0.996 |
| Moscow 2025-11-20 05 | 8064 × 6048, 26.0 MB | 6539 × 4904 | 2.99 MB | 54 | 0.997 |
| Parks Mall at Arlington Atrium (2024) | 5712 × 4284, 13.6 MB | 5712 × 4284 | 2.95 MB | 77 | 0.998 |
| BorNE.DOMB-LEPA.v-02 | 2268 × 4032, 4.8 MB | 2268 × 4032 | 2.89 MB | 91 | 0.998 |
| 20230806 191612 August 2023 in Białystok | 4032 × 3024, 1.4 MB | 4032 × 3024 | 1.38 MB | 89 | 1.000 |
| Caltabellotta - Chiesa di San Pellegrino - 2025-08-29 ruins | 4032 × 3024, 4.4 MB | 4032 × 3024 | 3.0 MB | 86 | 0.999 |
| Operação Lais de Guia GLO 2023 (53316687826) | 4032 × 3024, 1.7 MB | 4032 × 3024 | 1.65 MB | 92 | 1.000 |
| Aulangon näkötorni heinäkuussa 2023 | 2268 × 4032, 2.8 MB | 2268 × 4032 | 2.54 MB | 94 | 1.000 |
| Buca metrosu temel atma töreni 02 | 4032 × 3024, 2.0 MB | 4032 × 3024 | 2.03 MB | 93 | 1.000 |
| 39 Harleyford Road | 3024 × 4032, 4.7 MB | 3024 × 4032 | 2.98 MB | 83 | 0.999 |
| Atlas apartment high-rise (Vuotie 47 B, Vuosaari, Helsinki, Finland) Mar 28, 2026 | 3731 × 6636, 4.3 MB | 3731 × 6636 | 2.97 MB | 82 | 0.996 |
Last updated
JPG vs WebP vs AVIF at 3MB
None of the three formats needed the whole 3 MB on the six test photos, so this measures where each stops at its top quality: JPG at a median 2538 KB (SSIM 0.998), WebP 2151 KB (0.997) and AVIF 2380 KB (0.997). JPG took 1.2 s, WebP 11.5 s and AVIF 50 s. Thailand's e-Visa asks for JPEG or PDF anyway.
Same method, on 6 of the phone photos: the highest quality that fits, scaling down only when quality would drop below 50. WebP and AVIF were encoded with libwebp and libavif in the browser.
| Format | Under 3MB | Width | Pixels kept | SSIM | File size | Encode time |
|---|---|---|---|---|---|---|
| JPG | 6 of 6 | 3024 px | 100% | 0.998 | 2.54 MB | 1.2 s |
| WebP | 6 of 6 | 3024 px | 100% | 0.997 | 2.15 MB | 11.5 s |
| AVIF | 6 of 6 | 3024 px | 100% | 0.997 | 2.38 MB | 50.1 s |
Last updated
Where you'll meet a 3MB limit
The 3 MB limit below is Thailand's e-Visa, where photos and supporting documents are uploaded as JPEG or PDF. Close to it, New Zealand accepts visa and NZeTA photos between 512 KB and 3.14 MB, and Australia's ImmiAccount takes visa photos from 70 KB to 3.5 MB, preferring 1200 × 1600 pixels. A 3 MB result fits both.
The UK passport service names 3 MB as the ideal size for a photo-code photo, within its 50 KB to 10 MB range.
- Royal Thai Embassy, Washington D.C. (Thailand e-Visa): Photo and documents uploaded to the Thailand e-Visa system for a tourist visa (maximum). “The following documents must be uploaded in the E-visa system in large and clear JPEG or PDF format (the file size must not exceed 3MB)” Royal Thai Embassy, Washington D.C.: Tourist Visa (single entry)
Tips for getting a good image at 3MB
- Look at the file size before compressing. For a JPG under 3 MB, the only thing this page would change is its metadata.
- For an Australian visa photo, resize to 1200 × 1600 with Resize image; it will then be far below 3.5 MB.
- For a multi-page document on the Thailand e-Visa, upload one clear page per file and crop each with Crop image.
- Need it smaller for email? The 1 MB page still kept a median SSIM of 0.994.