โ† Back to all tools

๐Ÿ–ผ๏ธ Image & Sound Storage Calculator

Calculate how much storage bitmap images and sound files need โ€” with full working shown step by step.

Designed with the WJEC specification in mind
CS GCSE ยง1.2.1DigiTech GCSE ยง1.1.2
๐Ÿ–ผ๏ธ Bitmap Image
๐Ÿ”Š Sound File
๐ŸŽฌ Video File
๐Ÿ“ Units Explained
๐Ÿ“Š Compare
๐Ÿ–ผ๏ธ

Bitmap Image File Size

Presets:
๐Ÿ“–

Key Concepts

Resolution = width ร— height (total number of pixels)

Colour depth = number of bits per pixel. More bits = more colours but bigger file.

Formula: File size = width ร— height ร— colour depth

This gives the uncompressed file size. Real images (JPEG, PNG) use compression to reduce this.

๐Ÿ”Š

Sound File Size

Presets:
๐Ÿ“–

Key Concepts

Sample rate = how many times per second the sound wave is measured (Hz).

Bit depth = how many bits are used to store each sample. More bits = more detail.

Channels = mono (1) or stereo (2). Stereo doubles the file size.

Formula: File size = sample rate ร— bit depth ร— channels ร— duration

๐ŸŽฌ

Video File Size

Presets:

Audio track:

๐Ÿ“–

Key Concepts

FPS (Frames Per Second) = how many still images are shown each second. Higher FPS = smoother motion but bigger files.

Video formula: File size = (width ร— height ร— colour depth ร— FPS ร— duration) + audio size

A video is just a sequence of bitmap images played quickly, plus an audio track. That's why uncompressed video is enormous โ€” a 2-minute 1080p clip is about 22 GB uncompressed!

Real video files (MP4, MKV) use lossy compression to shrink this by 100-1000ร—. That's why compression is so important.

๐Ÿ“

Data Size Units

UnitSizeReal-world example
1 Bit0 or 1A single yes/no answer
1 Byte (B)8 bitsOne character (letter, number, symbol)
1 Kilobyte (KB)1,024 bytesA short text message or email
1 Megabyte (MB)1,024 KBA photo from your phone, or a 1-minute MP3
1 Gigabyte (GB)1,024 MBAbout 250 songs, or a 1-hour Netflix show (compressed)
1 Terabyte (TB)1,024 GBAbout 500 hours of HD video, or a laptop hard drive
1 Petabyte (PB)1,024 TBAll the photos on Facebook, or Netflix's entire library
1 Exabyte (EB)1,024 PBAll the data on the internet is roughly 5 exabytes
๐Ÿ’ก Why 1,024 and not 1,000?
Computers work in binary (base 2), so 1 KB = 2ยนโฐ = 1,024 bytes, not 1,000. This is because 1,024 is the closest power of 2 to 1,000. Some manufacturers use 1,000 instead (which is why your "500 GB" hard drive shows as ~465 GB on your computer!).
๐Ÿ“Š

Quick Comparison

See how different settings affect file size. Click a scenario to see the working.