dB Gain Calculator for Power and Voltage Ratios

Logarithmic ratio workspace

dB Gain Calculator

Convert an input-to-output power or field-quantity ratio into decibels, recover the associated linear ratios, place the gain on an absolute input level, and add three independent stage gains or losses along a signal chain.

Set the measured ratio

Power quantities use 10 log10. Field or amplitude quantities use 20 log10 only when the underlying power is proportional to the square of that quantity under matching conditions.

Example: 0 dBm, 0 dBW, or another explicitly documented reference level.

Gain and cascade result

Measured ratio gain+10.000 dB
Gain
Stage 1+6.000 dB
Stage 2−3.000 dB
Stage 3+10.000 dB
Measured power ratio10.000000×
Measured field/amplitude ratio3.162278×
Absolute output level+10.000 dB ref.
Cascade total+13.000 dB
Cascade power ratio19.952623×
Cascade field ratio4.466836×
Measured plus cascade+23.000 dB
Reverse measured power ratio0.100000×

Log trace

Measured power ratio = 10 ÷ 1 = 10.000000 Gain = 10 log10(10.000000) = +10.000 dB Cascade = +6.000 − 3.000 + 10.000 = +13.000 dB

Choose 10 log or 20 log from the physical quantity

10

Power-like quantity

For a ratio of two powers expressed in the same units, gain in decibels is 10 log10(Pout/Pin). A power ratio of 10 is +10 dB; a ratio of one-half is approximately −3.010 dB.

20

Field or amplitude quantity

For compatible field quantities where power is proportional to amplitude squared, the same level difference becomes 20 log10(Fout/Fin). An amplitude ratio of 10 is +20 dB.

Z

Impedance conditions matter

Voltage ratios can use 20 log only when the comparison supports the square-law power relationship, commonly equal impedance. If input and output impedances differ, calculate power directly or include the impedance relationship.

Ratio definitions: Gpower = 10 log10(Pout/Pin). Gfield = 20 log10(Fout/Fin). Power ratio from dB = 10G/10. Field ratio from dB = 10G/20. Cascaded gain = the arithmetic sum of stage gains and losses in dB.

The decibel is a logarithmic ratio unit, not an absolute power by itself. “10 dB” describes a relationship. “10 dBm” describes a level relative to one milliwatt, while “10 dBW” uses one watt. The calculator labels the absolute-level result as “dB ref.” because it cannot infer which reference system you intended. Record that reference explicitly.

Worked example: a tenfold power increase and a three-stage chain

The default measured input magnitude is 1 and output magnitude is 10 in power mode. Their ratio is 10. Taking 10 times the base-10 logarithm of 10 gives +10.000 dB. A positive result is gain; zero means equal magnitudes; a negative result is loss.

A tenfold power ratio corresponds to a field or amplitude ratio of the square root of 10, approximately 3.162278, when the square-law relationship and conditions are valid. The reverse direction has a power ratio of 0.1 and a gain of −10 dB.

The stage chain contains +6 dB, −3 dB, and +10 dB. Decibel levels add directly, so the cascade total is +13 dB. That is about 19.952623 times in power and 4.466836 times in field amplitude. Adding the measured +10 dB relationship to this stage chain produces +23 dB overall as a purely mathematical cascade scenario.

If the absolute input is 0 dBm, applying the measured gain would produce 10 dBm. If the input is 0 dBW, the output is 10 dBW instead. The numerical difference is the same, but the physical output powers are not. A result is incomplete without quantity type, reference, bandwidth, frequency, and impedance conditions.

Why stages add in dB but multiply linearly

Linear domain

If stage A has a power ratio of 4 and stage B has a power ratio of 5, their combined ratio is 20. Multiplication is physically intuitive but becomes cumbersome across a long chain with very large and very small factors.

Logarithmic domain

The same ratios are about +6.021 dB and +6.990 dB. Adding gives +13.010 dB, which converts back to a power ratio of 20. A negative insertion loss simply subtracts from the chain.

The cascade inputs accept negative values because attenuators, cables, filters, splitters, mismatch loss, and other stages can reduce level. They also accept zero for a unity-gain stage. The calculator sums all three regardless of the measured-ratio mode because a correctly stated decibel gain already encodes the applicable ratio definition.

Do not add incompatible quantities. Voltage gain, available power gain, transducer gain, antenna gain, path loss, sound-pressure level, and noise spectral density can all use decibels but refer to different physical quantities and conditions. Build a cascade only after defining compatible reference planes and units.

