ToolsCompareBlog Download

How Many Photos Per GB Calculator

Turn a storage figure into a photo count. Pick your camera resolution and file format (HEIC, JPEG, PNG, RAW or ProRAW) and see how many photos fit in 1 GB, 128 GB or a full terabyte. There is a format comparison and a capacity reference table underneath.

How Many Photos Per GB Calculator

Storage

1 GB is counted as 1000 MB and 1 TB as 1000 GB, the way capacities are printed on the box.

Tick this and the count drops by the 7% a card or phone loses to formatting.

Photos

The standard iPhone capture. File size scales almost linearly with megapixels.

Photo format

HEIC is the iPhone default and runs about half the size of JPEG at the same quality.

Compression

Phone cameras save at high quality by default.

Photos that fit
≈ 51,282 photos
12 MP · HEIC · high quality
Size of one photo 2.5 MB
Photos per single GB 400

Counts round down, because a photo that only partly fits does not fit. Treat the result as a typical case with roughly 20% of give either way.

The same storage in every format

Format Per photo Photos that fit vs. selected

At your resolution and compression setting. The lossless formats ignore compression.

How many photos fit in each capacity

Capacity Photos that fit

At your current resolution, format and compression settings.

Swipe44

Photo Cleaner

Getting the gigabytes back is the other half

Swipe44 takes the camera roll a swipe at a time, right to keep and left to delete. Everything you mark goes in one batch, then it shows the space you got back.

Free · No sign-up needed

Scan to get the app

How the photos-per-GB maths works

It is two steps. First work out what one photo weighs: megapixels times a per-format coefficient times a compression factor. Then divide your storage by that. Nothing else is involved, which is why the answer swings so hard on the format you picked.

The coefficients this page uses, in megabytes per megapixel:

FormatMB per megapixelOne 12 MP photoPhotos per GB at 12 MP
HEIC / HEIF (iPhone default)0.2082.5 MB400
JPEG (high quality)0.4175.0 MB199
PNG (lossless)1.012 MB83
RAW / DNG (14-bit compressed)1.113.2 MB75
Apple ProRAW (12-bit linear DNG)2.08325 MB40

Worked example at the defaults: 12 MP times 0.208 gives 2.496 MB per photo, and 128,000 MB divided by 2.496 is 51,282 photos. Counts always round down, since a photo that only partly fits does not fit at all.

One number to ignore: pixels times bit depth. A 12 MP frame at 8-bit RGB is 36 MB of sensor data, and some calculators divide your storage by that. No camera writes an uncompressed frame to disk, so the count that comes out is roughly fourteen times too pessimistic for HEIC. Always divide by the encoded size.

On units, no guessing required: 1 GB is 1000 MB here and 1 TB is 1000 GB, the decimal counting Apple, Google and every card maker use on the box. Calculators that quietly use 1024 MB per GB return counts about 2.4% higher than these.

Photos per GB by format, from HEIC to ProRAW

Take a single gigabyte and a standard 12 MP camera. It holds about 400 HEIC photos, 199 JPEGs, 83 PNGs, 75 camera RAW files, or 40 ProRAW files. That is a ten-to-one spread from top to bottom, off the same sensor and the same photograph.

The ranking follows how hard each format works. HEIC uses HEVC intra-frame coding and gets about the same picture into half the bytes JPEG needs. PNG is lossless, which is fine for flat graphics and expensive for photographic detail, and it is what iOS writes for every screenshot. That is why a screenshot-heavy library balloons out of proportion to its photo count. RAW and ProRAW keep sensor data your eye will never see, in exchange for editing latitude.

The headline is that format beats resolution. A 12 MP ProRAW file (25 MB) is larger than a 48 MP HEIC (10 MB). If your storage is disappearing, check what the camera is saving before you touch the resolution setting. The Photo File Size Calculator runs this same model in the forward direction, megapixels to megabytes.

Why your device holds fewer photos than the number above

Three deductions sit between the box figure and your camera roll, and they come off in order.

Advertised versus formatted capacity. A 128 GB card or phone exposes about 119 GB once the file system has taken its share, roughly 93% of the label. Tick the advertised-capacity box above and every count on this page drops by that factor. The SD Card Storage Calculator applies the same 0.93 to card capacities.

The operating system and apps. On a phone, iOS or Android plus your installed apps can claim 15 to 30 GB before a single photo is stored. On a 128 GB iPhone that is a quarter of the device gone. The iPhone Storage Size Calculator works out which tier to buy once photos are only one claim on the space.

