Updated · how we check
Compress an image to 1 MB
To get an image under 1 MB, PixelFit aims at 1,000,000 bytes or less, so forms counting a megabyte as 1,000,000 or 1,048,576 bytes both accept it. Estimated from our measured encodes, that is about 2,322 × 1,741 pixels for a 4:3 photo at quality 75, or 3,226 × 4,029 (extrapolated) for a portrait.
Under 1 MB
JPG · under 1 MB (at most 1,000,000 bytes) · original pixel size · white background
PixelFit aims at 1,000,000 bytes or less, so the file passes whether the form counts 1 MB as 1,000,000 or 1,048,576 bytes.
Fit, background and padding white background
Saving presets is part of Pro.
The result appears here: the exact byte count, pixel size and quality, the size before and after, a preview and a download button.
The batch kit (one ZIP for up to 500 photos, several photos merged into one PDF) is part of Pro.
What 1 MB means in bytes
1 MB is 1,048,576 bytes when a megabyte is 1024 × 1024 bytes and 1,000,000 bytes when it is 1000 × 1000. For megabyte limits PixelFit aims at 1,000,000 bytes or less (1 × 1,000,000), which passes both readings, and also the 1,024,000 bytes a server gets when it counts 1,024 KB of 1000 bytes. The exact byte count is printed, so you can compare it with the form.
The safety margin costs 48,576 bytes, 5 % of the binary reading. For a 4:3 photo at quality 75 that is the difference between 2,384 × 1,788 and 2,322 × 1,741 pixels, so playing safe loses little.
Largest pixel size that fits 1 MB
The biggest image of each kind, in its own aspect ratio, that stays at or below 1,000,000 bytes.
| Image | JPG q60 | JPG q75 | JPG q90 | WebP q75 |
|---|---|---|---|---|
| Head-and-shoulders portrait | 4,006 × 5,003* | 3,226 × 4,029* | 2,244 × 2,802 | 5,123 × 6,398* |
| Outdoor landscape (12 MP phone photo) | 2,704 × 2,028 | 2,322 × 1,741 | 1,802 × 1,351 | 2,522 × 1,891 |
| Scanned typed document page | 3,797 × 4,771* | 3,073 × 3,861* | 2,097 × 2,635 | 5,371 × 6,749* |
| Handwritten letter with signature | 5,686 × 4,674* | 4,533 × 3,726* | 3,034 × 2,494* | 7,235 × 5,948* |
A 12 MP phone photo at 1 MB
Our 12 MP landscape sample (4032 × 3024) is about 4.15 MB at quality 90, 4 times the 1 MB budget; even quality 30 leaves 1.26 MB (extrapolated from encodes up to 3,000 px). So the pixels must go down too.
At about quality 75 it fits 1 MB near 2,322 × 1,741 (4 MP, 33 % of the original pixels). Quality 60 allows 2,704 × 2,028; quality 90 needs 1,802 × 1,351.
JPEG quality for fixed pixel sizes under 1 MB
When a form fixes the pixels, only quality can move. Highest quality (of 100) that keeps each size at or under 1,000,000 bytes:
| Pixel size | Measured on | JPG | WebP |
|---|---|---|---|
| 1080 × 1080 (square social post) | landscape photo | quality 95+ (640 KB) | quality 95+ (596 KB) |
| 1920 × 1080 (Full HD frame) | landscape photo | quality 92 (939 KB) | quality 94 (972 KB) |
| 1240 × 1754 (A4 page at 150 DPI) | scanned typed page | quality 95+ (643 KB) | quality 95+ (471 KB) |
| 2480 × 3508 (A4 page at 300 DPI) | scanned typed page | quality 82 (967 KB) | quality 90 (884 KB) |
| 3000 × 4000 (12 MP portrait frame) | portrait photo | quality 77 (975 KB) | quality 87 (895 KB) |
| 4032 × 3024 (12 MP phone photo) | landscape photo | no: fewer pixels needed | no: fewer pixels needed |
JPG, WebP or PNG at 1 MB
At quality 75, WebP holds 2,522 × 1,891 of the landscape photo in 1 MB, JPG 2,322 × 1,741: 18 % more pixels. Portrait gain: 152 % (extrapolated). Typed page gain: 206 % (extrapolated). A moderate gain for the landscape photo at 1 MB, a large one for portraits and typed pages: where WebP is accepted, use it for those. Many portals accept only JPG/JPEG, so this page starts in JPG.
A full-colour PNG is lossless, so its size follows the content. In 1 MB it holds a flat graphic of more than 9,561 × 6,692 pixels but a photo of only 815 × 611, against 2,322 × 1,741 as a quality-75 JPG. Reducing a PNG to a palette of up to 256 colours (PixelFit does this when a PNG must shrink) helps graphics far more than photos.
1 MB: pixels and quality together
With 1,000,000 bytes, a 4:3 photo at quality 90 can be 1,802 × 1,351 and a lossless PNG photo 815 × 611. A full 12 MP frame does not fit even at quality 30 (extrapolated); a 24 MP camera photo (6000 × 4000) needs scaling down (extrapolated).
How to compress an image to 1 MB
-
Open the tool above
It is preset to 1 MB (1,000,000 bytes or less), JPG output.
-
Add your image
Drop, paste or pick it; a PNG, WebP or (where the browser opens it) HEIC file becomes a JPG under 1 MB.
-
Pixel size: only if asked
On auto, a typical photo stops near 2,322 × 1,741 at about quality 75.
-
Download and check
name-1mb.jpg comes with its byte count, pixels and quality.
Forms that ask for 1 MB
Upload specs in our dataset with exactly 1 MB. Verify with the official notice before you submit.
Sources
- Measured by PixelFit with sharp 0.35.5 / libvips 8.18.7 on 31 October 2026.
- Sample images, Wikimedia Commons, checked 31 October 2026: landscape (CC0 1.0) commons.wikimedia.org/w/index.php?curid=154070378; portrait commons.wikimedia.org/w/index.php?curid=23956389; typed page commons.wikimedia.org/w/index.php?curid=194775753; handwritten letter commons.wikimedia.org/w/index.php?curid=90423615; flag commons.wikimedia.org/w/index.php?curid=361734 (public domain).
- Binary prefixes, NIST, checked 31 October 2026: physics.nist.gov/cuu/Units/binary.html
Frequently asked questions
How do I compress an image to 1 MB?
Drop it into the tool here, preset to 1 MB. It searches JPEG quality (at most 8 encodes per pixel size), then scales pixels down if needed, until the file is 1,000,000 bytes or less. A 4:3 photo typically lands near 2,322 × 1,741 at about quality 75.
How do I compress an image to less than 1 MB without losing quality?
Give up pixels before quality: at quality 75, 1 MB holds 2,322 × 1,741 of a photo and 3,226 × 4,029 (extrapolated) of a portrait; quality 90 at 2,322 × 1,741 costs 61 % more bytes.
Is 1 MB 1,000,000 or 1,048,576 bytes?
Both readings exist: 1,048,576 bytes (1 MB = 1024 × 1024) or 1,000,000 bytes (1 MB = 1000 × 1000). PixelFit aims at 1,000,000 bytes or less, which passes both.
Can I compress a PNG to 1 MB?
Yes, but a full-colour PNG photo stays big: about 815 × 611 pixels in 1 MB, versus more than 9,561 × 6,692 for a flat graphic. As a JPG the photo reaches 2,322 × 1,741.
Does a phone photo fit 1 MB without resizing?
No, by our estimate: our 12 MP sample is 4.15 MB at quality 90 and still 1.26 MB at quality 30 (extrapolated), so the tool scales it to about 2,322 × 1,741 at about quality 75.
Related
Nearby file sizes
- Compress to 900 KB photo ≈ 2,191 × 1,643
- Compress to 800 KB photo ≈ 2,054 × 1,540
- Compress to 700 KB photo ≈ 1,913 × 1,434
- Compress to 1.5 MB photo ≈ 2,918 × 2,188
- Compress to 2 MB photo ≈ 3,432 × 2,574
- Compress to 3 MB photo ≈ 4,315 × 3,236
More ways to hit 1 MB
- JPG to PDF under 1 MB One image as a PDF
- Image resizer with KB target Any size, pixels and format
Pixel sizes that fit 1 MB
- 2000×2000 square about 966 KB as a quality-75 JPG
- 2400×1600 landscape about 931 KB as a quality-75 JPG
- 2560×1440 (QHD) about 897 KB as a quality-75 JPG
- 5×7 inch print about 778 KB as a quality-75 JPG