dB (Decibel) Calculator
Convert between linear ratios and decibels for power and voltage signals. Calculate gain or loss in dB.
dB = 10 × log₁₀(P₂ / P₁)
Must be a positive number (e.g. 2, 0.5, 100)
What is a decibel?
The decibel (dB) is a logarithmic unit used to express the ratio of two quantities, most commonly power or amplitude (voltage/current). Because it is logarithmic, dB values can be added and subtracted where ratios would need to be multiplied and divided, making them extremely convenient for signal chain analysis.
A positive dB value indicates gain (the output is larger than the input). A negative value indicates loss (attenuation). Zero dB means unity gain, no change.
Power vs voltage dB
The formula differs depending on whether you are measuring power or amplitude (voltage or current):
- Power: dB = 10 × log₁₀(P₂ / P₁)
- Voltage / Amplitude: dB = 20 × log₁₀(V₂ / V₁)
The factor of 20 for voltage arises because power is proportional to the square of voltage (P ∝ V²), so 10 × log₁₀(V²) = 20 × log₁₀(V).
Common dB reference points
- +3 dB (power): power doubles (ratio ≈ 2)
- −3 dB (power): power halves. The −3 dB point defines filter cutoff frequency
- +6 dB (voltage): voltage doubles (ratio = 2)
- +20 dB (voltage): voltage × 10 (ratio = 10)
- 0 dB: ratio = 1, unity gain
Guides & Tutorials
- dB, dBm and dBW explained
Decibels express power, voltage and signal ratios on a log scale. Learn how dB, dBm and dBW differ, how to convert between them, and why engineers use them.
Related tools
- Ohm's Law CalculatorSolve for voltage, current, resistance or power given any two values.Open tool
- Voltage Divider CalculatorCalculate output voltage from two resistors and an input voltage.Open tool
- Current Divider CalculatorCalculate branch currents through parallel resistors.Open tool
- Resistor Colour Code DecoderDecode 4, 5 and 6-band resistor colour codes to resistance values.Open tool