Compressing an image to 1MB: what to expect
Under 1 MB, most phone photos keep nearly all their resolution. In our test the median result was 3167 px wide with 71% of the pixels, and 9 of 20 photos came through at full size. Here 1 MB means 1,000,000 bytes, so the result also passes limits that count 1,048,576 bytes.
This is the most common upload cap we verified: a GitHub profile picture, a Google Play app icon, a Twitch static emote and the Indian e-Visa photo all stop at 1 MB, and Bluesky avatars at exactly 1,000,000 bytes. Compression is rarely the problem at this size. The decision is whether the site also has pixel rules, such as GitHub's 3000 × 3000 cap or the e-Visa's square photo, because those you must meet before compressing.
Our test: 44 real photos compressed to 1MB
All 20 photos fit, at a median of 993.7 KB and SSIM 0.994; the lowest score was 0.987. Even the 48 MP Moscow photo, a 26 MB original, came out 3359 × 2519. The nine kept at full size included the stone-and-grass close-up and the tower at night.
Quality settings now vary widely, from 51 to 81, depending on how much detail each photo has. The iced-coffee photo needed only 907.2 KB at full size. Median time was 2.5 s, slightly faster than at smaller targets because fewer photos need scaling.
Method: each photo went through this page in Chromium on an Apple M2 Mac. 1MB means 1,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 1MB | File size | Width | Pixels kept | JPG quality | SSIM | Time |
|---|---|---|---|---|---|---|---|
| iPhone photos, 12–48 MP | 20 of 20 | 993.7 KB | 3167 px | 71% | 63 | 0.994 (lowest 0.987) | 2.5 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 1MB
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.
| 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 | 2161 × 2882 | 990.5 KB | 52 | 0.987 |
| Bloki na ulicy Goszczynskiego Sosnowiec Środula 02 | 4032 × 3024, 9.7 MB | 3172 × 2379 | 996.8 KB | 56 | 0.993 |
| Boston Basilica interior 02 | 5425 × 4063, 4.0 MB | 3617 × 2709 | 992 KB | 60 | 0.997 |
| -i---i- (54245759081) | 3024 × 4032, 3.8 MB | 3024 × 4032 | 907.2 KB | 80 | 0.993 |
| Carinda Roman Catholic Church 09-08-2024 | 3530 × 2667, 1.5 MB | 3530 × 2667 | 974.5 KB | 78 | 0.998 |
| China Merchants Bank Building in Shanghai at night 02 | 3024 × 4032, 2.7 MB | 3024 × 4032 | 995.3 KB | 75 | 0.994 |
| 8787 Georgia Avenue 09 | 5074 × 3781, 4.0 MB | 3779 × 2816 | 998 KB | 51 | 0.995 |
| -i---i- (51970200648) | 4032 × 3024, 5.6 MB | 4032 × 3024 | 967.1 KB | 77 | 0.996 |
| 20230807 145136 August 2023 in Białystok | 3024 × 4032, 1.5 MB | 3024 × 4032 | 998.5 KB | 67 | 0.995 |
| '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 | 2921 × 2131 | 988.2 KB | 59 | 0.989 |
| Moscow 2025-11-20 05 | 8064 × 6048, 26.0 MB | 3359 × 2519 | 999.2 KB | 61 | 0.994 |
| Parks Mall at Arlington Atrium (2024) | 5712 × 4284, 13.6 MB | 3575 × 2681 | 998.7 KB | 63 | 0.995 |
| BorNE.DOMB-LEPA.v-02 | 2268 × 4032, 4.8 MB | 2268 × 4032 | 997.2 KB | 51 | 0.988 |
| 20230806 191612 August 2023 in Białystok | 4032 × 3024, 1.4 MB | 4032 × 3024 | 999.7 KB | 71 | 0.996 |
| Caltabellotta - Chiesa di San Pellegrino - 2025-08-29 ruins | 4032 × 3024, 4.4 MB | 3161 × 2371 | 991.5 KB | 57 | 0.996 |
| Operação Lais de Guia GLO 2023 (53316687826) | 4032 × 3024, 1.7 MB | 4032 × 3024 | 972.7 KB | 81 | 0.997 |
| Aulangon näkötorni heinäkuussa 2023 | 2268 × 4032, 2.8 MB | 2041 × 3629 | 981 KB | 67 | 0.993 |
| Buca metrosu temel atma töreni 02 | 4032 × 3024, 2.0 MB | 4032 × 3024 | 987.5 KB | 73 | 0.997 |
| 39 Harleyford Road | 3024 × 4032, 4.7 MB | 2280 × 3040 | 995.6 KB | 54 | 0.990 |
| Atlas apartment high-rise (Vuotie 47 B, Vuosaari, Helsinki, Finland) Mar 28, 2026 | 3731 × 6636, 4.3 MB | 2541 × 4520 | 995.5 KB | 63 | 0.989 |
Last updated
JPG vs WebP vs AVIF at 1MB
At 1 MB all three formats kept every pixel on the median of six phone photos, and JPG scored best: SSIM 0.993 against 0.991 for WebP and 0.988 for AVIF. JPG also took a median 1.0 s, against 9.3 s for WebP and 32 s for AVIF. At this size switching format brings nothing, and several of the sites with a 1 MB cap accept only PNG, JPG or GIF.
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 1MB | Width | Pixels kept | SSIM | File size | Encode time |
|---|---|---|---|---|---|---|
| JPG | 6 of 6 | 2646 px | 100% | 0.993 | 992.9 KB | 1.0 s |
| WebP | 6 of 6 | 2688 px | 100% | 0.991 | 996.6 KB | 9.3 s |
| AVIF | 6 of 6 | 2770 px | 100% | 0.988 | 973.5 KB | 32.2 s |
Last updated
Where you'll meet a 1MB limit
The 1 MB limits below are mostly profile and listing images (GitHub, Google Play, Twitch, Etsy) and two Indian government uploads (the e-Visa photo, and documents on the Bogotá embassy's passport portal, where 1 MB is the total for all files).
One listing is a minimum: Estonia's diplomatic ID photo must be at least 1 MB. This page's result is just under that, so use the 2 MB page there.
- GitHub: Personal profile picture (avatar) (maximum). “Your profile picture should be a PNG, JPG, or GIF file, and it must be less than 1 MB in size and smaller than 3000 by 3000 pixels.” GitHub Docs: Profile reference
- Government of India (Bureau of Immigration, Indian e-Visa portal): Digital photograph uploaded with an Indian e-Visa application (maximum). “Format - JPEG Size Minimum 10 KB Maximum 1 MB The height and width of the Photo must be equal.” Indian e-Visa portal: e-Visa information page (indianvisaonline.gov.in)
- Google (Google Play): App icon for a Google Play store listing (maximum). “Max file size: 1024KB” Android Developers: Google Play icon design specifications
- Etsy: Listing photo upload (practical guidance) (maximum). “Images larger than 1MB in file size may not finish uploading, especially on a slower internet connection.” Etsy Help: Requirements and Best Practices for Images in Your Etsy Shop
- Twitch: Static emote upload (auto-resize mode) (maximum). “The file size cannot exceed 1MB” Twitch Help: Emote Formatting & Instant Emote Upload Requirements
- Embassy of India, Bogotá (Passport Seva applicant portal): Supporting documents uploaded with an Indian passport application at the embassy (applicant portal) (maximum). “Maximum Size allowed 1 MB The total of all uploaded documents should be not more than 1 MB” Embassy of India Bogotá: Guidelines for uploading of ICAO photograph, signature and documents (PDF)
- Ministry of Foreign Affairs of Estonia (State Protocol Department): Digital document photo for an Estonian diplomatic ID card application (minimum; this page's result lands just under it, so choose a larger target and stay within their maximum). “The file size of the document photo must be at least 1 MB and a maximum of 5 MB” Estonian MFA: Requirements for a photo (PDF, vm.ee, 2025-11)
Tips for getting a good image at 1MB
- For GitHub, crop square and keep it under 3000 × 3000 pixels with Crop image; a phone photo at full 3024 × 4032 would fit 1 MB but break the pixel rule.
- The Indian e-Visa photo must have equal height and width; crop it square before compressing.
- Where 1 MB is a total for several files, as on the Bogotá embassy portal, split it: three documents at the 300 KB page fit together.
- A JPG already under 1,000,000 bytes is not re-encoded: the tool only strips its metadata, so the result is the same size or a few kilobytes smaller.