Useful mental checks

Level changePower ratioField/amplitude ratio
+3.010 dB2×about 1.414×
+6.021 dB4×2×
+10 dB10×about 3.162×
+20 dB100×10×
−3.010 dB0.5×about 0.707×
−10 dB0.1×about 0.316×

These checks are exact only where shown as exact and otherwise rounded. They help detect a wrong 10-versus-20 multiplier. If a tenfold voltage ratio under equal impedance produces +10 dB in a worksheet, the power and field definitions have probably been mixed.

Measurement details that change the interpretation

In RF work, specify frequency, bandwidth, reference impedance, calibration plane, mismatch treatment, and whether gain is available, operating, insertion, or transducer gain. A network with different source and load impedances can show a voltage increase while delivering less power.

In audio, distinguish voltage gain from acoustic sound-pressure level. Amplifier voltage gain does not directly predict perceived loudness, and loudspeaker sensitivity, distance, room, frequency response, impedance, and power compression matter. A decibel is not a universal “percent louder” conversion.

For digital and optical systems, identify whether the quantity is average power, peak power, voltage, field strength, amplitude, spectral density, or a referenced digital level. Sampling, detector response, bandwidth, crest factor, and averaging can change the measured magnitude.

Keep uncertainty in the same domain as the specification

A displayed +10.000 dB does not mean the measurement is accurate to one thousandth of a decibel. The output reflects mathematical rounding from the entered values. Instrument accuracy, calibration, connector repeatability, mismatch, temperature, noise, drift, detector linearity, and limited resolution can dominate the real uncertainty. Report no more significant information than the measurement supports.

For worst-case cascade work, adding nominal dB values is only the first step. Determine whether tolerances are independent, correlated, frequency dependent, or bounded. A guaranteed minimum amplifier gain and maximum cable loss can be combined for a conservative low-output case, while the opposite limits produce the high-output case. Statistical root-sum-square methods require a justified probability model and should not be substituted for guaranteed specification limits.

When source data are linear ratios with uncertainty, converting the upper and lower endpoints to dB is often clearer than assigning a symmetric dB tolerance. Logarithmic conversion can make an asymmetric linear interval appear more balanced, but it does not remove the original uncertainty.

A reproducible gain-calculation workflow

  1. Name the physical quantity. State power, voltage, current, pressure, field strength, or another quantity.
  2. Define both reference planes. Identify where input and output are measured and what intervening network is included.
  3. Verify units and conditions. Use like units and document frequency, bandwidth, impedance, load, detector, and averaging.
  4. Select the proper logarithmic relationship. Use 10 log for power ratios and 20 log only for compatible square-root-of-power quantities.
  5. Keep absolute references explicit. Never drop the “m” from dBm or replace dBW with plain dB.
  6. Sum compatible stages. Add gains and subtract losses only when stages share a coherent signal path and quantity definition.
  7. Convert back for a reasonableness check. Confirm that the resulting linear ratio matches expected physical behavior.

Frequently asked questions

When should I use 10 log10 instead of 20 log10?

Use 10 log10 for a direct power ratio. Use 20 log10 for a compatible field or amplitude ratio only when power is proportional to the square of that quantity under the comparison conditions. If impedance differs, a voltage ratio alone may not describe power gain.

What does a negative dB gain mean?

It means the output magnitude is lower than the input for the stated ratio and reference planes. It is commonly called loss or attenuation. A −3.010 dB power change is one-half, while a −10 dB power change is one-tenth.

Is 0 dB equal to zero signal?

No. A 0 dB gain means a ratio of one: output equals input for the stated quantity. An absolute level of 0 dBm means one milliwatt, not zero power. Absolute zero signal corresponds to a logarithm tending toward negative infinity.

Can I add amplifier gain and cable loss?

Yes, when both are compatible decibel quantities for the same signal path, frequency, impedance context, and reference convention. Enter amplifier gain as positive and cable loss as negative. Frequency-dependent values should be calculated at the same frequency.

Why does a voltage ratio of two equal about 6 dB?

Under equal impedance, doubling voltage multiplies power by four. Twenty log10(2) and ten log10(4) both equal approximately 6.021 dB. If impedances differ, include them in the power calculation instead of assuming this equivalence.

Does this calculator predict clipping or noise?

No. It performs ratio and cascade arithmetic. An amplifier can clip, compress, saturate, add noise, distort, or change gain with frequency and load. Use device curves, noise figures, headroom, dynamic range, and measured behavior for a complete signal-chain design.

Scroll to Top