How much space would five thousand uncompressed photos take up?
The size shown on your phone reflects file-format choices. First build a photograph as a grid of numbers.
Use a hypothetical archive of 5,000 images at 24 megapixels, in uncompressed 8-bit-per-channel RGB. Count pixel data only: no layers, thumbnails or headers. This does not estimate JPEG, HEIC or camera-specific RAW files.
Choose your anchors first
- 24 megapixels means 24 million image positions, not 24 million bytes.
- RGB stores three channels. At 8 bits per channel, that is 24 bits per pixel, or 3 bytes.
- Use decimal GB: 1 GB = 1 billion bytes.
Open the worked reasoning
Decide what a pixel represents
An RGB pixel in this model stores one red, one green and one blue value. Each value takes one byte. Do not multiply by the number of possible colours: a pixel stores one choice, not a catalogue of every choice.
Build one photograph
24 million pixels × 3 bytes = 72 million bytes, about 72 MB per photo. Without compression, this depends on channel count and bit depth, rather than how interesting the scene is.
Move from one photo to a library
5,000 × 72 MB = 360,000 MB, or 360 decimal GB. Software using binary units would show about 335 GiB for the same bytes. The different number does not mean photos have disappeared.
What could change the answer?
For the specified format, pixel arithmetic is deterministic. Uncertainty enters when changing scenarios: 16 bits per channel doubles the size; 12-megapixel images halve it. There is no universal conversion factor to JPEG or HEIC: scene content and encoder settings matter.
What this example teaches
Separating resolution, bit depth, channels and compression avoids comparing incompatible files. The same visible photograph can have very different representations. For a real backup plan, measure a sample of your own files and check the units used by your tool.
Source and scope
- Adobe · Bit depth in Photoshop ↗Adobe documents RGB channels and bits per pixel. The 5,000 images and 24 megapixels define our scenario, not an observed photo library.
Source checked: 2026-10-30. Calculations and model wording by Aprox.