Video. One minute of 4K at 30 fps costs about 170 MB, which is 68 twelve megapixel HEICs gone in sixty seconds. Ten minutes of 4K is worth more than 680 photos. Video is almost always the thing that filled the phone, not the camera roll count.

The cheapest way to get more photos per GB

Best value first. Switch to HEIC (Settings, then Camera, then Formats, then High Efficiency) and the whole library halves at a stroke. Leave a Pro camera at 12 or 24 MP rather than 48 MP Max unless you genuinely intend to crop hard or print big. Both are free, both are one-time settings changes.

Then there is the one that frees the most space: delete what you are keeping for no reason. Roughly 22% of a typical camera roll is duplicates or poor quality frames. Near identical burst shots, screenshots of things you dealt with months ago, four photos of the same coffee. No camera setting recovers that space.

That is what Swipe44 is for. You go through the roll by swiping, right to keep and left to delete, working from Recents, from Random, or one month at a time so you are never staring down 40,000 photos at once. Duplicates get grouped by on-device perceptual hashing, ready to review together. Everything you mark collects in a pending pile and goes in one batch behind a single system confirmation, with a tally of the space you got back. Nothing is uploaded, no account is needed, and iCloud originals are never downloaded.

To size the problem before you start, the Duplicate Photo Space Calculator estimates how many of your gigabytes are copies, and the Photo Storage Calculator runs the reverse of this page, turning a photo count into a total in GB. If the 5 GB free tier is what you are trying to squeeze into, the iCloud Free 5GB Storage Calculator answers that version of the question.

Frequently Asked Questions

Common questions about how many photos per gb calculator

How many photos fit in 1 GB?

About 400 if they are standard 12 MP iPhone HEIC shots at 2.5 MB each. The same gigabyte holds about 199 JPEGs at 12 MP, about 75 camera RAW files at 12 MP, and only about 40 photos if you are shooting 12 MP ProRAW. Format changes the answer more than resolution does, which is why "photos per GB" has no single number.

How many photos fit in 128 GB?

Roughly 51,000 at 12 MP HEIC, about 25,500 at 12 MP JPEG, and about 1,280 at 48 MP ProRAW. Those figures assume all 128 GB is free. A 128 GB phone or card only exposes about 119 GB after formatting, and on a phone the operating system and apps take a large bite before your photos get a look in.

Is 1 GB 1000 MB or 1024 MB?

Both answers are in circulation. This calculator uses 1 GB = 1000 MB, the decimal convention Apple, Google and every memory card maker use when they print a capacity on the box. Calculators that use 1024 MB return counts about 2.4% higher. The gap between the two is the same gap that makes a 128 GB card show up as 119 GB in the file manager.

Why does my phone say a photo is bigger than this calculator predicts?

Compression works on detail, and detail varies with the picture. A flat blue sky squashes down far harder than foliage or a crowded street, so two 12 MP HEICs off the same phone can differ by a factor of three. Read the result as a typical case with roughly 20% of give either way, not a promise about any one file.

How many more photos do I get with HEIC instead of JPEG?

Almost exactly double. At 12 MP a HEIC file runs about 2.5 MB against about 5 MB for a high-quality JPEG, so a gigabyte holds about 400 HEICs versus about 199 JPEGs. HEIC uses HEVC intra-frame coding and holds about the same picture quality in about half the bytes. On iPhone, Settings, then Camera, then Formats, then High Efficiency.

Does doubling the megapixels halve the number of photos I can store?

Very nearly, as long as the format and quality stay the same. 12 MP HEIC is about 2.5 MB, 24 MP about 5 MB, 48 MP about 10 MB, so photos per GB goes 400, 200, 100. Apple's own 48 MP modes are the exception. The company quotes about 5 MB for a 48 MP HEIF Max file, since that mode compresses harder than a straight linear projection suggests, and about 75 MB for 48 MP ProRAW.

How many RAW photos fit on a 128 GB card?

At the common 1.1 MB per megapixel for compressed RAW, a 24 MP camera writes about 26.4 MB per frame, so 128 GB holds roughly 4,800 files. Bump the sensor to 50 MP and the same card holds about 2,300. Photographers who shoot RAW plus JPEG should halve those numbers again.

Does deleting photos actually give the space back?

Not straight away on a phone. iOS and Android both move deleted photos to a Recently Deleted album that holds them for 30 days, and the space only returns once that album is emptied. Swipe44 takes you to that album after a cleanup for exactly this reason.