By Ahsan Khowaja (CEO) · Updated 10 November 2026
On this page
- How to use the photo storage calculator
- The formula behind a storage calculator for photos
- How many photos is 5 GB, 15 GB or 30 GB?
- How many photos per GB
- How much storage is one picture?
- Photo storage calculator for iPhone and iCloud
- Google Photos storage
- Cards, phones and drives: how much to buy
- Making photos take less space
- Questions and answers
- Related calculators
How to use the photo storage calculator
- Pick a direction. How many photos fit in my storage takes the capacity of a card, phone, drive or cloud plan. How much storage a number of photos needs takes a count.
- Pick the kind of photo you take. Presets are rough mid-points: 3 MB for a phone JPEG, 1.5 MB for a phone HEIC, 10 MB for a camera JPEG, and 28 MB or 55 MB for RAW. If you know your own average, choose Custom and type it.
- Read the result. Counts are rounded down to whole photos, and a storage result also names the smallest common card or drive that would hold it.
Use your own average if you can get it, because it beats any preset. Select a folder of photos, open its properties, and divide the total size by the number of files. Can't find the size? Our guide to KB and MB file sizes shows where Windows, Mac, Android and iPhone put it.
The formula behind a storage calculator for photos
It's one division, or one multiplication:
Photos that fit = capacity in bytes ÷ average photo size in bytes
Storage needed = number of photos × average photo size
A 128 GB card is 128,000 MB. At 3 MB a photo it holds about 42,666 pictures; at 5 MB, about 25,600. Going the other way, 10,000 photos at 3 MB need 30 GB.
That average does almost all the work. Two phones with the same 12 MP sensor can save files a megabyte apart, because a JPEG's size depends on how much detail the scene holds, not only on its pixel count. A white wall compresses to almost nothing. Leaves, gravel and crowds don't. So if your library is mostly landscapes, expect fewer photos per GB than the preset says; if it's mostly screenshots and documents, expect more.
Two things sit outside the formula. No phone or drive gives you its full capacity, because the system and apps take a share first. Videos are far bigger than photos too, so count them separately.
Why your card looks smaller on Windows
Nothing is missing. Card, drive, phone and cloud makers sell capacity in decimal units, where 1 GB is 1,000,000,000 bytes and 1 TB is 1,000,000,000,000. macOS and iOS count the same way. Windows divides by 1,024 instead and still writes "GB", so a 64 GB card shows up there as about 59.6 GB. Same bytes, different ruler. This calculator prints both figures so the result matches what your screen says, and the byte converter or the MB to GB converter will switch between them for any other number.
Worked examples
| Storage and photo type | Sum | Result |
|---|---|---|
| 64 GB card, phone JPEGs at 3 MB | 64,000,000,000 ÷ 3,000,000 | 21,333 photos, 333 per GB |
| 128 GB card, 24 MP RAW at 28 MB | 128,000,000,000 ÷ 28,000,000 | 4,571 photos, about 35 per GB |
| 1 TB drive, phone HEIC at 1.5 MB | 1,000,000,000,000 ÷ 1,500,000 | 666,666 photos |
| 10,000 phone JPEGs at 3 MB | 10,000 × 3,000,000 | 30 GB (27.94 GiB on Windows); smallest common card: 32 GB |
| 2,500 RAW files at 25 MB | 2,500 × 25,000,000 | 62.5 GB; fits a 64 GB card with very little to spare |
That last row is the one that catches people out. A card that technically fits leaves no room for the next shoot.
How many photos is 5 GB, 15 GB or 30 GB?
These sizes come up most, since a cloud plan or an older phone usually sets the limit. Figures use the calculator's presets, rounded down:
| Storage | Phone HEIC (1.5 MB) | Phone JPEG (3 MB) | Camera JPEG (10 MB) | RAW (28 MB) |
|---|---|---|---|---|
| 5 GB | 3,333 | 1,666 | 500 | 178 |
| 15 GB | 10,000 | 5,000 | 1,500 | 535 |
| 30 GB | 20,000 | 10,000 | 3,000 | 1,071 |
| 100 GB | 66,666 | 33,333 | 10,000 | 3,571 |
| 5 TB | 3,333,333 | 1,666,666 | 500,000 | 178,571 |
Read it backwards and 12,000 phone JPEGs need about 36 GB, or about 18 GB as HEIC. Freeing 1 GB means deleting about 333 phone JPEGs, or only about 35 RAW files. Free cloud plans are usually shared with email and other files, so fewer photos fit than the table shows.
How many photos per GB
Divide 1,000 MB by the average file size and round down:
| Typical photo | Rough size | Photos per GB | Per 64 GB | Per 256 GB | Per 1 TB |
|---|---|---|---|---|---|
| Phone HEIC, 12 MP | 1–2 MB (preset 1.5 MB) | 666 | 42,666 | 170,666 | 666,666 |
| Phone JPEG, 12 MP | 2–5 MB (preset 3 MB) | 333 | 21,333 | 85,333 | 333,333 |
| Camera JPEG, 24 MP | 7–15 MB (preset 10 MB) | 100 | 6,400 | 25,600 | 100,000 |
| RAW, 24 MP | 25–50 MB (preset 28 MB) | 35 | 2,285 | 9,142 | 35,714 |
| RAW, 45 MP | 45–90 MB (preset 55 MB) | 18 | 1,163 | 4,654 | 18,181 |
Those ranges are wide on purpose, for the detail reason above. RAW behaves differently: its raw file size follows the sensor's megapixels and whether the camera compresses the data, since lossless compression roughly halves an uncompressed RAW. Every preset sits in the lower-middle of its range, so treat a result as "about this many", not a promise.
How much storage is one picture?
Anything from a few hundred kilobytes to tens of megabytes. Our post on how many MB a photo really is goes through each case; these are the usual sizes:
| Picture | Typical size |
|---|---|
| Screenshot or web image | 100 kB to 1 MB |
| 12 MP phone photo | 1 to 2 MB as HEIC, 2 to 5 MB as JPEG |
| 24 MP camera JPEG, highest quality | roughly 7 to 15 MB |
| RAW file | 25 to 50 MB at 24 MP, 45 to 90 MB at 45 MP |
Recent phones with 48 MP sensors save larger files in their full-resolution modes. RAW files are big because they keep the sensor data with little or no lossy compression.
Pixel count sets the ceiling on all of these. The megapixel calculator turns a width and height into megapixels, and the image size calculator shows the uncompressed size of those pixels, which is what a RAW or TIFF file approaches.
Photo storage calculator for iPhone and iCloud
iPhones save HEIC by default (Settings › Camera › Formats › High Efficiency), which is why the calculator has a HEIC preset. One photo as HEIC is usually around half its size as a JPEG. So a 128 GB phone with 80 GB free for pictures holds roughly 53,000 of them at 1.5 MB. Switch to "Most Compatible" and the phone saves JPEGs at roughly twice the size; Live Photos attach a short video clip to each shot and take more again.
My advice: leave HEIC on. You keep twice as many photos in the same space, and you only need JPG for the few that go somewhere HEIC can't open.
For iCloud photo storage, Apple's iCloud+ plans page says every account gets 5 GB free. That's about 3,300 photos at 1.5 MB per HEIC, or about 2,500 at 2 MB, before backups and messages take their share. Enter 5 GB above with your own average to see where you stand. Videos on the same account usually take more room than the photos do.
When a device or site can't open HEIC, our HEIC to JPG converter converts the photos in your browser, and you can make a lossless PNG copy when you plan to edit. Do the same before posting to Reddit: its help center doesn't publish a list of accepted formats, and JPG, PNG and GIF are the safest choices, as our guide to posting images on Reddit explains. For settings that make new photos smaller, see the guide to reducing photo size on iPhone.
Google Photos storage
Google's storage help page says each Google Account includes up to 15 GB, shared between Gmail, Drive and Google Photos. If nothing else used it, that would be 5,000 photos at 3 MB per JPEG, or 10,000 at 1.5 MB per HEIC. In practice your email gets there first.
Google Photos also offers a "Storage saver" upload quality that recompresses photos to take less room. Use it and the average size you enter here should be lower. The arithmetic doesn't change: capacity ÷ average size.
Cards, phones and drives: how much to buy
Estimate how many photos you'll take, multiply by your average size, and round up to the next card or drive size. Then add a margin:
- Formatting and the file system take a small share of every card and drive.
- A phone's operating system and apps take tens of gigabytes before the first photo.
- A backup belongs on a second device, so the real requirement is often double.
- A long time-lapse shoot fills a card fast, because every frame is a full photo.
Memory cards are sold at 32, 64, 128, 256 and 512 GB and at 1 or 2 TB. Portable drives come in 1, 2, 4 or 5 TB. The calculator's "smallest common card or drive" row picks from these sizes.
So how many photos can 1 TB hold? About 333,000 phone JPEGs, 100,000 camera JPEGs or 35,000 24 MP RAW files. For most people that's more than a lifetime of phone photos, but only a few years of serious RAW shooting. When a drive is labelled in one unit and your estimate is in another, the GB to TB converter does the conversion.
Making photos take less space
If the result is more storage than you have, change the average size. It's the only input you control.
Shooting HEIC instead of JPEG on a phone, or compressed RAW on a camera, roughly halves the size with no visible change. That's the biggest win, and it costs nothing for new photos.
JPEGs you already have can be compressed. Our image compressor works in the browser and usually cuts a phone photo by more than half at a quality that's hard to tell apart. Push it too far, though, and you get visible JPEG artifacts; the guide to how image compression works explains why. Keep the originals of anything you might print.
Copies for the web or for messaging can be resized. A 1920 px wide copy of a 4032 × 3024 photo keeps under a quarter of the pixels, so it's far smaller and still sharp on any screen.
Then delete what you don't need. Duplicates, bursts and screenshots are usually a surprising share of a camera roll.
