Audio Representation Formula

Audio representation is the way a computer stores sound as numeric data.

The Formula

bit rate≈sample rate×bit depth×channels

Ask yourself: Is a sound being stored as samples taken at a sample rate, with a bit depth and a number of channels?

Quick example

If audio is sampled 44,100 times per second, the computer stores 44,100 measurements for each second of sound in one channel.

What this formula means

Audio representation is the way a computer stores sound as numeric data. Digital audio is usually created by sampling a sound wave many times each second and storing each sample with a certain number of bits.

Sampled sound works like a flip-book: still drawings shown fast enough look like smooth motion. More pages per second (a higher sample rate) catch quicker movements, and more precise drawings (more bits per sample) show finer positions. Adding pages does not make the drawings any bigger, just as a higher sample rate does not make the sound louder.

Formal view

Digital audio stores a sequence of sampled amplitude values taken from an analog waveform. The sampling frequency and quantization depth determine fidelity and storage size.

Worked examples

Example 1

medium
A 20-second mono clip at 16000 Hz with 8-bit samples: file size in kilobytes (1 KB=8000 bits)?
Show solution

Answer

320 KB

First step

1.
Bit rate =16000×8×1=128000 bps.

See the full worked solution + why-it-works coaching

SetupKey insightWhy it worksCommon pitfallConnection

Free: full solutions on 3 topics a day. No card.

Every topic, every day: the Family plan

Example 2

medium
Clip A: 22050 Hz, 8-bit, mono. Clip B: same except 16-bit. By what factor is B larger than A?

Example 3

medium
Clip X: 44100 Hz, 16-bit, stereo for 60 s. Clip Y: 22050 Hz, 16-bit, mono for 60 s. By what factor is X larger than Y?

Common mistakes

  • Confusing sample rate with volume
  • Assuming compressed audio stores the exact same data as the original
  • Ignoring that stereo audio stores two channels, not one

Why this formula matters

It explains why a minute of CD-quality stereo takes about 10 MB, why a phone call can use far fewer samples than music, and what you lose when you lower the quality to save space. Mixing up the settings causes real errors: forgetting that stereo has two channels halves a size estimate, and thinking a higher sample rate makes sound louder confuses pitch with volume.

Frequently asked questions

What is the Audio Representation formula?

Audio representation is the way a computer stores sound as numeric data. Digital audio is usually created by sampling a sound wave many times each second and storing each sample with a certain number of bits.

How do you use the Audio Representation formula?

Use audio representation when a question mentions sample rate, bit depth, channels (mono or stereo), or the size or bit rate of a sound file. Typical tasks: work out how many bytes a recording needs, explain why one recording sounds better than another, or describe what happens when a sound is digitized. If the question is how MP3 or similar formats shrink the file, that is Data Compression. For pictures instead of sound, use Image Representation.

Why is the Audio Representation formula important in CS Thinking?

It explains why a minute of CD-quality stereo takes about 10 MB, why a phone call can use far fewer samples than music, and what you lose when you lower the quality to save space. Mixing up the settings causes real errors: forgetting that stereo has two channels halves a size estimate, and thinking a higher sample rate makes sound louder confuses pitch with volume.

What do students get wrong about Audio Representation?

A higher sample rate is not the same as a louder sound. It means the waveform is measured more often.

What should I learn before the Audio Representation formula?

Before studying the Audio Representation formula, you should understand: data representation, binary.