Camera Storage & File Size Calculator
Estimate what percentage of a memory card a session will fill based on your camera's megapixels and number of photos (RAW files assumed). Use it to plan card capacity before a shoot.
Last updated: October 2026
Memory Card Used
22.5 %
Formula below · 2 sources (sdcard.org, kingston.com) · Updated Oct 2026
Compare with similar
About this calculator
A 24-megapixel camera shooting RAW produces files of roughly 25 to 30 MB, so 500 shots take about 14 GB, about 22% of a 64 GB card. This calculator estimates each RAW file at 1.2 MB per megapixel, multiplies by the number of photos and shows the share of your card the session will fill.
The formula
Card used (%) = megapixels × 1.2 MB × photos ÷ (card size in GB × 1,000 MB) × 100. Real RAW sizes vary with the camera, its compression setting and the scene: lossless-compressed RAW is smaller, uncompressed RAW larger, and detailed or high-ISO images compress less. JPEGs are typically a quarter to a third of the RAW size. Shooting RAW+JPEG stores both. The table below shows how many frames fit on common cards at this estimate.
Card capacity is a little less than the label
Card makers count 1 GB as 1,000,000,000 bytes, and the card's file system takes some space, so your camera will report slightly less free space than the label, and its shots-remaining counter is the best guide for your settings. Leave headroom rather than planning to fill a card to 100%.
Speed matters too
For bursts and video, the card's write speed matters as much as its size. The SD Association's speed classes guarantee minimum sustained write speeds: UHS Speed Class U3 and Video Speed Class V30 both guarantee at least 30 MB/s. Card capacity types are standardized as well: SDHC goes up to 32 GB and SDXC up to 2 TB.
| Camera resolution | Est. RAW file | 64 GB card | 128 GB card | 256 GB card |
|---|---|---|---|---|
| 24 MP | 28.8 MB | 2,222 | 4,444 | 8,888 |
| 33 MP | 39.6 MB | 1,616 | 3,232 | 6,464 |
| 45 MP | 54 MB | 1,185 | 2,370 | 4,740 |
| 61 MP | 73.2 MB | 874 | 1,748 | 3,497 |
How to use
Enter your camera's resolution in megapixels and how many photos you expect to take, then choose the card size. The default, a 24 MP camera, 500 photos and a 64 GB card, fills about 22.5% of the card. A 24 MP camera taking 500 photos on a 32 GB card fills about 45%. If you shoot JPEG only, divide the result by about three.
Frequently asked questions
How many RAW photos fit on a 64 GB card?
At this calculator's estimate of 1.2 MB per megapixel, about 2,200 frames from a 24 MP camera, about 1,600 from 33 MP, about 1,200 from 45 MP and about 870 from 61 MP. Your camera's shots-remaining counter gives the exact figure for your settings.
How much bigger are RAW files than JPEGs?
Typically three to four times bigger for the same image, depending on the camera and compression settings. Shooting RAW+JPEG stores both files for every frame.
What card speed do I need?
For stills, a faster card clears the camera's buffer sooner during bursts. For video, match the camera's requirement: UHS Speed Class U3 and Video Speed Class V30 guarantee at least 30 MB/s sustained writing, which covers many 4K modes; higher bitrates need V60 or V90 cards.
Related calculators
Sources & references
Think a result is wrong? Report a problem with this calculator.