dB Gain Calculator

Enter a reference (input) value and a measured (output) value to find the gain or loss in decibels, using 10·log₁₀ for power ratios or 20·log₁₀ for voltage and other amplitude ratios.

Quick Facts

Power gain formula
dB = 10 × log₁₀(P₂ / P₁)
Use when both the input and output values are power (watts, milliwatts, etc.).
Voltage/amplitude gain formula
dB = 20 × log₁₀(V₂ / V₁)
Use when both values are voltage, current, or another field/amplitude quantity.
Rules of thumb
+3 dB ≈ ×2 power, +6 dB ≈ ×2 voltage
+10 dB = ×10 power; +20 dB = ×10 voltage = ×100 power.

Your Results

Calculated
dB Gain
-
10·log₁₀(power ratio) = 20·log₁₀(voltage ratio)
Power Ratio (P₂ / P₁)
-
Output ÷ input, power domain
Voltage/Amplitude Ratio (V₂ / V₁)
-
Output ÷ input, voltage domain (√ of power ratio)
Result
-
Amplification, attenuation, or unity

Ready

Enter a reference and measured value, then press Calculate.

How to use the dB Gain Calculator

The decibel (dB) is a logarithmic unit that expresses the ratio between two power, voltage, current, or other amplitude-like quantities. Rather than saying an amplifier multiplies power by 1,000, engineers say it provides "30 dB of gain" — a compact way to describe enormous ranges of signal strength and to combine gains and losses in a chain by simple addition. This calculator takes a reference (input) value and a measured (output) value and converts their ratio into decibels.

Power vs. voltage decibels — why 10 log₁₀ vs. 20 log₁₀

For power quantities, the gain in decibels is dB = 10 × log₁₀(P₂ / P₁). For voltage, current, sound pressure, or any other amplitude quantity, it's dB = 20 × log₁₀(V₂ / V₁). The factor changes because power is proportional to the square of voltage (P = V²/R): substituting V² for P inside the power formula gives 10 × log₁₀(V₂²/V₁²), and the exponent of 2 pulls out of the logarithm as a multiplier, turning the 10 into 20. The result is that a voltage ratio and its squared power ratio (assuming equal impedance) always land on the exact same dB value — this calculator computes both the power-domain and voltage-domain ratio from whichever one you enter so you can see that equivalence directly.

Reading the result and common reference points

A positive dB value means the output is larger than the input (amplification/gain); a negative value means the output is smaller (attenuation/loss); 0 dB means the ratio is exactly 1, i.e. no change. A few landmarks are worth memorizing: +3 dB is roughly double the power, +6 dB is roughly double the voltage, +10 dB is exactly 10× the power, and +20 dB is exactly 10× the voltage (which is also 100× the power). These same relationships work in reverse for attenuation: -3 dB is roughly half the power, and -20 dB is one-tenth the voltage. In audio and RF work you'll also see dB used with a fixed reference, such as dBm (relative to 1 mW) or dBV (relative to 1 V) — those are just this same gain formula applied against a standard reference value instead of your own input measurement.

Frequently Asked Questions

What is the formula for dB gain?
For power quantities, dB = 10 × log₁₀(P₂ / P₁). For voltage, current, or other amplitude quantities, dB = 20 × log₁₀(V₂ / V₁). Both formulas describe the same logarithmic scale — they only differ by the factor of 10 vs. 20.
Why is voltage gain multiplied by 20 while power gain is multiplied by 10?
Power is proportional to voltage squared (P = V²/R). Substituting V² into the power formula gives 10 × log₁₀(V2²/V1²), and the exponent of 2 moves out of the logarithm as a multiplier, turning 10 into 20. So a given voltage ratio and its squared power ratio always produce the same dB value.
What does a negative dB value mean?
A negative result means the output is smaller than the input — attenuation or loss rather than amplification. For example, -6 dB roughly means the voltage has been cut in half, and -10 dB means the power has been cut to a tenth.
Why use decibels instead of a plain ratio?
Decibels compress very large ranges of power or voltage ratios into small, easy-to-compare numbers, and because they are logarithmic, gains and losses in a chain of components can simply be added or subtracted instead of multiplied or divided.