Compressing an image to 2MB: what to expect
Under 2 MB (2,000,000 bytes), 18 of our 20 phone photos kept every pixel; the median result was 4032 px wide at JPG quality 77. Only the 48 MP Moscow photo and a 13.6 MB photo of a house above a brick wall were scaled, and even those stayed over 4,100 px wide.
2 MB is the cap for profile photos on X and Zoom, a YouTube thumbnail uploaded from a phone, and the recommended size for the JAPAN eVISA face photo. At this size the decision is whether your photo needs compressing at all: four of our originals were already under 2 MB and two more fitted once their metadata was removed, so the tool returned all six with their pixels unchanged.
Our test: 44 real photos compressed to 2MB
All 20 fit, at a median of 1974.6 KB and SSIM 0.998; the lowest was 0.994. Pixel loss is now limited to very large originals: the 48 MP photo kept 36% (4805 × 3604) and the 13.6 MB house photo 81%.
Two of those six show how much an iPhone JPG can carry besides the picture. The iced coffee went from 3.80 MB to 1.92 MB and the tower at night from 2.72 MB to 1.89 MB, mostly by dropping an extra HDR image (a gain map) stored after the main one. The median photo took 2.2 s.
Method: each photo went through this page in Chromium on an Apple M2 Mac. 2MB means 2,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 2MB | File size | Width | Pixels kept | JPG quality | SSIM | Time |
|---|---|---|---|---|---|---|---|
| iPhone photos, 12–48 MP | 20 of 20 | 1.97 MB | 4032 px | 100% | 77 | 0.998 (lowest 0.994) | 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 2MB
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 | 1.98 MB | 59 | 0.996 |
| Bloki na ulicy Goszczynskiego Sosnowiec Środula 02 | 4032 × 3024, 9.7 MB | 4032 × 3024 | 1.98 MB | 71 | 0.995 |
| Boston Basilica interior 02 | 5425 × 4063, 4.0 MB | 5425 × 4063 | 1.99 MB | 61 | 0.998 |
| -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 | 1.97 MB | 61 | 0.996 |
| -i---i- (51970200648) | 4032 × 3024, 5.6 MB | 4032 × 3024 | 1.89 MB | 90 | 0.997 |
| 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 | 4129 × 3012 | 1.98 MB | 62 | 0.995 |
| Moscow 2025-11-20 05 | 8064 × 6048, 26.0 MB | 4805 × 3604 | 1.97 MB | 64 | 0.996 |
| Parks Mall at Arlington Atrium (2024) | 5712 × 4284, 13.6 MB | 5712 × 4284 | 1.98 MB | 55 | 0.997 |
| BorNE.DOMB-LEPA.v-02 | 2268 × 4032, 4.8 MB | 2268 × 4032 | 1.99 MB | 83 | 0.997 |
| 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 | 1.98 MB | 70 | 0.998 |
| 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 | 1.98 MB | 87 | 0.999 |
| Buca metrosu temel atma töreni 02 | 4032 × 3024, 2.0 MB | 4032 × 3024 | 1.97 MB | 91 | 0.999 |
| 39 Harleyford Road | 3024 × 4032, 4.7 MB | 3024 × 4032 | 2.0 MB | 66 | 0.997 |
| Atlas apartment high-rise (Vuotie 47 B, Vuosaari, Helsinki, Finland) Mar 28, 2026 | 3731 × 6636, 4.3 MB | 3731 × 6636 | 2.0 MB | 66 | 0.994 |
Last updated
JPG vs WebP vs AVIF at 2MB
With full resolution on all six test photos, the format differences shrink further. JPG used a median 1974 KB for SSIM 0.997; WebP stopped at 1881 KB and AVIF at 1903 KB, both scoring 0.995, at their own highest quality settings. JPG took 1.0 s, WebP 10.2 s and AVIF 42 s. X and Zoom expect JPG or PNG for a profile photo, so stick with JPG.
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 2MB | Width | Pixels kept | SSIM | File size | Encode time |
|---|---|---|---|---|---|---|
| JPG | 6 of 6 | 3024 px | 100% | 0.997 | 1.97 MB | 1.0 s |
| WebP | 6 of 6 | 3024 px | 100% | 0.995 | 1.88 MB | 10.2 s |
| AVIF | 6 of 6 | 3024 px | 100% | 0.995 | 1.9 MB | 41.8 s |
Last updated
Where you'll meet a 2MB limit
The 2 MB limits below are profile pictures (X, Zoom), YouTube thumbnails uploaded from a phone, and the JAPAN eVISA face photo, where 2 MB is recommended rather than enforced. Bluesky's limit for an image in a post is 2,000,000 bytes, which this page's result meets.
Profile photos are shown small, so a square crop resized to around 1,000 px is far below 2 MB anyway.
- X (formerly Twitter): Profile photo upload (maximum). “Maximum file size for profile photos is 2MB.” X Help Center: Help with uploading a profile photo
- Zoom: Profile picture on the Zoom web portal (maximum). “Supported file types include JPG/JPEG, GIF, or PNG files smaller than 2MB” Zoom Support: Managing your profile picture on the Zoom web portal (KB0064565)
- YouTube (Google): Custom video thumbnail uploaded from a mobile device (maximum). “Mobile: 2 MB for video thumbnails or 10 MB for podcasts. Desktop: 50MB for video, Shorts, and podcast thumbnails.” YouTube Help: Add custom thumbnails on YouTube
- Ministry of Foreign Affairs of Japan (JAPAN eVISA): Facial photo uploaded in a JAPAN eVISA application (maximum). “File format: JPG, PNG, GIF, BMP, HEIC-File size: up to 2MB is recommended.” JAPAN eVISA FAQ (Q63) (evisa.mofa.go.jp)
Tips for getting a good image at 2MB
- If your photo is a JPG under 2 MB already, you can upload it directly; the tool would only take out its metadata.
- For a profile photo, crop square around your face with Crop image; the platform will shrink it for display.
- For a YouTube thumbnail from your phone, resize it to a video frame size such as 1280 × 720 with Resize image; at that size it will be far below 2 MB.
- From a computer, YouTube allows larger thumbnail files, so this page matters mainly for uploads from the mobile app.