🔬
🔬 Science & engineering

Bit Depth, Sample Rate & Audio File Size Calculator

Results update as you type.

Your numbers

Understanding the bit depth and audio file size calculator — concept and principle

Digital audio stores sound as a stream of numbers: the sample rate says how many numbers per second, the bit depth says how finely each number can describe the signal's level, and the channel count says how many such streams run side by side. From those three values you can work out the theoretical dynamic range, the highest frequency that can be captured, the raw bit rate and the size of an uncompressed file such as WAV or AIFF. Engineers and editors use these figures to plan storage and choose session formats.

How bit depth, sample rate and channels make file size24 bits × 48,000 samples per second × 2 channels × 180 s = 414.72 million bits, or 51.84 MB; dynamic range 146 dB.Digital audio = many tiny numbers1 dot = 1 sample24 bitper sample×48,000per second×2 chleft + right×180 s3 minutes= 414,720,000 bits ÷ 8 = 51.84 MBbit rate 24 × 48 × 2 = 2,304 kbpsDynamic range ≈ 146 dB6.02 × 24 + 1.76 · each bit adds ~6 dB
Three minutes of 24-bit, 48 kHz stereo is 51.84 MB before any compression.

How it is calculated

The principle

Each extra bit doubles the number of available levels, and a doubling of amplitude is 20·log₁₀(2) ≈ 6.02 dB, so every bit adds about 6 dB of range. The extra 1.76 dB comes from comparing a full-scale sine wave with uniformly distributed quantisation noise; it is the textbook signal-to-quantisation-noise ratio for an ideal converter. The Nyquist–Shannon sampling theorem states that a band-limited signal can be reconstructed exactly if it is sampled at more than twice its highest frequency, so half the sample rate is the ceiling. File size is bookkeeping: each sample of each channel costs N bits.

Worked example

  1. Inputs: 24 bits, 48 kHz, 2 channels, 3 minutes.
  2. Dynamic range: 6.02 × 24 + 1.76 = 144.48 + 1.76 = 146.24 dB.
  3. Nyquist: 48 ÷ 2 = 24 kHz.
  4. Bit rate: 24 × 48 × 2 = 2,304 kbps.
  5. Size: 24 × 48,000 × 2 × 180 s ÷ 8 = 51,840,000 bytes = 51.84 MB.
How Dynamic range (dB) changes with Bit depthHow Dynamic range changes with Bit depth01002003006121824303648Example: 146.24Bit depth
Each point is the calculator re-run with only “Bit depth” changed; the gold point is the default example. Change the inputs above and this chart follows your numbers.
Bit depthDynamic range (dB)
637.88
1274
18110.12
24146.24
30182.36
36218.48
48290.72

How to read the result

16-bit audio gives about 98 dB, already more than most listening rooms allow; 24-bit gives about 146 dB, which exceeds what real converters achieve (good ones reach roughly 115–125 dB) but leaves headroom for recording at modest levels. 44.1 kHz (CD) and 48 kHz (video) both place Nyquist above the roughly 20 kHz limit of human hearing. CD-quality stereo runs at 1,411.2 kbps.

Common mistakes

Keep in mind: The 6.02N + 1.76 dB figure is a theoretical ideal for a full-scale sine wave. Analog noise, dither and converter design set the real dynamic range, and compressed formats (MP3, AAC, FLAC) have different file sizes.

Frequently asked questions

Why is 32-bit float popular for recording?

Floating-point samples carry an exponent, so levels above 0 dBFS are not clipped inside the file, which gives huge headroom while editing. The converter itself is still limited by its analog stage.

Is 96 kHz worth it?

It raises Nyquist to 48 kHz and can ease filter design or extreme time-stretching, but it doubles file size compared with 48 kHz and the extra band is inaudible for most listeners.

Sources: C. E. Shannon, "Communication in the Presence of Noise," Proceedings of the IRE, 1949 · K. C. Pohlmann, Principles of Digital Audio, McGraw-Hill

Checked 8 Nov 2026. Standard textbook formulas in SI units, computed in your browser. For learning and estimates — real designs must follow your local codes and be checked by a qualified engineer.

🔬 All science & engineering tools →🌍 Calculators by country →