Formula and Method for the Decibel (dB) Calculator
The decibel (dB) is a logarithmic unit used to express the ratio between two values of a physical quantity — typically power, intensity, voltage, or sound pressure — relative to a reference value. Because human hearing and many engineering signals span an enormous range (a factor of a trillion or more between the quietest and loudest sounds), decibels compress that range into a compact, additive scale. This calculator takes a reference value (P1) and a measured value (P2) and applies the standard IEC/ANSI decibel convention: dB = 10 × log10(P2/P1) for power-type quantities such as power, energy, or intensity, or dB = 20 × log10(P2/P1) for field/amplitude-type quantities such as voltage, current, or sound pressure.
Power quantities vs. field/amplitude quantities
Choose "Power quantity" when your measurement is proportional to power or energy — electrical power in watts, acoustic intensity in W/m², or transmitted signal power. Choose "Field/amplitude quantity" when your measurement is a root-mean-square amplitude such as voltage, current, or sound pressure. Because power P is proportional to the square of amplitude A (P ∝ A²), a given ratio of amplitudes produces twice as many decibels as the same ratio of powers — that is why the field formula uses a multiplier of 20 instead of 10. Mixing these up is the single most common decibel mistake: applying 10×log10 to a voltage ratio (or 20×log10 to a power ratio) gives a result exactly double or half of the correct value.
Reading the result and common benchmarks
A positive dB value means P2 is larger than P1 (a gain or amplification); a negative value means P2 is smaller (a loss or attenuation); 0 dB means the two values are exactly equal. A few benchmarks are worth memorizing: +3 dB ≈ double the power, +10 dB = 10× the power, +6 dB ≈ double the amplitude, and +20 dB = 10× the amplitude. Because -3 dB corresponds to roughly half the power, engineers call it the "half-power point" — the standard definition of a filter's cutoff frequency or an amplifier's bandwidth limit.
Real-world applications
- Audio and home theater equipment specify amplifier gain, speaker sensitivity, and signal-to-noise ratio in decibels.
- Telecom and RF engineers use dB to describe cable loss, antenna gain, and attenuation over long transmission lines.
- Acoustics and hearing safety measurements (sound pressure level) use the 20×log10 field formula relative to a 20 µPa reference.
- Electronics datasheets report amplifier and filter gain/loss in dB because it turns multiplicative chains of gains and losses into simple addition and subtraction.