Physics calculators

dB Calculator

Updated Sep 1, 2026 By Jehan Wadia
Rate Formulas
Core dB ↔ Ratio Converter
Convert between decibel values and linear ratios for power or voltage quantities. Results update live as you type.
Ratio must be a positive number.
Primary Result
Power dB 3.0103 dB
Reference Values (Both Quantity Types)
Power dB (10×log₁₀) 3.0103 dB
Voltage dB (20×log₁₀) 6.0206 dB
Power Gain dB Calculator
Calculate dB from a power ratio (P1/P2) or reverse-calculate the power ratio from a dB value. Fields are bidirectional — edit either one.
Power gain must be a positive number.
Edit this → dB auto-updates
Please enter a valid number.
Edit this → Power Gain auto-updates
Result Summary
Power Gain (P1/P2) 2.0000
Decibels (dB) 3.0103 dB
Equivalent Voltage Ratio 1.4142

Introduction

A decibel (dB) is a unit used to measure how loud a sound is, how strong a signal is, or how much power changes between two points. Instead of using large or small numbers, the decibel scale uses a simple logarithmic formula to compare one value to another. This makes it much easier to work with the wide range of values found in acoustics, electronics, and audio engineering. For example, a normal conversation is about 60 dB, while a jet engine can reach 140 dB, a difference that represents millions of times more sound energy.

This dB calculator helps you quickly convert between decibel values and linear ratios. You can switch between power quantities (like sound intensity or electrical power) and field quantities (like sound pressure or voltage), which use different formulas. The power formula is dB = 10 × log₁₀(ratio), and the voltage or amplitude formula is dB = 20 × log₁₀(ratio). The tool also includes a dedicated power gain calculator that lets you enter either a power ratio or a dB value and instantly see the other. This calculator gives you fast and accurate results for studying acoustics, designing audio systems, or solving physics problems.

How to Use Our dB Calculator

This dB calculator converts between decibel values and linear ratios. Enter your known value and the tool will instantly compute the equivalent in decibels or as a ratio, depending on your chosen mode.

Conversion Direction: Choose whether you want to convert a ratio into decibels (Ratio → dB) or convert a decibel value back into a linear ratio (dB → Ratio). This sets the direction of the calculation.

Quantity Type: Select whether you are working with a power quantity (like watts or energy) or a voltage/amplitude quantity (like volts or sound pressure). Power uses the formula 10×log₁₀, while voltage uses 20×log₁₀, so picking the right type is important for an accurate result.

Enter Ratio or dB Value: Type your known number into the input field. If you chose Ratio → dB, enter a positive ratio such as 2 or 100. If you chose dB → Ratio, enter a decibel value like 3 or -6. The result updates as you type.

1/x or ± Button: In Ratio → dB mode, click this button to quickly flip your ratio to its reciprocal (for example, 2 becomes 0.5). In dB → Ratio mode, it flips the sign of your dB value (for example, 3 dB becomes -3 dB).

Power Gain (P1/P2): In the Power Gain dB Calculator section, enter the ratio of two power levels. The tool will compute the equivalent value in decibels and also show the corresponding voltage ratio.

Decibels (dB): Alternatively, type a dB value directly into this field and the calculator will work backwards to find the power gain ratio and the equivalent voltage ratio. Both fields are bidirectional, so editing one automatically updates the other.

What Is a Decibel (dB)?

A decibel (dB) is a unit used to measure how much stronger or weaker one signal is compared to another. Instead of using regular numbers that can get very large or very small, the decibel scale uses logarithms to squeeze those numbers into a range that is easier to work with. You will find decibels used in acoustics, electronics, telecommunications, and many other fields where comparing power or amplitude levels matters.

Why Do We Use a Logarithmic Scale?

Human hearing covers a huge range of sound intensities. The loudest sound you can tolerate is roughly one trillion times more powerful than the quietest sound you can detect. Writing out numbers that large is impractical. The decibel scale compresses this range so that every time power doubles, you add about 3 dB. Every time power increases by a factor of 10, you add exactly 10 dB. This makes comparing levels simple and fast. The underlying mathematics relies on exponents and logarithms.

Power dB vs. Voltage dB

There are two common formulas for calculating decibels, and which one you use depends on what you are measuring:

  • Power (or energy) quantities: dB = 10 × log₁₀(P₁ / P₂). Use this when comparing power levels, sound intensity, or energy values.
  • Voltage (or field/amplitude) quantities: dB = 20 × log₁₀(V₁ / V₂). Use this when comparing voltage, sound pressure, or electric field strength.

