Running out of card space mid-shoot is avoidable. This calculator estimates how big your RAW and JPEG files will be from just your sensor resolution and bit depth, then tells you how many frames fit on the card you carry — so you can pack the right capacity before you leave.
How it works
A RAW file records one brightness value per photosite at the camera’s colour bit depth. The uncompressed size is therefore:
bytes = megapixels × 1,000,000 × (bit depth ÷ 8)
For a 24 MP sensor at 14-bit:
24,000,000 × (14 ÷ 8) = 42,000,000 bytes ≈ 40.0 MiB uncompressed.
Real cameras apply lossless or visually lossless compression, which typically shrinks RAW by 30–60%. The tool applies a 0.6 multiplier as a realistic compressed estimate.
A JPEG stores three 8-bit colour channels and then applies lossy DCT compression. We start from the full RGB size and divide by a quality-dependent compression ratio:
jpeg bytes = (megapixels × 1,000,000 × 3) ÷ compression ratio
A ratio of 10 is a good high-quality JPEG; a ratio of 4 is near-maximum quality; a ratio of 20 is a smaller web-grade file.
Shots per card
Memory cards are sold in decimal gigabytes (1 GB = 1,000,000,000 bytes) but filesystems report binary gibibytes. The tool converts your card size to bytes, applies a small formatting overhead, and divides by the per-shot size to give a realistic shot count.
Notes and tips
- Bit depth only affects RAW. JPEG is always 8-bit per channel, so changing bit depth never changes the JPEG estimate.
- Pixel dimensions beat the megapixel label. Marketing megapixels are rounded; if you know the exact width and height, enter them for an exact figure.
- Burst shooting fills cards fast. A 45 MP camera at 14-bit RAW produces roughly 50–80 MB per frame after compression — a 20 fps burst can write over a gigabyte per second.
Everything runs locally in your browser — nothing is uploaded.