Decibels compress huge ratios into handy numbers. Convert a power ratio or a voltage ratio to dB against any reference you choose, or translate between dBm and real power in milliwatts and watts — the language of audio, radio and amplifier gains.
Decibels are defined on power. Power ratios use 10 × log. Since power is proportional to voltage squared (at the same impedance), the square turns into a factor of two in the log — hence 20 × log for voltage and current ratios. Mixing them up is the most common dB mistake.
Plain dB is a ratio — it needs a 'compared to what'. dBm fixes the reference at 1 milliwatt, so it expresses an absolute power: a transmitter at +30 dBm puts out 1 W; a received signal at −90 dBm is a billionth of a milliwatt. dBW does the same against 1 W.
A negative ratio in dB means the value is smaller than its reference (half the power = −3.01 dB). A negative dBm means a power below 1 mW — normal and expected for received radio signals, which are routinely −70 to −110 dBm.
Power ratio: dB = 10 × log₁₀(P ÷ Pref)
Voltage ratio: dB = 20 × log₁₀(V ÷ Vref) — the 20 appears because power goes as voltage squared, and it assumes both voltages see the same impedance
dBm to power: P (mW) = 10(dBm ÷ 10) · Power to dBm: dBm = 10 × log₁₀(P in mW)
dBW = dBm − 30 (referenced to 1 W instead of 1 mW)
Reference points worth memorizing: +3 dB ≈ double the power, +6 dB ≈ double the voltage (four times the power), +10 dB = exactly ten times the power, and 0 dBm = 1 mW — the standard reference across radio and telecom work.
They add — that is the point of logarithms. A preamp with +20 dB followed by a power amp with +26 dB gives +46 dB overall; a cable losing 3 dB subtracts 3. Working in dB turns a chain of multiplications into simple addition and subtraction.
Only when both voltages are measured across the same impedance — true inside most audio and RF chains. Comparing a voltage at a 50 Ω point with one at a 600 Ω point by 20 log alone misstates the power ratio; convert through power when impedances differ.
Sound pressure level uses dB SPL referenced to 20 µPa (the threshold of hearing), with voltage-style 20 log because it is a pressure ratio. This converter handles electrical ratios and dBm; SPL is the same mathematics with a different fixed reference.
Add this calculator to your own website or blog — it is completely free, needs no sign-up, and always shows the latest version. Copy the code below and paste it into your page where you want the calculator to appear. Keeping the small “Powered by Loona Automation” credit line under the embed helps keep this tool free — but you are free to style or remove it; the tool works either way.