Electronics & Engineering

Decibel (dB) Calculator

Convert between ratios and decibels for power and voltage (amplitude).

Your numbers

Your results

Power ratio in dB
Power ratio in dB
—
Voltage ratio in dB
—
dB to power ratio
—
dB to voltage ratio
—

Decibel (dB) Calculator by TheCalcTools

How the Decibel (dB) Calculator works

Enter a ratio to see it in decibels, and a dB value to see it as a ratio.

Power ratios use 10 × log₁₀; voltage and amplitude ratios use 20 × log₁₀ because power is proportional to voltage squared.

A gain of 3 dB is about double the power, and 6 dB is about double the voltage.

The formula

dB = 10 log₁₀(P₂ ÷ P₁)dB = 20 log₁₀(V₂ ÷ V₁)

Worked example

Using the default values shown in the calculator:

Ratio (output ÷ input)100
Decibels (dB)20
  1. A power ratio of 100 is 10 × log₁₀(100) = 20 dB.
  2. A voltage ratio of 100 is 20 × log₁₀(100) = 40 dB.
  3. 20 dB as a power ratio is 100×, and as a voltage ratio 10×.

Result:

Power ratio in dB20.000
Voltage ratio in dB40.000
dB to power ratio100.0000
dB to voltage ratio10.0000

Frequently asked questions

Why use decibels?

They turn multiplication into addition, which makes it easy to sum gains and losses along a signal path.

Is dB an absolute unit?

No, it is a ratio. Absolute levels need a reference, as in dBm (1 mW) or dBV (1 V).

Sources and further reading

More in Electronics & Engineering · All calculators

This calculator gives estimates for information only. Check important results independently before you rely on them. See our disclaimer.