Decibel (dB) Calculator

Convert a power or amplitude ratio to decibels.

Ad placeholder (leaderboard)
Enjoying the tools? Go Pro for £4.99 (one-time) and remove all ads — forever, on this device. Remove ads — £4.99

Decibel (dB) calculator

A decibel expresses a ratio between two values on a logarithmic scale. This calculator converts a power or amplitude ratio into decibels — useful in audio, electronics, RF and acoustics, where gains, losses and signal levels are quoted in dB.

How it works

The formula depends on the type of quantity:

  • Power (watts): dB = 10 · log₁₀(P / P₀)
  • Amplitude (voltage, current, sound pressure): dB = 20 · log₁₀(A / A₀)

The amplitude form uses 20 instead of 10 because power is proportional to amplitude squared, and log of a square doubles the coefficient. Both values must be greater than zero. A positive result is a gain; a negative result is a loss (attenuation); zero means the values are equal.

Example

Measured power of 2 W against a reference of 1 W, in power mode:

dB = 10 · log₁₀(2 / 1) = 10 · 0.3010 = 3.01 dB

The same 2:1 ratio in amplitude mode (e.g. 2 V vs 1 V) gives 20 · log₁₀(2) = 6.02 dB.

RatioPower (10·log)Amplitude (20·log)
2 : 1+3.01 dB+6.02 dB
10 : 1+10 dB+20 dB
1 : 2−3.01 dB−6.02 dB
1 : 10 dB0 dB

Every calculation runs locally in your browser, with no network requests.

Ad placeholder (rectangle)