Megapixels vs file size: why a 12 MP photo is 3 MB, and what actually makes it smaller
Your phone says 12 MP. The file says 3.2 MB. A screenshot of the same screen is 1.5 MB as PNG and the uncompressed version would be 36 MB. These are all the same picture measured in different ways.
Pixels, then bytes
- Megapixels (MP) = width × height ÷ 1,000,000. 4032 × 3024 = 12,192,768 pixels, about 12.2 MP.
- Uncompressed size = pixels × 3 bytes (red, green, blue). 12.2 million × 3 ≈ 36.6 MB, or about 48.8 MB with transparency.
- File size is what's left after compression, and that depends on the format and how much detail is in the scene.
Typical sizes for a 12 MP photo
| Format | Typical size | Why |
|---|---|---|
| Uncompressed | ~36 MB | Every pixel stored in full |
| PNG | 15 to 25 MB | Lossless, which suits screenshots and drawings rather than photos |
| JPEG (phone default) | 2 to 5 MB | Lossy, throws away detail you barely see |
| HEIC | 1 to 3 MB | More efficient lossy compression |
| JPEG, 2000 px wide, quality 80 | ~0.3 to 0.8 MB | A quarter of the pixels at a modest quality |
A busy scene (leaves, gravel, noise from a dark room) compresses worse than a clear sky, which is why two photos from the same phone can differ by a factor of two.
Quick estimate
For a phone-style JPEG at high quality, a useful rule of thumb is 0.2 to 0.4 bytes per pixel. So 12.2 MP × 0.3 ≈ 3.7 MB, and a 1600 × 1200 copy (1.9 MP) is around 0.5 MB. For a hard limit, measure rather than guess: the image compressor shows the real size before you download, and can aim for a target.
What actually makes a photo smaller
- Fewer pixels. Most screens and emails never need more than 2000 px wide.
- A lower quality. Going from 95 to 80 often halves a JPEG with little visible change. Below about 60, blocks start to show.
- A better format. WebP or HEIC are smaller than JPEG at the same look; PNG is much larger for photos.
- Not ZIP. Zipping photos saves almost nothing, because they are already compressed (why).
KB, MB and the 1000 vs 1024 question
Some programs count 1 KB as 1000 bytes and some as 1024, so the same file can read 3.2 MB in one place and 3.05 MB in another. The unit converter shows both. For upload limits, stay a little below the number.
Plain-English background: what a pixel and a megapixel are and lossy compression, on Wirebook.
Related
Video file size per minute · How much cloud storage do I need? · Image compressor (in your browser) · Batch photo rotator · Convert an iPhone HEIC photo to JPG · Photo sideways in Word, Outlook or email · Get a photo under 100 KB for a form
Questions
How many MB is a 12 megapixel photo?
Usually about 2 to 5 MB as a JPEG straight from a phone, about half that as HEIC, and around 36 MB if stored uncompressed.
Does more megapixels mean a better photo?
Not by itself. It means more pixels, which helps for big prints and cropping. Lens, sensor size and light matter more for how good a photo looks.
Why are two photos from the same phone different sizes?
Compression depends on detail. Busy, noisy scenes need more data than smooth ones, even at the same pixel size.
What's the fastest way to make a photo file smaller?
Reduce its width and height. Halving both cuts the pixel count, and roughly the file size, to a quarter.
Published · updated .