Signal-to-noise ratio (SNR or S/N) compares the level of a desired signal to the level of background noise, expressed in decibels (dB). You enter the signal power and noise power (or their amplitudes), and the calculator returns the SNR in dB, telling you how much stronger the signal is than the noise. A higher SNR means cleaner audio, sharper images, or more reliable data transmission.
Formula
The standard definition of signal-to-noise ratio in decibels is:
SNR (dB) = 10 × log₁₀(Psignal / Pnoise)
Where:
- Psignal = power of the signal (watts, milliwatts, or any consistent power unit)
- Pnoise = power of the noise (same unit as signal)
- log₁₀ = base-10 logarithm
If you only have amplitudes (voltage, current, or digital sample values), use the amplitude version: SNR (dB) = 20 × log₁₀(Asignal / Anoise). The factor is 20 instead of 10 because power is proportional to the square of amplitude.
Worked Example
Using the calculator defaults: signal power = 10 W, noise power = 0.1 W.
- Divide signal by noise: 10 / 0.1 = 100
- Take the base-10 logarithm: log₁₀(100) = 2
- Multiply by 10: 10 × 2 = 20 dB
So the SNR is 20 dB, and the linear ratio is 100:1. The calculator shows both values.
Why SNR Matters in Real Life
SNR is the universal measure of signal quality. In audio, it tells you how much hiss or hum you hear relative to the music. A home stereo with an SNR of 90 dB sounds silent between tracks; one with 60 dB has audible background hiss. In photography, SNR determines how grainy a photo looks in low light—higher ISO increases noise, lowering SNR. In digital communications, SNR directly affects error rates: a Wi-Fi signal with SNR below 25 dB may drop packets, while above 40 dB is usually excellent.
Every system that carries information has a noise floor—the minimum level of unwanted energy. The signal must rise above that floor to be useful. The SNR quantifies that margin.
How to Measure Signal and Noise Power
In practice, you rarely have a clean number for “signal power” and “noise power” separately. Here are common methods:
- Audio: Play a test tone (e.g., 1 kHz) at a known level, measure its RMS voltage, then measure the RMS voltage with no signal playing. The ratio of those two voltages (squared) gives SNR.
- Images: Capture a flat gray target, compute the mean pixel value (signal) and the standard deviation (noise). SNR = mean / standard deviation, often converted to dB.
- Communications: Use a spectrum analyzer to measure the power in the signal bandwidth vs. the noise power in the same bandwidth.
- Data: For digital signals, estimate noise as the root-mean-square error between the received samples and the ideal constellation points.
Always measure noise in the same bandwidth as the signal. If you measure noise over a wider bandwidth, you’ll get a lower SNR than the system actually achieves.
Choosing the Right Formula: Power vs. Amplitude
The most common mistake is using the 10×log formula when you have amplitude values, or vice versa. Remember:
- If your inputs are power (watts, milliwatts, dBm), use 10 × log₁₀(P_signal / P_noise).
- If your inputs are amplitude (volts, amps, pixel values), use 20 × log₁₀(A_signal / A_noise).
Why the difference? Power is proportional to amplitude squared. When you take the log of a squared ratio, the exponent becomes a multiplier: log(x²) = 2·log(x). So the 20 factor is just the 10 factor times 2.
For example, if a signal voltage is 1 V and noise voltage is 0.01 V, the voltage ratio is 100. Using 20×log gives 40 dB. If you mistakenly used 10×log, you’d get 20 dB—wrong by a factor of two.
Common Problems and Misconceptions
- Negative SNR: If noise power exceeds signal power, the SNR is negative (e.g., -3 dB). This doesn’t mean no signal—it means the signal is buried in noise. With digital processing, you can sometimes recover signals below 0 dB using spread-spectrum techniques, but for most audio and video, negative SNR means unusable.
- SNR vs. Signal-to-Noise Ratio (linear): The calculator gives both. The linear ratio (e.g., 100:1) is intuitive but rarely used in engineering because decibels compress wide ranges and allow simple addition/subtraction when cascading components.
- SNR vs. THD+N: Total Harmonic Distortion plus Noise (THD+N) is a related measure that includes distortion as “noise.” If your system adds harmonics, the SNR alone may look good while THD+N is poor.
- Peak vs. RMS: SNR can be specified as peak signal to RMS noise, or RMS to RMS. Always check which one is being quoted. RMS-to-RMS is most common for audio.
How to Improve SNR
Improving SNR means either increasing signal or decreasing noise. Common strategies:
- Increase signal: Turn up the volume, increase transmitter power, use a better antenna, or improve lighting in photography.
- Reduce noise: Use shielded cables, lower the temperature of electronic components, use lower ISO in cameras, or move away from electromagnetic interference sources.
- Filtering: Band-pass filters remove noise outside the signal’s frequency band. For example, a low-pass filter on an audio signal removes high-frequency hiss.
- Signal averaging: If the noise is random, averaging multiple measurements reduces it by the square root of the number of averages. This is common in spectroscopy and medical imaging.
- Use higher resolution: In digital systems, more bits per sample reduce quantization noise, improving the SNR floor.
SNR in Different Fields
SNR appears everywhere, but the interpretation varies:
- Audio: CD quality is about 96 dB (16-bit), high-resolution audio can reach 120 dB. Human hearing has a dynamic range of about 120 dB, so anything above that is imperceptible.
- Image sensors: A smartphone camera might have SNR around 30-40 dB in good light, dropping to 10-20 dB in low light.
- Radio communications: Minimum SNR for analog voice is about 10-12 dB; for digital QAM-256, you need about 30 dB for reliable reception.
- Scientific measurements: In astronomy, SNR of 5 is often the threshold for a detection. In MRI, SNR affects image contrast and resolution.
Frequently Asked Questions
What is a good SNR for audio?
For consumer audio, an SNR of 90 dB or higher is considered excellent—you won’t hear hiss in quiet passages. 70-80 dB is acceptable for background music, but you may notice noise in silent moments. Professional gear often exceeds 100 dB.
Can SNR be negative?
Yes, when noise power exceeds signal power. A negative SNR in decibels means the signal is weaker than the noise. In digital communications, you can still transmit below 0 dB using error correction, but in analog audio or video, negative SNR usually means the signal is lost.
How do I convert SNR from dB to a linear ratio?
Use the inverse formula: ratio = 10^(SNR_dB / 10) for power, or 10^(SNR_dB / 20) for amplitude. For example, 20 dB power SNR = 10^(20/10) = 100:1. The calculator provides both values directly.
What is the difference between SNR and dynamic range?
Dynamic range is the ratio between the largest and smallest signal a system can handle, while SNR is the ratio between a specific signal and the noise floor. For a well-designed system, dynamic range often equals the maximum SNR, but they are not the same. Dynamic range is about the range of levels, SNR is about the noise at a given level.
Does higher SNR always mean better quality?
Generally yes, but only up to a point. Once SNR exceeds about 90 dB for audio or 60 dB for images, the human ear or eye cannot perceive further improvement. Also, a system with high SNR but high distortion (low THD) may sound worse than one with moderate SNR and low distortion.
Why do some specs say “SNR 120 dB” while others say “SNR 60 dB”?
Different measurement standards and weighting filters cause this. For example, audio SNR is often measured with an A-weighting filter that reduces the contribution of low-frequency noise, giving a higher number. Also, some manufacturers measure at maximum output, while others measure at a lower reference level. Always compare SNR figures under the same conditions.
Related
Formula used
in s | Signal power | W | 10 | 0 | 1000000 in n | Noise power | W | 0.1 | 0.000001 | 1000000 out snr | SNR | dB | 10 * log10(s / n) | 2 out ratio | Signal-to-noise ratio | - | s / n | 2
Each line is one input (in, sel, list) or one result (out: label, unit, formula, decimals). How the calculators work
Method: the standard formula for this calculation, rounded as each result states. See how the calculators work or report an error.
- Beagle Age in Human Years: Chart & Truth
- Bearded Dragon Age in Human Years: Chart & Calculator
- Average Budgie Lifespan: How Long Do Budgies Live?30 yr
- Baby Yoda Age in Human Years Explained6.25 years
- Australian Shepherd Age in Human Years
- Age Periods of Human Life: A Full Breakdown