Every measurement and every communication link has a signal you want and noise you don’t. The signal-to-noise ratio (SNR), in decibels, tells you how much stronger one is than the other. This calculator turns two RMS voltages into the SNR, the power ratio, the effective number of bits of an analog-to-digital converter, and the Shannon capacity of a channel with a given bandwidth.
How the calculation works
- SNR (dB) = 20 × log10(signal voltage ÷ noise voltage)
- Power ratio = (signal voltage ÷ noise voltage)²
- Effective number of bits = (SNR − 1.76) ÷ 6.02
- Shannon capacity = bandwidth × log2(1 + power ratio)
The factor of 20 applies to voltages and 10 to powers: both give the same decibel value for the same signal.
Example
A 1 V signal with 1 mV of noise has a voltage ratio of 1,000. The SNR is 60 dB and the power ratio is 1,000,000. A converter that sees this SNR has about 9.67 effective bits. On a telephone-grade channel with a bandwidth of 3,100 Hz, the Shannon capacity is about 61.8 kbit/s.
Why it matters
SNR sets the quality of an audio recording, the range of a radio link and the accuracy of a sensor. Increasing it by 6 dB doubles the voltage ratio and adds one bit of resolution. It also shows the limits of data rates: no coding scheme can beat the Shannon capacity, so improving the SNR or the bandwidth is the only way to send more data on a channel.
Good to know
Noise comes from the electronics (thermal noise), the environment (interference) and the quantization of a converter. Use RMS values; peak values give a different number. For signals with a wide dynamic range, a weighted measure such as A-weighting is used for audio. The 1.76 and 6.02 constants assume a full-scale sine wave. This tool is for education.
Related tools
The decibel addition calculator combines levels, the Nyquist sampling calculator checks the sampling rate, and the op-amp gain calculator designs amplifier stages.