The reason for the difference is that power is proportional to the square of amplitude. So 20 × log₁₀ is really just 10 × log₁₀ applied to the squared ratio, which accounts for that relationship automatically.

Common dB Values to Remember

A few reference points make the decibel scale easy to use in everyday work:

  • 0 dB: No change. The two values being compared are equal (ratio of 1).
  • 3 dB: Power doubles (ratio of 2). Voltage increases by about 1.41×.
  • 10 dB: Power increases 10 times. This is roughly perceived as "twice as loud" in acoustics.
  • 20 dB: Power increases 100 times. Voltage increases 10 times.
  • −3 dB: Power is cut in half. This is the standard cutoff point for filters and bandwidth specifications.

Decibels in Acoustics and Sound

In acoustics, sound levels are often expressed in dB SPL (sound pressure level), which uses a reference pressure of 20 micropascals, the approximate threshold of human hearing. Because sound pressure is an amplitude quantity, the 20 × log₁₀ formula applies. For example, normal conversation sits around 60 dB SPL, while a rock concert can reach 110 dB SPL or more. That 50 dB difference means the concert's sound pressure is about 316 times greater than conversational speech. Sound is fundamentally a wave phenomenon, so understanding wavelength is closely related to acoustic analysis.

How to Use This Calculator

The Core dB ↔ Ratio Converter lets you go in either direction: enter a linear ratio to find its decibel value, or enter a dB value to find the corresponding ratio. You can choose whether your quantity is power-based or voltage-based, and the calculator shows results for both types so you can compare. The Power Gain dB Calculator focuses specifically on power ratios and works bidirectionally. Type in a power gain and get dB, or type in dB and get the power gain. It also shows the equivalent voltage ratio for convenience.


Formulas used

Power dB from Ratio
dB = 10 \times \log_{10}\!\left(\frac{P_1}{P_2}\right)
Voltage/Amplitude dB from Ratio
dB = 20 \times \log_{10}\!\left(\frac{V_1}{V_2}\right)
Power Ratio from dB
\frac{P_1}{P_2} = 10^{\,dB/10}
Voltage/Amplitude Ratio from dB
\frac{V_1}{V_2} = 10^{\,dB/20}

Frequently asked questions

What is the difference between power dB and voltage dB?

Power dB uses the formula dB = 10 × log₁₀(ratio). Voltage dB uses dB = 20 × log₁₀(ratio). The factor of 20 exists because power is proportional to the square of voltage. So when you square a voltage ratio and take the log, you get twice the value. Use power dB for watts, intensity, or energy. Use voltage dB for volts, sound pressure, or amplitude.

Why does doubling power only add 3 dB?

Because decibels use a logarithmic scale. When you double power, you calculate 10 × log₁₀(2), which equals about 3.01 dB. The log scale compresses large ranges into small numbers. So every time power doubles, you add roughly 3 dB. Every time it increases 10 times, you add 10 dB.

Can dB values be negative?

Yes. A negative dB value means the output is weaker than the input. For example, −3 dB means the power has been cut in half. A value of −10 dB means the power dropped to one-tenth of the original. Negative dB values are common when talking about signal loss or attenuation.

What does 0 dB mean?

A value of 0 dB means there is no change between the two levels being compared. The ratio is exactly 1, so the input and output are equal. It does not mean silence or zero power. It simply means the two values match.

How do I convert dB back to a ratio?

For power quantities, use ratio = 10^(dB/10). For voltage quantities, use ratio = 10^(dB/20). In this calculator, select the dB → Ratio mode, choose your quantity type, and enter the dB value. The tool calculates the result instantly.

What is dB SPL?

dB SPL stands for decibels of sound pressure level. It measures sound pressure compared to a reference of 20 micropascals, which is the quietest sound most people can hear. Since sound pressure is an amplitude quantity, it uses the 20 × log₁₀ formula. Normal speech is about 60 dB SPL, and a jet engine is around 140 dB SPL.

Is 10 dB really twice as loud?

Roughly, yes. A 10 dB increase means 10 times more power. Human hearing perceives this as about twice as loud. A 3 dB increase (double the power) is the smallest change most people can clearly notice. Perceived loudness and measured power do not increase at the same rate because our ears respond logarithmically.

What is the difference between dB and dBm?

dB is a relative unit that compares two values. dBm is an absolute unit that compares a power level to a fixed reference of 1 milliwatt. So 0 dBm equals 1 mW, 10 dBm equals 10 mW, and 30 dBm equals 1 watt. This calculator works with relative dB values, not dBm.