Skip to main content
DD-CAT IDE logoDD-CAT IDE

Article · Tech Insights

dB Calculator Notes: Power, Voltage, and dBm Conversion and Common Mistakes

Favorite

When debugging RF and audio systems, I constantly convert between power ratios, voltage ratios, and decibel values. These notes organize the dB formulas, explain the differences among references such as dBm and dBV, walk through the online calculator with a 3× voltage gain example, and summarize common mistakes such as using 10× for power and 20× for voltage.

ShareWeiboXLinkedIn

Key points

The core rule for decibel (dB) conversion is: power ratio to dB uses 10× the common logarithm, and voltage ratio to dB uses 20× the common logarithm (at the same impedance, power is proportional to the square of voltage); absolute power in dBm is referenced to 1 mW. For example, a 3× voltage gain is about 9.54 dB (20 × log10(3)), 10 mW equals 10 dBm, and 3 dBm is about 2 mW, not 3 mW. dBV, dBu, and dBμV are voltage levels with references of 1 V, 0.775 V, and 1 μV respectively; mixing them leads to wrong results, and dBW (referenced to 1 W) differs from dBm by 30 dB. Cascade gains should first be converted to dB and added, then converted back: 13 dB + 7 dB = 20 dB, corresponding to a 100× power ratio or a 10× voltage ratio. Common mistakes include reversing the 10/20 coefficients, forgetting the dBm reference, and multiplying cascade ratios directly; negative dB means attenuation, with every -10 dB reducing power to 1/10.

Background Pain Points

When doing RF link-budget analysis and audio measurements, I convert between ratios and decibels almost every day. After a signal passes through an attenuator, its power is only 1/100 of the original — you might instinctively say -100 dB, but it is actually just -20 dB. How many milliwatts does 0 dBm correspond to, and how many dB is a 3× voltage gain? These mental calculations tend to make me hesitate. The point where manual calculation most often gets stuck is: when should the coefficient be 10, and when should it be 20?

Formulas and Parameters

First, let me write down the formulas clearly. Power ratio to decibels:

dB=10log10left(fracP2P1right)dB = 10\\log_{10}\\left(\\frac{P_2}{P_1}\\right)

Voltage ratio to decibels: at the same impedance, power is proportional to the square of voltage, so the coefficient becomes 20:

dB=20log10left(fracV2V1right)dB = 20\\log_{10}\\left(\\frac{V_2}{V_1}\\right)

Absolute power uses dBm:

dBm=10log10left(fracP1mWright)dBm = 10\\log_{10}\\left(\\frac{P}{1mW}\\right)

My own memory trick is: power quantities use 10× the logarithm, and voltage quantities use 20× the logarithm. Also, dBV, dBu, and dBμV are voltage levels with references of 1 V, 0.775 V, and 1 μV respectively — mixing up the references leads directly to wrong results, which is especially common in audio-interface documentation. dBW often appears in high-power scenarios; its reference is 1 W, and it differs from dBm by only 30 dB.

Running It Through the Online Calculator

I verified a 3× voltage gain using the Decibel (dB) Calculator:

  • A 3:1 voltage ratio, per 20log10320\\log_{10}3, is about 9.54 dB;
  • If you mistakenly plug 3 in as a power ratio, you get 10log10310\\log_{10}3 ≈ 4.77 dB — exactly half.

For absolute power, converting 10 mW to dBm gives 10log1010=10dBm10\\log_{10}10 = 10dBm; conversely, entering 10 dBm should convert back to 10 mW. In cascaded scenarios, I prefer to convert to decibels first and then add: two amplifier stages with gains of 13 dB and 7 dB add up to 20 dB, corresponding to a 100× power ratio and a 10× voltage ratio. The calculator outputs cross-conversion results across ratio, dB, and dBm dimensions at the same time, saving table lookups.

Conclusions and Common Mistakes

Here are a few pitfalls I have personally hit or seen others fall into:

  1. Getting the coefficients backwards: using 20 for power and 10 for voltage makes every result off by a factor of two.
  2. Forgetting the reference when mixing dBm with dB. For example, 0 dBm + 3 dB = 3 dBm is valid, but 3 dBm is not 3 mW — it is about 2 mW.
  3. Multiplying cascade gains directly as ratios — once there are many numbers, order-of-magnitude errors appear; converting to dB first, adding, and then converting back is more reliable.

Negative dB means attenuation; every -10 dB reduces power to 1/10 of the original. In everyday attenuator, amplifier, and cable budgeting, I first normalize all absolute values and ratios to dB, then add or subtract, and finally cross-check in reverse with the calculator — the error rate drops noticeably.

For similar signal-chain estimation, I usually combine the site's RC low-pass filter, resistor divider, and op-amp gain tools together with dB conversion — together they cover most estimates from the sensor to the ADC front end.

Get new articles by email

Enter your email — we notify you about new articles and releases (unsubscribe anytime).

Related reading

Tech Insights

学习泡妞

学习这件事和泡妞是一回事:为什么不想学、学不会、记不住,蒙卦和逻辑学一句话就点破,一切科学简单到只剩一个「咔嗒」声。用一条条对比的方式,把自学讲成泡妞,看完就忘不掉。

Tech Insights

童话版偏置电路:从电阻分压到 ΔV/R 型,把放大器的「待命点」钉住

放大器的本事全看「待命点」钉在哪:钉得偏,信号一大就削顶;钉得飘,电源一抖就全歪。这篇用斜坡上的木桶讲清偏置是什么,再把六代做法一代代推出来:电阻分压 → 二极管接法当小电阻 → 恒流源当无穷大电阻 → 自偏置四管环(为什么必然「要么死要么不定」)→ 源极垫电阻的 ΔV/R 型 → 大电流的 V/R 型。全篇一套 1.8 V / μCox=200 µA/V² 的数字算到底,附四种结构的电源敏感性对照曲线、五个最容易踩的坑和一屏速记卡。

Tech Insights

童话版电流镜:12 种常用接法一次枚举(附公式、速记卡与选型树)

电流镜只有一句话——共用一个栅压,电流按宽长比被抄过去;但"怎么抄得更稳"有十二条常见路。这篇按"比例 / 叠管子 / 加反馈 / 自己造"四类把常用电流镜全部枚举:单管、源极退化、Widlar、共源共栅、高摆幅、多重共源共栅、威尔逊、改进型威尔逊、增益提升 RGC、β 倍乘、有源电流镜、BJT 版,每种都给 R_out、V_out,min、管数和一句"什么时候用它";再配三代摆幅对照、1.8 V·200 µA·±1% 的选型算例、失配与版图规矩、五个实战场景、七条踩坑和一屏速记卡。