Search

Search papers and lessons

Signal-to-Noise Ratio

Level 2 · 10 min read

Signal-to-noise ratio compares how strong a wanted signal is with how strong the unwanted noise is, usually as a ratio of powers, and it sets how clearly anything can be heard, seen or decoded.

On this page

  • Colour = topic mix
  • Probability
  • Discrete math
  • Calculus
  • Communications
  • Signal processing
  • Sign in to see your progress

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

Definition: Signal-to-noise ratio

For a signal with average power PSP_S corrupted by noise with average power PNP_N, the signal-to-noise ratio is

SNR=PSPN.\mathrm{SNR} = \frac{P_S}{P_N}.

Here PSP_S is the average of the squared signal, and PNP_N 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 AA and the noise has standard deviation σ\sigma, then PS=A2P_S = A^2 for a constant signal and PN=σ2P_N = \sigma^2 for Gaussian noise with mean zero (random, evenly spread, like White Noise). So the ratio is (A/σ)2(A/\sigma)^2. Notice the square: doubling the amplitude-based ratio A/σA/\sigma multiplies the power SNR by four.

Decibels

Because SNR can span many orders of magnitude, it is usually quoted in decibels:

SNRdB=10log⁡10 ⁣(PSPN).\mathrm{SNR}_{\text{dB}} = 10 \log_{10}\!\left(\frac{P_S}{P_N}\right).

Here log⁡10\log_{10} 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 ss many times (the idea behind the Law of Large Numbers), and each reading is ss plus independent noise with variance σ2\sigma^2. Averaging NN readings gives a sample mean with variance σ2/N\sigma^2 / N, since variances of independent averages shrink this way. The signal part stays ss. So the noise power falls by a factor of NN while the signal power stays put, and the SNR grows by a factor of NN, or 10log⁡10N10 \log_{10} N dB.

Shannon capacity

SNR also sets a limit on information. For a channel with bandwidth BB (the width of the band of frequencies it can carry, measured in hertz, which means cycles per second) and signal-to-noise ratio SNR\mathrm{SNR}, the highest error-free rate in bits per second, the channel capacity of the additive Gaussian noise channel, is

C=Blog⁡2 ⁣(1+SNR).C = B \log_2\!\left(1 + \mathrm{SNR}\right).

Here log⁡2\log_2 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

Example
Example 1: a clean signal against weak noise (tiny)

A sensor outputs a signal with average power PS=4P_S = 4 and noise with average power PN=1P_N = 1.

  1. The power ratio is SNR=4/1=4\mathrm{SNR} = 4 / 1 = 4.
  2. In decibels, 10log⁡104=10×0.602=6.0210 \log_{10} 4 = 10 \times 0.602 = 6.02 dB.
  3. 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.

Example
Example 2: a factor of ten in power (standard case)

A radio receiver sees signal power PS=1P_S = 1 watt and noise power PN=0.01P_N = 0.01 watt.

  1. The power ratio is SNR=1/0.01=100\mathrm{SNR} = 1 / 0.01 = 100.
  2. In decibels, 10log⁡10100=2010 \log_{10} 100 = 20 dB.
  3. If the transmitter doubles its power to 2 watts, the ratio becomes 200, and the new value is 10log⁡10200=23.0110 \log_{10} 200 = 23.01 dB.
  4. The increase is 23.01−20=3.0123.01 - 20 = 3.01 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.

Example
Example 3: averaging a noisy sensor (realistic)

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 PS=2.02=4P_S = 2.0^2 = 4 and the noise power is PN=0.52=0.25P_N = 0.5^2 = 0.25.

  1. A single reading has SNR=4/0.25=16\mathrm{SNR} = 4 / 0.25 = 16, which is 10log⁡1016=12.0410 \log_{10} 16 = 12.04 dB.
  2. Averaging 25 readings cuts the noise variance to 0.25/25=0.010.25 / 25 = 0.01, so the noise power of the average is 0.010.01.
  3. The new ratio is SNR=4/0.01=400\mathrm{SNR} = 4 / 0.01 = 400, which is 10log⁡10400=26.0210 \log_{10} 400 = 26.02 dB.
  4. The gain is 26.02−12.04=13.98≈10log⁡102526.02 - 12.04 = 13.98 \approx 10 \log_{10} 25 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.

Example
Example 4: a link budget bound (applied)

A wireless channel has bandwidth B=1B = 1 MHz and an SNR of 10 (10 dB). The Shannon capacity is

C=106×log⁡2(1+10)=106×log⁡211≈106×3.459≈3.46 Mbit/s.C = 10^6 \times \log_2(1 + 10) = 10^6 \times \log_2 11 \approx 10^6 \times 3.459 \approx 3.46 \text{ Mbit/s}.

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 106×log⁡2101≈6.6610^6 \times \log_2 101 \approx 6.66 Mbit/s, roughly double, for ten times the signal power.

Tradeoffs and failure modes

SNR is a useful summary, but it hides several things.

SituationWhat goes wrongBetter choice
The noise is not Gaussian, for example sudden bursts or impulsesA single average power misses the spikes that cause errorsReport the noise distribution, or measure the error rate directly
Interference from another user is presentInterference is structured, so it is not the same as thermal noiseUse the signal-to-interference-plus-noise ratio, which counts both
The noise power is not known preciselyThe ratio looks better or worse than it isCalibrate the noise floor with the signal switched off
Comparing SNR taken at different points in a chainGain and filtering change the signal and noise togetherQuote SNR at a defined point, usually the receiver input
Treating SNR as the only measure of qualityTwo systems with the same SNR can behave differentlyCheck 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 9/1=99 / 1 = 9. In decibels it is 10log⁡109=9.5410 \log_{10} 9 = 9.54 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 22=42^2 = 4, 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 NN independent readings divides the noise variance by NN, so the SNR improves by a factor of N=100N = 100. In decibels that is 10log⁡10100=2010 \log_{10} 100 = 20 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

C=2×106×log⁡2(1+15)=2×106×log⁡216=2×106×4=8C = 2\times 10^6 \times \log_2(1 + 15) = 2\times 10^6 \times \log_2 16 = 2\times 10^6 \times 4 = 8 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