Updated · how we check
Compress an image to 3 MB
To get an image under 3 MB, PixelFit aims at 3,000,000 bytes or less, so forms counting a megabyte as 1,000,000 or 1,048,576 bytes both accept it. That is roomy: by our estimate (extrapolated from encodes up to 3,000 px) a full 12 MP phone photo (4032 × 3024) fits at quality 79, with no resizing.
Under 3 MB
JPG · under 3 MB (at most 3,000,000 bytes) · original pixel size · white background
PixelFit aims at 3,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 3 MB means in bytes
3 MB is 3,145,728 bytes when a megabyte is 1024 × 1024 bytes and 3,000,000 bytes when it is 1000 × 1000. For megabyte limits PixelFit aims at 3,000,000 bytes or less (3 × 1,000,000), which passes both readings, and also the 3,072,000 bytes a server gets when it counts 3,072 KB of 1000 bytes. The exact byte count is printed, so you can compare it with the form.
The safety margin costs 145,728 bytes, 5 % of the binary reading. For a 4:3 photo at quality 75 that is the difference between 4,432 × 3,324 (extrapolated) and 4,315 × 3,236 (extrapolated) pixels, so playing safe loses little.
Largest pixel size that fits 3 MB
The biggest image of each kind, in its own aspect ratio, that stays at or below 3,000,000 bytes.
| Image | JPG q60 | JPG q75 | JPG q90 | WebP q75 |
|---|---|---|---|---|
| Head-and-shoulders portrait | over 7,158 × 8,940 | 5,764 × 7,199* | 4,028 × 5,030* | over 7,158 × 8,940 |
| Outdoor landscape (12 MP phone photo) | 5,015 × 3,761* | 4,315 × 3,236* | 3,279 × 2,459* | 4,863 × 3,647* |
| Scanned typed document page | over 7,136 × 8,967 | 6,083 × 7,644* | 4,066 × 5,109* | over 7,136 × 8,967 |
| Handwritten letter with signature | over 8,823 × 7,253 | 8,078 × 6,641* | 5,416 × 4,452* | over 8,823 × 7,253 |
A 12 MP phone photo at 3 MB
Our 12 MP landscape sample (4032 × 3024) is about 4.15 MB at quality 90 and 2.81 MB at quality 79, under 3 MB (extrapolated from encodes up to 3,000 px). Here the tool keeps every pixel and only lowers quality (it starts at 92); a noisier photo may still need a small resize.
JPEG quality for fixed pixel sizes under 3 MB
When a form fixes the pixels, only quality can move. Highest quality (of 100) that keeps each size at or under 3,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 95+ (1.09 MB) | quality 95+ (1.01 MB) |
| 2480 × 3508 (A4 page at 300 DPI) | scanned typed page | quality 95+ (2.05 MB) | quality 95+ (1.45 MB) |
| 3000 × 4000 (12 MP portrait frame) | portrait photo | quality 95+ (2.58 MB) | quality 95+ (1.86 MB) |
| 4032 × 3024 (12 MP phone photo) | landscape photo | quality 79 (2.81 MB) | quality 83 (2.85 MB) |
| 6000 × 4000 (24 MP camera photo) | landscape photo | quality 42 (2.83 MB) | quality 54 (2.84 MB) |
JPG, WebP or PNG at 3 MB
At quality 75, WebP holds 4,863 × 3,647 (extrapolated) of the landscape photo in 3 MB, JPG 4,315 × 3,236 (extrapolated): 27 % more pixels. A moderate gain at 3 MB. 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 3 MB it holds a flat graphic of more than 9,561 × 6,692 pixels but a photo of only 1,415 × 1,061, against 4,315 × 3,236 (extrapolated) 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.
3 MB is a quality decision
With 3,000,000 bytes, a 4:3 photo at quality 90 can be 3,279 × 2,459 (extrapolated) and a lossless PNG photo 1,415 × 1,061. A full 12 MP frame fits at quality 79 (extrapolated); a 24 MP camera photo (6000 × 4000) fits at quality 42 (extrapolated).
How to compress an image to 3 MB
-
Open the tool above
It is preset to 3 MB (3,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 3 MB.
-
Pixel size: only if asked
On auto, a 12 MP photo keeps all its pixels; quality goes to about 79 by our estimate.
-
Download and check
name-3mb.jpg comes with its byte count, pixels and quality.
Forms that ask for 3 MB
Upload specs in our dataset with exactly 3 MB. Verify with the official notice before you submit.
3 MB limits
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 3 MB?
Drop it into the tool here, preset to 3 MB. It searches JPEG quality (at most 8 encodes per pixel size), then scales pixels down if needed, until the file is 3,000,000 bytes or less. By our estimate (extrapolated), a 12 MP photo fits with all its 4032 × 3024 pixels at quality 79.
How do I compress an image to less than 3 MB without losing quality?
At 3 MB there is little to give up: a 12 MP photo fits with all its pixels at quality 79, about 2.81 MB (extrapolated).
Is 3 MB 3,000,000 or 3,145,728 bytes?
Both readings exist: 3,145,728 bytes (1 MB = 1024 × 1024) or 3,000,000 bytes (1 MB = 1000 × 1000). PixelFit aims at 3,000,000 bytes or less, which passes both.
Can I compress a PNG to 3 MB?
Yes, but a full-colour PNG photo stays big: about 1,415 × 1,061 pixels in 3 MB, versus more than 9,561 × 6,692 for a flat graphic. As a JPG the photo reaches 4,315 × 3,236 (extrapolated).
Does a phone photo fit 3 MB without resizing?
Yes, at a lower quality: our 12 MP sample is 4.15 MB at quality 90 and fits 3,000,000 bytes at quality 79 (2.81 MB) (extrapolated).
Related
Nearby file sizes
- Compress to 2 MB photo ≈ 3,432 × 2,574
- Compress to 1.5 MB photo ≈ 2,918 × 2,188
- Compress to 1 MB photo ≈ 2,322 × 1,741
- Compress to 4 MB photo ≈ 5,076 × 3,807
- Compress to 5 MB photo ≈ 5,758 × 4,318
- Compress to 10 MB photo ≈ 8,515 × 6,386
More ways to hit 3 MB
- JPG to PDF under 3 MB One image as a PDF
- Image resizer with KB target Any size, pixels and format
Pixel sizes that fit 3 MB
- 11×14 inch print about 2.84 MB as a quality-75 JPG
- 12×12 inch print about 2.68 MB as a quality-75 JPG
- 4000×3000 landscape about 2.5 MB as a quality-75 JPG
- US Legal (8.5×14 in) about 2.26 MB as a quality-75 JPG