# Compute dynamic range in a linear quantization system

I know the dynamic range is the ratio between the maximum amplitude and the minimum amplitude of a signal, calculating the dynamic range in dB I get a difference of logarithms:

But why the dynamic range of a N-bit digital system with linear quantization is 6N dB?

• Take a look at this answer over at Electronics.SE. – Matt L. Sep 9 '17 at 14:21
• @MattL. Thanks, but that answer is about SNR that is different from the dynamic range... – beth Sep 9 '17 at 14:27
• It's exactly the same calculation, have a look at this. – Matt L. Sep 9 '17 at 14:30

decibels are $20 \log_{10}{x}$ (or $10 \log_{10}{\left( x^2 \right) }$ when power levels used instead of the amplitude levels)
When looking at bit noise limited N-bit system, there are $2^{N}$ measurement levels, and the smallest distinguishable difference is $1$. So
DR$_{dB}$ = $20 \log_{10}{\frac{2^N}{1} } = N*20\log_{10}{2}\approx 6 N$