Why Decibels Use a Logarithmic Scale
The decibel (dB) is a logarithmic unit that expresses the ratio between two power levels. It exists because the range of signals in electronics, audio, and telecommunications is enormous. A human ear can detect sounds from 0.0000000001 watts per square meter (threshold of hearing) to 10 watts per square meter (threshold of pain). That is a range of 100 billion to 1. Writing these numbers in linear units is unwieldy. In decibels, the same range is 0 dB to 130 dB, which is far easier to work with. The logarithmic scale also matches how human hearing works: we perceive loudness logarithmically, not linearly.
The decibel was developed at Bell Labs in the 1920s to quantify signal loss in telephone lines. It is one-tenth of a bel, named after Alexander Graham Bell. The National Institute of Standards and Technology (NIST) maintains the SI definitions of the watt and related units that underpin all decibel calculations. For calculating the underlying power values, you can also use our Watt Calculator.
What This Calculator Does
This tool has four modes. The first converts a power or voltage ratio to decibels. The second converts decibels back to a power or voltage ratio. The third converts dBm (decibels relative to 1 milliwatt) to absolute power in watts or milliwatts. The fourth converts an absolute power value to dBm. Together, these cover the most common decibel calculations in RF engineering, audio engineering, and general electronics.
- Ratio to dB: Enter two power values (and optionally two voltage values) to get the ratio in dB
- dB to Ratio: Enter a dB value to get the equivalent power and voltage ratios
- dBm to Power: Enter a dBm value to get the absolute power in mW and W
- Power to dBm: Enter a power value with unit to get the equivalent dBm
How the Calculation Works
Power ratio in dB = 10 x log10(P1 / P2)
Voltage ratio in dB = 20 x log10(V1 / V2)
dBm = 10 x log10(power in mW)
Power from dBm: mW = 10^(dBm / 10)
- Power ratio (10x factor): The factor of 10 applies because the decibel is defined for power. A 10:1 power ratio is 10 dB. A 100:1 ratio is 20 dB. A 1000:1 ratio is 30 dB. Each 10 dB represents a factor of 10 in power
- Voltage ratio (20x factor): The factor of 20 applies to voltage (or current, pressure, field strength) because power is proportional to voltage squared. Since log(v^2) = 2 x log(v), the factor doubles from 10 to 20. A 10:1 voltage ratio is 20 dB. This assumes the two voltages are measured across the same impedance
- dBm (absolute power): dBm is decibels relative to 1 milliwatt. 0 dBm = 1 mW, 10 dBm = 10 mW, 20 dBm = 100 mW, 30 dBm = 1 W, -10 dBm = 0.1 mW. It is an absolute unit, unlike dB which is always a ratio
- 3 dB rule: A 3 dB increase is approximately double the power (10^0.3 = 2.0). A 3 dB decrease is approximately half the power. This is the most useful number to memorize for quick mental calculations
How to Use the Calculator
- Select the mode you need from the four tabs
- For ratio to dB: enter the two power values and optionally two voltage values
- For dB to ratio: enter the decibel value
- For dBm conversions: enter the dBm or power value with the correct unit
- Click Calculate to see the result with formula breakdown
Example Calculations
Example 1: WiFi Signal Strength
Maria, a network engineer at a university in Michigan, is measuring WiFi signal strength. Her phone reports -65 dBm at 10 feet from the access point and -75 dBm at 40 feet. The difference is 10 dB, which means the power at 40 feet is 1/10 of the power at 10 feet. Converting -65 dBm to power: mW = 10^(-65/10) = 10^(-6.5) = 3.16 x 10^-7 mW = 0.316 nW. Converting -75 dBm: mW = 10^(-7.5) = 0.0316 nW. The signal is extremely weak but still usable for WiFi, which typically works down to about -80 dBm. For understanding the voltage and current in the antenna circuit, use our Ohm's Law Calculator.
Example 2: Audio Amplifier Gain
James, an audio engineer in Nashville, is comparing two amplifiers. Amplifier A outputs 50 W, amplifier B outputs 100 W. The ratio is 100 / 50 = 2. In dB: 10 x log10(2) = 3.01 dB. The 100 W amplifier is only 3 dB louder than the 50 W amplifier. This is a perceptible but small difference. To get a 10 dB increase (which most people perceive as "twice as loud"), he would need 10 times the power, or 500 W. This is why audio professionals think in dB rather than watts: the numbers correspond more closely to human perception.
Example 3: Fiber Optic Power Budget
Priya, a telecommunications engineer in Dallas, is designing a fiber optic link. The transmitter outputs +3 dBm (2 mW). The fiber loss is 0.4 dB per km over 20 km, totaling 8 dB. Connector loss is 1 dB per connector with 4 connectors, totaling 4 dB. Total loss = 8 + 4 = 12 dB. Received power = 3 - 12 = -9 dBm. Converting to mW: 10^(-9/10) = 0.126 mW. The receiver sensitivity is -28 dBm (0.0016 mW), so the link has a margin of -9 - (-28) = 19 dB. This is a comfortable margin that accounts for temperature variations, aging, and minor cable damage.
Real-World Scenarios
Cell Tower Signal Calculation
Robert, an RF engineer at a cellular company in New Jersey, is calculating the received signal power from a cell tower. The tower transmits at 43 dBm (20 W) with an antenna gain of 15 dBi. The free-space path loss at 1 km and 700 MHz is 32.4 + 20 x log10(1) + 20 x log10(700) = 89 dB. Received power = 43 + 15 - 89 = -31 dBm. Converting: 10^(-31/10) = 0.00079 mW = 0.79 uW. This is a strong signal for a cell phone, which typically needs -100 dBm or better to maintain a call. The 69 dB margin explains why cell phones work at significant distances from towers.
Studio Recording Levels
Sarah, a music producer in Los Angeles, is setting recording levels. Her microphone outputs -40 dBu (dB relative to 0.775 V). The preamp provides 40 dB of gain. The interface input level is -40 + 40 = 0 dBu. Converting to voltage: 0.775 x 10^(0/20) = 0.775 V. She wants to record at -18 dBFS (dB relative to full scale digital), which means the peak should be 18 dB below the maximum digital level. If full scale is +22 dBu, then -18 dBFS = +22 - 18 = +4 dBu = 1.23 V. She adjusts the preamp gain from 40 dB to 44 dB to hit the target level. Understanding dB is essential for maintaining proper gain staging throughout the recording chain.
Satellite Communication Link
David, a satellite communication engineer in Colorado, is calculating a link budget for a low-earth-orbit satellite pass. The satellite transmits at 33 dBm (2 W) with 3 dBi antenna gain. Path loss at 1000 km and 2.4 GHz is 32.4 + 20 x log10(1000) + 20 x log10(2400) = 140 dB. Ground station antenna gain is 25 dBi. Received power = 33 + 3 - 140 + 25 = -79 dBm. Converting: 10^(-79/10) = 1.26 x 10^-8 mW = 12.6 pW. The receiver sensitivity is -120 dBm, so the margin is -79 - (-120) = 41 dB. This large margin accommodates atmospheric attenuation, antenna pointing errors, and polarization mismatch during the satellite pass.
Common Mistakes to Avoid
- Using 10x factor for voltage ratios: The 10x factor is for power ratios only. For voltage, current, pressure, or field strength ratios, use 20x. This is because power is proportional to voltage squared, and the log of a square doubles the factor. Using 10x for voltage gives half the correct dB value
- Confusing dB and dBm: dB is a ratio (relative). dBm is an absolute power level (relative to 1 mW). You cannot say "the output is 30 dB" without specifying what it is relative to. You can say "the output is 30 dBm" because the reference is built into the unit. 0 dBm is always 1 mW, but 0 dB could be any power level
- Adding dB and dBm incorrectly: You can add or subtract dB values (gains and losses) but you cannot add two dBm values. A signal at 10 dBm amplified by 20 dB becomes 30 dBm, not 30 dB. You add the dB gain to the dBm power level. You never add two absolute power levels in dBm
- Assuming equal impedance for voltage dB: The 20x factor for voltage ratios assumes both voltages are measured across the same impedance. If the impedances differ, the power ratio is not simply V1^2 / V2^2. In RF systems with 50-ohm impedance throughout, this is not an issue. In audio, where impedances vary, you must account for the impedance ratio
- Forgetting negative dBm values: dBm values below 0 represent power less than 1 mW. -10 dBm = 0.1 mW, -20 dBm = 0.01 mW, -30 dBm = 0.001 mW. Most received signals in wireless communication are negative dBm. A signal at -80 dBm is 0.00000001 mW, which is very weak but still usable
Limitations of This Calculator
This calculator handles the four most common decibel conversions: power ratio to dB, voltage ratio to dB, dBm to power, and power to dBm. It does not cover other dB variants like dBu (dB relative to 0.775 V), dBV (dB relative to 1 V), dBi (antenna gain relative to isotropic), dBd (antenna gain relative to dipole), dBFS (dB relative to full-scale digital), or dB SPL (sound pressure level). The voltage ratio calculation assumes equal impedance at both measurement points. For audio and RF systems with different impedances, you must account for the impedance ratio separately. This tool also does not handle complex (magnitude and phase) quantities used in network analysis.
Authoritative Research and Resources
- NIST: SI Units for Electric Current - The National Institute of Standards and Technology maintains the official definitions of the watt, volt, and ampere. These units underpin all decibel calculations. NIST also provides calibration services for RF power measurement, ensuring traceability for dBm measurements in telecommunications.
- ITU Recommendation V.574: Use of the Decibel - The International Telecommunication Union, a UN agency, publishes the official standard for the use of decibels in telecommunications. This recommendation defines dB, dBm, dBu, dBV, and other variants used in telecommunication engineering. It is the authoritative reference for how decibels should be used in international standards.
- Audio Engineering Society (AES) - The AES is the professional society for audio engineers. Their standards and publications cover the use of decibels in audio applications, including dBu, dBV, dBFS, and dB SPL. Their journal papers provide detailed treatment of gain staging, dynamic range, and perceptual loudness in recording and broadcast systems.