TL;DR
Signal-to-noise ratio, or SNR, compares how strong the thing you want is with how strong the unwanted background is. A high SNR means the signal stands well above the noise and is easy to pick out. A low SNR means the signal is buried and mistakes creep in.
It is usually written as a ratio of powers, and often quoted in decibels, a logarithmic scale that turns large ratios into small, easy numbers. The same idea decides how far a radio can reach, how clean a photo looks at low light and how fast data can cross a noisy wire.
Where you'll see it: in the specification of a radio receiver, in the signal-to-noise figure printed on a camera sensor or audio interface, and in the bound on how many bits per second a wireless link can carry.
Intuition
Hearing a voice in a crowd
Picture a conversation in a busy café. Your friend's voice is the signal and the clatter of cups and chatter is the noise. If your friend is close and speaks clearly, their voice stands out and you follow every word. If they are across the room, the same voice sinks into the background and you catch only fragments.
Nothing about the voice changed. What changed is the ratio between the voice and the clatter. SNR is the number that captures this. It does not care whether the signal is a voice, a radio wave, or a pixel's brightness. It only asks how much wanted energy sits beside how much unwanted energy.
Why a ratio and not just the signal strength
A signal of strength 10 in a quiet room may be perfectly clear. The same signal in a room with noise of strength 9 is nearly useless. Only the ratio explains both cases. This is why engineers talk about SNR rather than the raw signal level. A stronger transmitter helps, but only if the noise does not grow to match.
The math
Definition
For a signal with average power corrupted by noise with average power , the signal-to-noise ratio is
Here is the average of the squared signal, and is the average of the squared noise. Both are measured in the same units, so the ratio has no units of its own.
Power is used rather than amplitude because it is the quantity that adds up across independent sources. If the signal has amplitude and the noise has standard deviation , then for a constant signal and for Gaussian noise with mean zero (random, evenly spread, like White Noise). So the ratio is . Notice the square: doubling the amplitude-based ratio multiplies the power SNR by four.
Decibels
Because SNR can span many orders of magnitude, it is usually quoted in decibels:
Here is the base-10 logarithm: the exponent you raise 10 to in order to get the ratio. Each factor of ten in power is 10 dB, and each doubling of power is about 3 dB. The decibel scale turns multiplication into addition, which is why a chain of amplifiers and losses is easy to track in dB.
A useful table to keep in your head:
- ratio 1 is 0 dB (signal and noise equal)
- ratio 2 is about 3 dB
- ratio 10 is 10 dB
- ratio 100 is 20 dB
- ratio 0.5 is about minus 3 dB (noise stronger than signal)
Improving SNR by averaging
Suppose you measure a constant quantity many times (the idea behind the Law of Large Numbers), and each reading is plus independent noise with variance . Averaging readings gives a sample mean with variance , since variances of independent averages shrink this way. The signal part stays . So the noise power falls by a factor of while the signal power stays put, and the SNR grows by a factor of , or dB.
Shannon capacity
SNR also sets a limit on information. For a channel with bandwidth (the width of the band of frequencies it can carry, measured in hertz, which means cycles per second) and signal-to-noise ratio , the highest error-free rate in bits per second, the channel capacity of the additive Gaussian noise channel, is
Here is the base-2 logarithm, the number of bits per symbol. The formula says capacity grows with bandwidth and with the logarithm of SNR. Doubling the SNR adds only about one bit per second per hertz at high SNR, so each extra bit costs much more power.
Worked examples
A sensor outputs a signal with average power and noise with average power .
- The power ratio is .
- In decibels, dB.
- Check with the table: 4 is two doublings of 1, and each doubling is about 3 dB, so 6 dB is the right size.
Interpretation: the signal carries four times the power of the noise. That is comfortably above the threshold where a reader would call the signal clear, but not overwhelming.
A radio receiver sees signal power watt and noise power watt.
- The power ratio is .
- In decibels, dB.
- If the transmitter doubles its power to 2 watts, the ratio becomes 200, and the new value is dB.
- The increase is dB, one doubling of power.
Interpretation: a tenfold change in power is worth 10 dB and a doubling is worth about 3 dB, so cutting the noise power to a tenth would have added 10 dB while doubling the transmitter added only 3 dB. Gains from the signal side and the noise side add in dB.
A temperature sensor reads a steady 2.0 volts, with Gaussian noise of standard deviation 0.5 volts on each reading. The signal power is and the noise power is .
- A single reading has , which is dB.
- Averaging 25 readings cuts the noise variance to , so the noise power of the average is .
- The new ratio is , which is dB.
- The gain is dB, as predicted by the averaging rule.
Interpretation: averaging 25 readings improves the SNR by about 14 dB without any better hardware. This is why data loggers and lab instruments average repeated measurements, provided the signal stays constant while they do.
A wireless channel has bandwidth MHz and an SNR of 10 (10 dB). The Shannon capacity is
Interpretation: no coding scheme can reliably send more than about 3.46 million bits per second through this channel. Raising the SNR to 100 (20 dB) gives Mbit/s, roughly double, for ten times the signal power.
Tradeoffs and failure modes
SNR is a useful summary, but it hides several things.
| Situation | What goes wrong | Better choice |
|---|---|---|
| The noise is not Gaussian, for example sudden bursts or impulses | A single average power misses the spikes that cause errors | Report the noise distribution, or measure the error rate directly |
| Interference from another user is present | Interference is structured, so it is not the same as thermal noise | Use the signal-to-interference-plus-noise ratio, which counts both |
| The noise power is not known precisely | The ratio looks better or worse than it is | Calibrate the noise floor with the signal switched off |
| Comparing SNR taken at different points in a chain | Gain and filtering change the signal and noise together | Quote SNR at a defined point, usually the receiver input |
| Treating SNR as the only measure of quality | Two systems with the same SNR can behave differently | Check error rates, distortion or task performance as well |
The most common mistake is mixing scales. A value of 20 dB is a power ratio of 100, but 20 in linear form is only 13 dB. Always check which scale a number is quoted in. Another mistake is forgetting that the decibel formula for power uses 10, while the formula for amplitude uses 20.
History
The idea of comparing a wanted signal with background noise came from telephone and radio engineering in the first decades of the twentieth century. The decibel is named after Alexander Graham Bell and was adopted in the 1920s to express ratios of telephone power. In 1948, Claude Shannon published A Mathematical Theory of Communication, which showed that the signal-to-noise ratio, through a logarithm, fixes the maximum rate of reliable communication over a noisy channel. That result, later stated for band-limited Gaussian channels as the Shannon–Hartley theorem, turned SNR from a practical measurement into a fundamental limit. It caught on because it gave engineers both a quality measure and a target they could compute.
Recap
Signal-to-noise ratio is the power of the wanted signal divided by the power of the noise. It is usually quoted in decibels, where each doubling of power adds about 3 dB. Averaging repeated measurements raises it, because independent noise averages out. Shannon showed that the logarithm of SNR, multiplied by bandwidth, sets the capacity of a noisy channel. From here, the natural next steps are channel capacity and the ways a receiver tries to reach it.
Check yourself
QuestionA signal has power 9 and the noise has power 1. What is the SNR in linear form and in decibels?Show answer
The linear ratio is . In decibels it is dB. Nine is between 1 (0 dB) and 10 (10 dB), so a value just under 10 dB is the right size.
QuestionWhy does doubling the signal amplitude increase the power SNR by four, not two?Show answer
Power is the square of amplitude, so doubling the amplitude multiplies the power of the signal by , while the noise power is unchanged. The power ratio therefore quadruples, which is about 6 dB.
QuestionYou average 100 independent noisy readings of a constant signal. By how many decibels does the SNR improve, and why?Show answer
Averaging independent readings divides the noise variance by , so the SNR improves by a factor of . In decibels that is dB. The signal stays the same, so only the noise shrinks.
QuestionA channel has bandwidth 2 MHz and SNR of 15. What is its Shannon capacity, and what does it mean?Show answer
Mbit/s. This is the highest rate at which information can cross the channel with arbitrarily small error. Sending faster than this is not possible with any coding scheme, although a rate below it can be achieved in principle.
Sources
- Signal-to-noise ratio (Wikipedia): https://en.wikipedia.org/wiki/Signal-to-noise_ratio
- Shannon–Hartley theorem (Wikipedia): https://en.wikipedia.org/wiki/Shannon%E2%80%93Hartley_theorem
- Decibel (Wikipedia): https://en.wikipedia.org/wiki/Decibel