A signal to noise ratio calculator compares how strong a wanted signal is with the background noise that comes with it. Enter the two values and it gives the SNR as a plain ratio or in decibels, using the power rule or the voltage rule, and rates the result for a wireless link.
How to use the signal to noise ratio calculator
- Choose what your numbers are: powers, voltages, a plain ratio, levels already in dB, or a mean and a standard deviation.
- Enter the signal and the noise in the same unit.
- Press Calculate and read the ratio, the decibels and the rating.
What the ratio means
The signal to noise ratio is the ratio of the power of a signal, the meaningful input, to the power of the background noise [1]. A value above 1 means the signal is stronger than the noise, and a value below 1 means that the noise wins. Audio, radio, sensors, cameras and data links all use it as a quick measure of quality. The ratio has no unit when the two values are in the same unit, which is why the calculator asks you to keep them alike.
Decibels for powers
Because the ratio can span many orders of magnitude, it is often given in decibels. The power form is the SNR in dB equal to 10 times the common logarithm of the signal power divided by the noise power [1]. A ratio of 2 is about 3 dB, a ratio of 10 is 10 dB and a ratio of 100 is 20 dB. The calculator uses this form when you choose powers, and it also gives the matching ratio so that you can see both.
Decibels for voltages
Power goes with the square of the amplitude, so for voltages the power ratio is squared, which changes the multiplier from 10 to 20 [1]. The article explains that for a voltage or amplitude ratio the power ratio is squared, which puts a factor of 20 in front of the logarithm [1]. Our reading of the formula is that this is a restatement of the power rule. For a signal of 6 volts and a noise of 4 volts the result is 3.5218 dB, which is 20 × log₁₀(1.5).
Levels already in decibels
If you already have the signal level and the noise level in decibels, the SNR is simply the difference between them [1]. The reason is that the logarithm of a quotient is the difference of the logarithms. For example, a signal level of 50 dB and a noise level of 30 dB leave 20 dB. Choose that option when you read two levels from a spectrum analyser, and do not take logarithms a second time.
Mean and standard deviation
In imaging and measurement work the signal to noise ratio is often written from statistics: the signal mean μ divided by the standard deviation σ of the noise, which Wikipedia describes as the reciprocal of the coefficient of variation and as an approximation for non-negative values [1]. Some authors use the squared version μ² ÷ σ², which is our own addition here. The calculator shows both forms together.
Rating a wireless link
The rating uses our own rule-of-thumb bands: 5 to 10 dB means that you cannot connect, 10 to 15 dB an unreliable connection, 15 to 25 dB a poor one, 25 to 40 dB a good one and 41 dB or more an excellent one. Many wireless guides quote about 20 dB for data and 25 dB or more for voice. The table leaves a gap between 40 and 41 dB, so we call that range good. These bands are planning figures, not a standard.
A worked example
Take a received signal of 6 volts and noise of 4 volts. The amplitude ratio is 1.5. In the voltage mode, 20 × log₁₀(1.5) = 3.5218 dB, a power ratio of 2.25 to 1. In the power mode, the same two numbers read as watts give 10 × log₁₀(1.5) = 1.7609 dB. The difference between the two answers shows how important it is to choose the right kind of quantity before reading the result.
Raising the ratio
To improve a poor SNR you can raise the signal, for example with a stronger transmitter or a nearer receiver, or reduce the noise, for example with shielding, filtering or a narrower bandwidth. Each 3 dB means a doubling of the power ratio, and each 10 dB a factor of 10. The calculator shows the power ratio and the amplitude ratio together, so you can see what a gain of a given number of decibels would do.
Where the units come from
Decibel values are only comparisons, so the calculator never needs a unit for the signal or the noise, provided that both are the same. You can use watts, milliwatts, volts, microvolts or counts, as long as the two values are alike and measured at the same point. Mixing a peak value with an RMS value, or dB with dBm, gives a wrong answer. We therefore say in each result which rule was used.
Limits
The result is only as good as the two inputs. Noise often varies with frequency, bandwidth and time, and a single number can hide this. The wireless table is a guide for typical links, and real equipment can differ. The tool does not model the bit error rate, the channel capacity or the noise figure of a receiver. For those, use a specialist tool and the data sheet of the device.
Common mistakes
- Mixing the 10 and 20 rules. Use 10 for powers and 20 for voltages.
- Using different units for the two values. They must match.
- Taking the log of values already in dB. Subtract them instead.
- Treating the rating table as a promise. It is a rule of thumb.
What next
Use this often? Add Signal to No to your Home screen.
Frequently asked questions
What is a signal to noise ratio calculator?
A tool that compares a signal with noise and gives the SNR as a ratio or in decibels.
What is the formula for SNR in dB?
For powers it is 10 times the common logarithm of signal over noise; for voltages it is 20 times.
How do I find the SNR if both levels are in dB?
Subtract the noise level from the signal level.
What SNR do I need for wireless internet?
Many wireless guides suggest about 20 dB for data and 25 dB or more for voice.
Why is the voltage rule 20 and not 10?
Power goes with the square of the amplitude, which doubles the logarithm.
Sources
Was this tool helpful?
What went wrong?
We only receive the reason you pick, never what you typed into the tool.
Thanks for your feedback.