dB Gain Calculator
Decibels turn multiplicative chains into additions. Enter an input and output — as powers or as voltages — and this calculator returns the gain (or loss) in dB for both scales, with the 10-versus-20 log distinction made impossible to fumble.
Logarithms You Can Hear
The decibel exists because engineering ratios run to millions while perception runs logarithmically: the bel (log₁₀ of a power ratio) proved too coarse, so its tenth — the decibel, dB = 10 log₁₀(P₂ ÷ P₁) — became the currency of gain, loss, and level across audio, radio and optics. Its magic is accounting: a chain of ×50 amplifier, ×0.8 cable and ×200 antenna-gain becomes 17 − 1 + 23 = 39 dB of addition, link budgets closing in a column of small numbers instead of a swamp of exponents. The voltage form carries a doubled factor — 20 log₁₀(V₂ ÷ V₁) — not as a second rule but as the same rule once P ∝ V² is applied, and the insistence on matched impedances in that equivalence is the fine print the calculator’s note carries. This page computes both forms side by side precisely because conflating them is the decibel’s one endemic error.
Worked Example: Twenty and Forty
The defaults run two textbook pairs: 1 W → 100 W returns +20.00 dB (two factors of ten in power, ten dB each), and 0.1 V → 10 V returns +40.00 dB — a voltage ratio of 100 being the square of a power ratio of 10,000 in disguise (and at equal impedances the two pairs describe different systems: note that a 100× voltage gain at fixed impedance is a 10,000× power gain, +40 dB by either formula, which is the consistency the doubled factor buys). Losses are the same coin reversed: run 100 → 1 and read −20 dB. The landmarks anchor intuition: +3 dB is a doubling of power but only a ×1.41 of voltage — the asymmetry that trips every beginner once, and that this page’s dual readout inoculates against by printing both scales for any pair entered.
dBm, dBi and the Reference Family
Plain dB is a ratio; pinning it to a reference makes it a level: dBm (against 1 milliwatt — the radio engineer’s home scale, where a phone transmits near +23 dBm and receives near −100), dBW (1 watt), dBV and dBu (voltage references of audio), dBi (antenna gain against the fictional isotropic radiator). The calculator computes the pure ratio; levels follow by choosing the reference as your “input” field — enter 0.001 W as input power and any output in watts returns its dBm figure, a trick worth the sentence it costs. One more dialect deserves its line: the acoustician’s dB(A), frequency-weighted to mimic the ear’s own sensitivity curve, which is a filter applied before the logarithm — a reminder that “dB” names a family of agreements, and the agreement in force must be stated before the number means anything. Sound’s dB SPL (against 20 µPa) belongs to the same family with a psychoacoustic literature of its own, the hub’s acoustics pages handling its thresholds.
The Noise Figure’s Bookkeeping
Every amplifier also adds noise, and the system’s sensitivity is set by the dB ledger of that addition — the Friis noise formula, companion to this wave’s path-loss namesake: the first stage’s noise figure dominates (its contribution undiminished), later stages’ divided by the gains before them, all added in linear ratios converted from the dB datasheets quote. A satellite receiver’s 0.5 dB LNA is treasured precisely because the whole chain’s noise is hostage to it. The calculator’s plain gain arithmetic is the ledger’s first column; noise is the second, and link budgets fail in reviews when the second is prettier than the hardware.
Gain Staging: Where the dB Column Meets Taste
Recording engineers run this arithmetic as gain staging: each device in a chain contributes its dB of gain or loss, and the art is distributing the total so no stage clips (too much gain early) and none drowns in the next stage’s noise (too little). The optimal column keeps peaks about 12–18 dB below the ceiling in digital work — headroom denominated in the same unit the calculator returns. Radio designers play the identical game against compression points and noise figures. That one modest logarithm serves the mixing desk and the satellite link alike is the decibel’s social triumph: a common accounting language for any chain of multiplications, learned once and spent everywhere.
Related Tools
More from the Physics Calculators hub: the Free Space Path Loss Calculator — the dB budget’s biggest line item — and the Solenoid Magnetic Field Calculator, for one of the loads these gains drive.
Frequently Asked Questions
Why 10 for power but 20 for voltage?
Because the decibel is defined on power, and power in a fixed impedance is proportional to voltage squared: 10 log₁₀(V₂² ÷ V₁²) = 20 log₁₀(V₂ ÷ V₁) by the logarithm’s exponent rule. The two formulas are one formula; the trap is applying 20 log to a power ratio (doubling the true dB) or 10 log to a voltage ratio (halving it) — the single most common decibel error in student and datasheet work alike. This calculator labels its pairs unambiguously so the choice is made by the field you fill, not by a memory under load.
What does 0 dB mean, and can gain be negative?
0 dB is a ratio of exactly 1 — output equals input, neither gain nor loss (a piece of wire, ideally). Negative dB is a loss or attenuation: −10 dB is a tenth of the power, −30 dB a thousandth. Amplifiers quote positive gain, cables negative (or “loss” as a positive count of dB — a dialect ambiguity worth noticing on datasheets, which is why this page prints its sign and calls a negative result a loss in words). The sign convention is the calculation’s conscience: keep it, and budgets cannot silently invert.
Is +3 dB really twice as loud?
Twice the power, yes; twice the loudness, no — human loudness perception needs roughly +10 dB (ten times the power) to report “about twice as loud,” a psychoacoustic rule of thumb (the sone scale) that sits downstream of this page’s physical definition. Audio engineers live in both currencies and convert by context: a mixing desk’s fader laws, a hearing test’s steps, a noise ordinance’s limits are all dB-denominated but perceptually annotated. The calculator returns the physical ratio’s dB, the quantity every one of those conventions starts from.
How do antenna gains in dBi fit?
An antenna does not amplify; it concentrates — dBi quotes the power density in its best direction against an isotropic radiator fed the same power, so a +9 dBi dish “gains” by focusing, and its link-budget credit plugs straight into the dB column addition this page teaches. The free-space path loss page computes the spreading that concentration fights. Between the two pages, a complete first-order radio link budget can be assembled — transmitter dBm, plus antenna dBi at both ends, minus path loss in dB, against receiver sensitivity in dBm — the arithmetic skeleton of every wireless design review.
What is a decade, in dB terms?
A factor of ten: +10 dB per decade of power, +20 dB per decade of voltage — the axis scaling of every Bode plot, where filter roll-offs are quoted in dB per decade (a first-order filter: −20 dB/decade) or dB per octave (doubling: −6 dB/octave for the same filter). The calculator’s outputs translate directly onto those plots. Filter designers think in these slopes the way accountants think in percentages; fluency starts with the two landmark conversions this page’s defaults demonstrate.
How much gain do I need — how do engineers sanity-check a dB figure?
By decomposing it into the landmarks: any dB number is a sum of 10s (×10 power each), 3s (×2 power each) and 1s (×1.26), so +27 dB is 10 + 10 + 3 + 3 + 1 ≈ ×500 in power, checked in the head in seconds; a claimed figure that resists such decomposition into plausible stage gains is a figure to audit. The calculator gives the exact value; the landmark method gives the engineer’s immune system against mis-keyed logarithms — the pair of habits, machine precision plus mental decomposition, is how dB budgets survive design reviews. This page’s defaults were chosen as landmarks for exactly that training effect.
What is the difference between gain and level in dB?
Gain is a difference between two levels on the same scale: a signal entering an amplifier at −20 dBm and leaving at +10 dBm has experienced 30 dB of gain — the subtraction of two referenced levels yielding the unreferenced ratio this page computes. Confusing the two (quoting “the gain is 10 dBm”) is the dialect error this FAQ exists to retire: dBm and dBW are levels, nailed to their references; dB alone is the ratio between any two like quantities. The calculator’s inputs are deliberately unreferenced quantities, and its output the pure ratio, because gain is the concept that travels between systems.
Where did the bel come from?
From the telephone engineers of the 1920s, who needed a unit for line losses on the Bell System’s growing network — the bel honours Alexander Graham Bell — and found the tenth-part handier than the unit, so thoroughly that the bel itself is now a trivia answer and the decibel its ubiquitous heir. Its adoption by acoustics, then radio, then every ratio-ridden field, followed the path of least arithmetic — exactly the virtue the calculator’s addition-based budgets demonstrate. A unit designed for telephone cables now denominates quantum-amplifier noise figures; good accounting travels.