Signal-to-Noise Ratio Calculator
Convert signal and noise levels into a signal-to-noise ratio in decibels, with the plain ratio and noise share.
What it does
Signal-to-noise ratio, written SNR or S/N, compares the strength of a wanted signal with the strength of the noise riding on it. It appears in audio, radio, image sensors and data links. A high number means the signal stands clear of the noise; a low number means the noise is close to the signal and detail is lost.
Because the ratio can cover many orders of magnitude, engineers put it on a logarithmic decibel scale. MIT's introductory communications course defines the decibel SNR as ten times the base ten logarithm of the power ratio, and notes that when the quantities are amplitudes you take twenty times the logarithm instead. The University of California, Berkeley gives the same pair of formulas and explains the factor of two by noting that power is proportional to amplitude squared.
The distinction matters. If you measure voltages across the same resistance, use the twenty log form. If you measure powers directly, use the ten log form. Running the same pair of numbers through the wrong formula shifts the answer by a large amount, so this page asks which type of input you have.
The page returns the ratio in decibels, the plain signal to noise ratio, the noise as a percentage of the signal and a plain language reading. NIST's own speech SNR work uses the same twenty log ten expression for amplitude based estimates.
The reading bands are a rough engineering guide, not a standard. What counts as acceptable depends on the application, since a voice link and a scientific instrument have very different needs.
How to use
- Pick amplitude or voltage if your two numbers are measured as voltages, currents or other amplitudes.
- Pick power if the two numbers are already powers, such as milliwatts.
- Enter the signal level as a positive number.
- Enter the noise level in the same units as the signal.
- Read the decibel value and check the plain ratio to see how many times larger the signal is.
- Compare the result with the requirements of your system, not just the label on the page.
Formula
- S
- Signal amplitude or power, in any consistent unit.
- N
- Noise amplitude or power, in the same unit as S.
- R
- The plain ratio S / N, also written as S to N.
- SNR
- Signal-to-noise ratio in decibels.
- P
- Noise as a percentage of the signal, equal to N / S x 100.
Use twenty times the logarithm when S and N are amplitudes measured across the same impedance, and ten times when they are powers. The two forms agree when the power ratio is the square of the amplitude ratio. A decibel value is a ratio and has no unit of its own; a negative result means the noise exceeds the signal. The quality labels are a convenience, not a published standard.
Worked example
Example: a signal 100 times larger than the noise
Defaults: amplitude mode, a signal of 100 and noise of 1 in matching units.
- Form the ratio: 100 / 1 = 100.
- Because the inputs are amplitudes, use 20 x log10(100).
- log10(100) = 2, so the SNR is 20 x 2 = 40.0 dB.
- The plain ratio is 100 : 1.
- Noise as a share of the signal is 1 / 100 x 100 = 1.00 %.
- Forty decibels falls at the start of the excellent band on this page.
Reference table
| Amplitude ratio | SNR (dB) | Noise share |
|---|---|---|
| 1 : 1 | 0.0 | 100.00 % |
| 2 : 1 | 6.0 | 50.00 % |
| 10 : 1 | 20.0 | 10.00 % |
| 100 : 1 | 40.0 | 1.00 % |
| 1000 : 1 | 60.0 | 0.10 % |
Limits
- The quality labels are a rough guide and are not a standard or a specification.
- Assumes the signal and noise are measured at the same point and over the same bandwidth.
- Assumes the amplitude inputs are measured across the same impedance, which is what makes the twenty log form valid.
- Uses root mean square or average levels as entered; it cannot tell you how the levels were measured.
Common mistakes
- Mixing power and amplitude inputs, then using the wrong multiplier.
- Using ten times the logarithm for voltages, which halves the decibel answer.
- Entering a zero noise level, which makes the ratio undefined.
- Comparing signal and noise taken at different points in a system where gain or loss changes the ratio.
- Reading a negative decibel value as an error rather than as noise larger than the signal.
Try it yourself
Quick checks. Answers sit tucked under each question.
An amplitude signal of 50 sits on noise of 1. What is the SNR?
20 x log10(50) = 20 x 1.6990 = 34.0 dB, with a ratio of 50 : 1.
A power signal of 1000 mW sits on 10 mW of noise. What is the SNR?
In power mode, 10 x log10(1000 / 10) = 10 x log10(100) = 20.0 dB.
The noise amplitude is 10 and the signal amplitude is 1. What does the tool show?
20 x log10(0.1) = -20.0 dB. The negative sign tells you the noise is ten times the signal.
Questions
What is a good signal-to-noise ratio?
It depends on the application. In this page 40 dB or more is labelled excellent, 20 to 40 dB good or very good, and below 10 dB poor.
Why is there a factor of 20 for amplitude?
Because power is proportional to amplitude squared, so ten times the logarithm of the power ratio is the same as twenty times the logarithm of the amplitude ratio.
Can SNR be negative?
Yes. A negative value means the noise level is larger than the signal level.
Does SNR depend on bandwidth?
Yes. Noise power grows with bandwidth, so two measurements over different bandwidths are not directly comparable.
What is the difference between SNR and decibel gain?
Gain compares an output with an input of the same signal. SNR compares a wanted signal with unwanted noise at the same point.
Is SNR the same as dynamic range?
No. Dynamic range compares the largest undistorted signal with the noise floor, while SNR compares a chosen signal level with the noise.
Sources
- MIT OpenCourseWare 6.02, Lecture 8: Noise
- University of California, Berkeley: Decibel Defined
- NIST: Speech Signal to Noise Ratio Measurements