Calculator: Voltage gain in decibels
Enter the labelled inputs to calculate: Gain (dB); Gain.
Enter a finite value within the formula’s domain and supported numeric range.
How the calculation works
Av=Vout/Vin; GdB=20log₁₀(Av)
Ideal lumped components are assumed. Parasitics, saturation, mutual inductance, losses and switching ripple are excluded unless explicitly included in the formula.
Values must satisfy the formula’s domain. Nonzero results too small or too large for reliable representation are rejected.
Frequently asked questions
How is the result calculated?
Av=Vout/Vin; GdB=20log₁₀(Av)
What assumptions apply?
Ideal lumped components are assumed. Parasitics, saturation, mutual inductance, losses and switching ripple are excluded unless explicitly included in the formula.
How precise are the displayed results?
Numerical results show up to ten significant digits. Rounding does not improve the accuracy of the input measurements or the model. Values must satisfy the formula’s domain. Nonzero results too small or too large for reliable representation are rejected.
How we verified this calculator
The calculator is checked against 3 reference cases computed independently of its code. Last passed: .
| # | Inputs | Expected result |
|---|---|---|
| 1 |
Voltage Vin (V) = 0.1
Voltage Vout (V) = 1
|
Gain (dB): 20
Gain: 10
|
| 2 |
Voltage Vin (V) = 1
Voltage Vout (V) = 0.5
|
Gain (dB): -6.020599913
Gain: 0.5
|
| 3 |
Voltage Vin (V) = 0.025
Voltage Vout (V) = 3.3
|
Gain (dB): 42.41147862
Gain: 132
|