bit depth dynamic range calculator
Bit Depth Dynamic Range Calculator guide
Bit depth controls the number of digital codes available per sample. The calculator reports both the count of those levels and a common ideal signal-to-noise estimate.
Play the instrument ↑- Input and result
- Calculate PCM code levels and the ideal quantization SNR of a full-scale sine wave.
Formula and units
An N-bit representation has 2 to the N code levels. An ideal uniform quantizer with a full-scale sine has an approximate SNR of 6.0206 times N plus 1.7609 dB.
Worked examples
16 bits provides 65,536 levels and about 98.09 dB ideal sine SNR. At 24 bits the model gives 16,777,216 levels and about 146.26 dB. Each additional bit contributes about 6.02 dB in this model.
For an archive decision, a 24-bit file holds more possible codes than a 16-bit file. That does not imply your microphone chain records a clean signal down to the computed 24-bit noise floor. Compare measured hardware performance before choosing a format. Higher nominal depth can still be useful for leaving headroom while recording.
Interpret the result when comparing storage formats
Moving from 16 to 24 bits adds eight binary digits and multiplies the code count by 256. Under the ideal sine-wave model this raises the calculated SNR by about 48.16 dB. It does not mean an acoustic recording contains 48 dB more useful signal. The room, microphone, preamp, converter and recording level determine how much of the numerical range a recording can use.
At lower signal levels, the ideal sine's level drops relative to the same quantization step. If a model assumes a tone 12 dB below full scale, its corresponding ideal SNR is about 12 dB below the full-scale sine result, when the usual noise approximation applies. Dither can decorrelate errors from the signal, which changes the nature of low-level quantization noise.
Compare a file specification with a noise measurement
A device might store 24-bit samples while its analog output measures closer to 110 dB of usable dynamic range. That can still be consistent with the ideal calculator: the arithmetic describes quantization under a simplified full-scale sine test, whereas hardware includes electrical noise, gain stages and distortion. Read the measurement bandwidth and weighting when you compare device specifications.
Bit depth and full-scale level are separate from the playback gain. A lower signal still occupies fewer effective steps in fixed-point data even when the container has a large nominal code count. Set a practical recording level with peak headroom, then choose the stored format based on the editing or delivery workflow. The calculator cannot tell how noisy a particular recording room or microphone is.
If a file lists 24 valid bits stored in a 32-bit word, use the valid bits for an ideal quantization calculation and the stored word size for a bitrate estimate. The same stream can have a 24-bit signal model and a 32-bit storage cost. Keep those two values in separate columns when comparing export settings.
Keep ideal SNR, measured dynamic range, and effective number of bits separate in a specification comparison. A noise reading taken with the input grounded and an SNR measurement made with a reference sine use different conditions. If a spec quotes weighted noise, look for the test bandwidth and weighting curve. Those choices can affect the published number without changing the count of digital codes.
Answers before you play
Common questions
Does 32-bit floating point follow this same formula?
The formula models uniformly spaced fixed-point codes. Floating-point samples have a different spacing and headroom model.
Does changing bit depth also change the sample rate?
They are independent. Bit depth describes the number of codes at a sample position, while sample rate sets the number of positions each second.
What is the code count for 8 bits?
There are 256 codes. The model gives about 49.93 dB ideal SNR for a full-scale sine.
Can the calculation predict converter noise?
Use measured device performance for that purpose. This is an ideal calculation for a uniformly spaced quantizer.