dB Calculator
Calculate decibel gain, attenuation and ratios for voltage, current and power. Use the correct 10 log₁₀ power relationship or 20 log₁₀ voltage/current relationship for electronics, audio, RF and signal analysis.
Decibel Calculator
Calculate dB from a ratio or calculate the ratio represented by a dB value.
dB = 10 × log₁₀(Pout / Pin)
dB Calculation Formulas
The decibel is a logarithmic way of expressing a ratio. The correct equation depends on whether the ratio represents power or an amplitude quantity such as voltage or current.
Power Ratio
Use this formula when comparing two power levels. Pout is the output power and Pin is the input power.
- 2× power ≈ +3.01 dB
- 10× power = +10 dB
- 100× power = +20 dB
- 0.5× power ≈ -3.01 dB
Voltage Ratio
The 20 log₁₀ expression is used for voltage ratios when the impedance conditions make the voltage-to-power relationship applicable.
- 2× voltage ≈ +6.02 dB
- 10× voltage = +20 dB
- 0.5× voltage ≈ -6.02 dB
- 1× voltage = 0 dB
Reverse Conversion
For power ratios, convert dB back to a linear ratio using 10 raised to the dB value divided by 10.
For voltage or current ratios, use 20 in the denominator.
Common dB Values
These reference values show the difference between power ratios and voltage/current ratios.
| dB | Power Ratio | Voltage / Current Ratio | Interpretation |
|---|---|---|---|
| -20 dB | 0.01× | 0.1× | Strong attenuation |
| -10 dB | 0.1× | 0.3162× | 10× lower power |
| -6.02 dB | 0.25× | 0.5× | Half voltage/current |
| -3.01 dB | 0.5× | 0.7079× | Half power |
| 0 dB | 1× | 1× | Equal ratio |
| 3.01 dB | 2× | 1.4125× | Approximately double power |
| 6.02 dB | 4× | 2× | Double voltage/current |
| 10 dB | 10× | 3.1623× | 10× power |
| 20 dB | 100× | 10× | 100× power |
How the dB Calculator Works
Choose the Ratio Type
Select power ratio when comparing input and output power, or voltage/current when comparing amplitude quantities.
Enter the Ratio
Enter a positive linear ratio such as 0.5, 1, 2 or 10. The calculator applies the appropriate logarithmic formula.
Read the dB Value
Positive values represent gain, zero represents an equal ratio, and negative values represent attenuation or loss.
Worked dB Examples
Example 1: Power Gain
An amplifier increases power from 1 W to 2 W. Calculate the gain in dB.
The amplifier provides approximately 3.01 dB of power gain.
Example 2: Power Loss
A circuit passes 50% of the input power.
A power ratio of 0.5 corresponds to approximately -3.01 dB.
Example 3: Voltage Gain
A circuit increases voltage from 1 V to 2 V under suitable impedance conditions.
The voltage gain is approximately +6.02 dB.
Example 4: -20 dB Attenuation
Find the power ratio corresponding to -20 dB.
Therefore, -20 dB corresponds to 1% of the original power, or a 100:1 reduction.
dB Calculator Applications
Decibels are widely used because logarithmic ratios make very large signal ranges easier to describe and compare.
RF & Wireless
Calculate antenna gain, cable loss, amplifier gain, filter attenuation and other RF signal ratios.
Audio
Express amplifier gain, attenuator settings, signal levels and frequency-response changes.
Filters
Analyze insertion loss, attenuation and gain when evaluating filters and signal-conditioning circuits.
Communications
Compare signal gain and loss through transmission paths, amplifiers, cables and other components.
Practical dB Notes
Positive dB
A positive dB value indicates that the output is greater than the input for the ratio being calculated. It represents gain.
Negative dB
A negative dB value indicates that the output is smaller than the input. It represents attenuation or loss.
0 dB
Zero dB means the ratio is exactly 1. It does not necessarily mean zero voltage or zero power; it means equal input and output quantities.