Signal-to-Noise Ratio Calculator: SNR in dB, kTB Noise Floor and Shannon Capacity
By FindMySum · Last reviewed
The signal-to-noise ratio (SNR) compares the strength of a wanted signal with the background noise that comes with it. It decides whether a radio can decode a transmission, how clean an audio recording sounds and how fast a network link can run. This calculator finds the SNR in decibels from power or voltage measurements, solves for the signal or noise needed for a target SNR, works out the thermal noise floor for a bandwidth, and gives the Shannon capacity: the most data the channel can carry. The opening example is a Wi-Fi link with a −60 dBm signal, −90 dBm of noise and a 20 MHz channel.
SNR from powers
The decibel is a logarithmic way of writing a power ratio. For a signal power S and a noise power N:
SNR (dB) = 10 × log10(S ÷ N)
A signal 1,000 times stronger than the noise has an SNR of 30 dB, 100 times is 20 dB and 2 times is about 3 dB. Logarithms keep enormous ratios manageable: a ratio of 10¹² is just 120 dB.
Radio engineers usually measure power in dBm, decibels relative to one milliwatt: 0 dBm is 1 mW, −30 dBm is 1 µW and −90 dBm is 1 picowatt. Because dBm is already logarithmic, the SNR is a subtraction. For the default example:
SNR = −60 dBm − (−90 dBm) = 30 dB, a power ratio of 1,000 : 1.
The calculator accepts W, mW, µW, nW and pW as well as dBm and dBW, and converts them before dividing.
SNR from voltages
If you measure the signal and noise as voltages (an oscilloscope reading, or an audio level in volts), the formula has a 20 instead of a 10:
SNR (dB) = 20 × log10(V_signal ÷ V_noise)
Power across a resistance R is V²/R, so a voltage ratio of 10 is a power ratio of 100, which is 20 dB either way. This only holds when the signal and noise are measured across the same impedance, which is the usual case. A 1 V signal over 10 mV of noise is 20 × log10(100) = 40 dB.
Solving for the signal or noise
Turn the formula round to find what you need for a target SNR:
- signal needed = noise × 10^(SNR/10) for powers, or noise + SNR in dBm terms;
- maximum noise = signal ÷ 10^(SNR/10).
For example, a receiver with −90 dBm of noise needs a −60 dBm signal for 30 dB SNR. For voltages, divide by 20 instead of 10.
The thermal noise floor: kTB
Every resistor and every receiver generates random thermal (Johnson–Nyquist) noise from the motion of electrons. Its power in a bandwidth B at temperature T is:
N = k × T × B
where k = 1.380649 × 10⁻²³ J/K is the Boltzmann constant, exact since the 2019 redefinition of the SI. At the engineering reference temperature of 290 K (about 17 °C), 1 Hz of bandwidth carries 4.0 × 10⁻²¹ W, which is −174 dBm/Hz, a figure every RF engineer knows. The noise grows with bandwidth by 10 × log10(B):
- 1 kHz: −144 dBm
- 1 MHz: −114 dBm
- 20 MHz (the default Wi-Fi channel): −101 dBm
Real receivers add their own noise, measured by the noise figure (NF) in dB. The receiver's noise floor is kTB + NF, so a 6 dB noise figure in 1 MHz gives −108 dBm. The calculator shows how far your signal sits above this floor: the best SNR you could hope for if no other interference were present.
Shannon capacity
In 1948 Claude Shannon proved that a channel with bandwidth B and signal-to-noise ratio S/N (as a plain power ratio, not decibels) can carry at most:
C = B × log2(1 + S/N) bits per second
without errors. For the default example, B = 20 MHz and S/N = 1,000:
C = 20,000,000 × log2(1,001) ≈ 199 Mbit/s, or about 10 bit/s per Hz.
Two rules of thumb follow. At high SNR, every 3 dB of extra SNR adds about 1 bit/s per hertz. And doubling the bandwidth roughly doubles capacity, even though it also doubles the noise. A 3 kHz telephone line at 30 dB is limited to about 30 kbit/s, which is why dial-up modems topped out near that speed for analogue lines. Real systems approach Shannon's limit with clever coding but never pass it.
Reading the results
The calculator gives the SNR in dB with the power and amplitude ratios, the Shannon capacity and spectral efficiency, the thermal noise (kTB) at your temperature and bandwidth, the receiver noise floor if you enter a noise figure, and how far the signal sits above that floor. The chart plots capacity against SNR for your bandwidth, and the table lists the noise floor for common bandwidths alongside yours.
Limits
The calculation assumes additive white Gaussian noise, the model behind Shannon's theorem. It does not cover bit error rates for particular modulations, Eb/N0, interference from other transmitters, cascaded amplifier noise (the Friis formula) or audio weighting curves.
More questions
What SNR does a Wi-Fi connection need?
As a rough guide, below about 15 dB a link is unreliable, 20 to 25 dB supports basic browsing, and 25 to 40 dB or more lets the router use its fastest modulation. Access points often report SNR or let you work it out from the signal (RSSI) and noise in dBm: −55 dBm signal over a −95 dBm noise floor is 40 dB.
How is SNR related to bit depth in digital audio?
An ideal N-bit converter has a quantisation SNR of about 6.02N + 1.76 dB for a full-scale sine wave: 98 dB for 16-bit CD audio and 146 dB for 24-bit. In practice the analogue electronics around the converter set a lower limit, often 100 to 120 dB for good 24-bit equipment.
Is a higher or lower noise floor better?
Lower. The noise floor is the level of background noise a receiver can't get below, so a lower (more negative in dBm) floor lets it hear weaker signals. Narrowing the bandwidth lowers the thermal noise floor, which is why weak-signal radio modes use very narrow channels.
What is the difference between SNR and SINAD?
SNR counts only noise. SINAD, used in radio receiver testing, is the ratio of signal plus noise plus distortion to noise plus distortion, so it also penalises harmonics the receiver adds. For a clean receiver they are close; for an overdriven one SINAD is lower.
Why does doubling the bandwidth cost 3 dB of SNR?
Thermal noise power is kTB, proportional to bandwidth. Doubling B doubles the noise power, and 10 × log10(2) ≈ 3 dB. If the signal power stays the same, the SNR falls by 3 dB. Shannon capacity still usually rises, because the extra bandwidth matters more than the lost SNR.
Sources
This article explains how the calculator works and is general information, not financial, tax, legal or medical advice. Rules change; check the sources above or a qualified professional before you act.