The decibel formula for signal-to-noise ratio (SNR) is SNR(dB) = 10 × log10(P_signal / P_noise) when using power quantities, or SNR(dB) = 20 × log10(A_signal / A_noise) when using amplitude quantities like voltage or current. You enter the signal and noise values (either powers or amplitudes) and the calculator returns the ratio in decibels, a logarithmic unit that compresses a wide range of values into a manageable scale.
Formula
The signal-to-noise ratio compares the level of a desired signal to the level of background noise. In decibels, the formula depends on whether you are measuring power or amplitude:
- Power ratio: SNR(dB) = 10 × log10(P_signal / P_noise)
- Amplitude ratio (voltage, current, sound pressure): SNR(dB) = 20 × log10(A_signal / A_noise)
Here, P_signal and P_noise are power values (in watts or any consistent unit), and A_signal and A_noise are amplitude values (in volts, amperes, pascals, etc.). The factor of 20 arises because power is proportional to the square of amplitude: log10(A²) = 2 × log10(A), so 10 × 2 = 20.
Worked Example
Using the default values from the calculator: signal power = 10 W, noise power = 0.1 W. The power ratio is 10 / 0.1 = 100. Then SNR = 10 × log10(100) = 10 × 2 = 20 dB. This matches the calculator output of 20.00 dB. If you instead had voltage amplitudes of 10 V signal and 1 V noise, the SNR would be 20 × log10(10/1) = 20 × 1 = 20 dB, which corresponds to a power ratio of 100 (since power ∝ V²).
Why Use Decibels for SNR?
Decibels are logarithmic, which makes them ideal for ratios that span many orders of magnitude. A signal-to-noise ratio of 100,000,000 (100 million) is common in high-quality digital audio, but writing that number is unwieldy. In decibels, it becomes 10 × log10(100,000,000) = 80 dB. The logarithmic scale also matches human perception for sound and light, where a doubling of perceived loudness corresponds roughly to a 10 dB increase. Additionally, decibels make it easy to add gains and losses in a system: if an amplifier adds 20 dB gain and a cable loses 3 dB, the net change is simply +17 dB, not a multiplication.
Power vs. Amplitude: The 10 vs. 20 Rule
A common mistake is using the wrong factor. The rule is simple: use 10 for power (watts, milliwatts, dBm) and 20 for amplitude (volts, amps, sound pressure). Why? Because decibels are defined as a power ratio. When you measure amplitude, you must convert to power first. Since power is proportional to amplitude squared, the log of the squared ratio becomes 2 × log(amplitude ratio), hence the 20. For example, a voltage gain of 10 (10 V out vs 1 V in) is 20 dB, which corresponds to a power gain of 100 (since 10² = 100). If you mistakenly used 10 × log10(10) = 10 dB, you would understate the ratio by half.
How to Read SNR Results
Higher SNR is always better. A positive dB value means the signal is stronger than the noise; a negative value means noise dominates. In practice, different applications require different SNR levels:
- Audio: A SNR of 60 dB is acceptable for basic voice, while hi-fi audio often exceeds 90 dB.
- Digital communications: A SNR of 20 dB might be enough for a clear Wi-Fi link, but 30 dB or more is preferable for reliable high-speed data.
- Video: Analog TV needed about 40 dB for a decent picture; digital TV can work with lower SNR but degrades sharply below a threshold.
Note that SNR is a ratio, not an absolute level. A 20 dB SNR could be 10 W signal vs 0.1 W noise, or 10 mW vs 0.1 mW – the ratio is the same, and the decibel value is identical.
Common Mistakes and Unit Mix-ups
The most frequent error is mixing power and amplitude units without adjusting the factor. For instance, if you have signal voltage in volts and noise voltage in volts, you must use the 20× formula. If you have signal power in watts and noise power in watts, use 10×. Another mistake is forgetting that both values must be in the same units – you cannot divide watts by milliwatts without converting. Also, when using dBm (decibels relative to 1 milliwatt), the SNR can be computed as the difference: SNR(dB) = P_signal(dBm) – P_noise(dBm). This works because subtracting logs is equivalent to dividing the underlying values. Finally, beware of rounding: a 0.1 dB difference is often insignificant, but in critical systems like radio links, every dB counts.
Limitations of the Formula
The basic SNR formula assumes a single signal and a single noise source, both measured at the same point and with the same bandwidth. In real systems, noise is often frequency-dependent, and the SNR may vary across the spectrum. For wideband signals, engineers often use a signal-to-noise ratio per unit bandwidth (e.g., Eb/N0 in digital communications). Also, the formula does not account for distortion or interference; a high SNR does not guarantee a clean signal if harmonic distortion is present. Finally, the decibel scale is relative – it tells you the ratio, not the absolute quality. A 20 dB SNR in a quiet room is very different from a 20 dB SNR in a jet engine, because the noise floor itself is higher.
Frequently Asked Questions
What is a good signal-to-noise ratio in dB? It depends on the application. For audio, 60 dB is acceptable for voice, 80 dB is good for music, and 90 dB or more is considered high fidelity. For data transmission, a SNR of 20 dB is often sufficient for moderate speeds, while 30 dB or higher is preferred for high-throughput links. In imaging, a SNR of 30 dB is usually acceptable, but 40 dB or more is better for fine detail.
Can SNR be negative? Yes. If the noise power is greater than the signal power, the ratio is less than 1, and the logarithm is negative. For example, if signal = 0.1 W and noise = 1 W, SNR = 10 × log10(0.1) = -10 dB. This indicates the signal is buried in noise, and communication or measurement may be impossible without processing.
How do I convert SNR from dB to a linear ratio? Use the inverse of the log: if SNR is given in dB, the power ratio is 10^(SNR/10). For example, 20 dB corresponds to a power ratio of 10^(20/10) = 10² = 100. For amplitude ratios, use 10^(SNR/20).
Why do some formulas use 20 log and others 10 log? As explained, 10 log is for power quantities (watts, dBm), and 20 log is for amplitude quantities (volts, amps). The factor of 2 difference comes from squaring the amplitude to get power. Always check what unit your signal and noise are measured in before choosing the factor.
What is the difference between SNR and SINAD? SINAD (signal-to-noise and distortion ratio) includes distortion products along with noise in the denominator. It is often used in audio and RF testing because it gives a more complete picture of signal quality. SNR only considers noise, not harmonic distortion.
Does SNR change with bandwidth? Yes, in many systems noise is proportional to bandwidth. If you double the bandwidth, the noise power doubles, so the SNR halves (decreases by 3 dB). This is why narrowband filters can improve SNR in radio receivers.
Related
Formula used
in ps | Signal power | W | 10 | 0 | 1000000 in pn | Noise power | W | 0.1 | 0 | 1000000 out snr | SNR | dB | 10 * log10(ps / pn) | 2 out ratio | Power ratio | - | ps / pn | 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.
- How Are Decibels Calculated? The Math Explained20.00 dB
- Height to Waist Ratio: What It Means & How to Measure0.48
- Average NRR 20 dB: What It Really Means83.5 dB
- Gold to Silver Ratio: Meaning, Highs, Lows & How to Use It85.7 oz silver per oz gold
- Decibel to Ratio: Convert dB to Gain or Power
- Decibel to Power Ratio: How to Convert dB to Watts10.000000 W