Physics calculators

dB Calculator

Updated May 20, 2026 By Jehan Wadia
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. Whether you are studying acoustics, designing audio systems, or solving physics problems, this calculator gives you fast and accurate results. For calculations involving logarithms directly, you may also find our Log Calculator useful.

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. If you need to explore the relationship between voltage and current further, our Ohms Law Calculator can help.

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. For broader power-related calculations, try our Power Calculator.

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. If you want to work with ratios in a more general mathematical context, our Ratio Calculator is a helpful companion tool.

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 — if you need to brush up on those concepts, our Exponent Calculator and Log Calculator are great resources.

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. For related energy calculations, see our Kinetic Energy Calculator or Potential Energy Calculator.
  • Voltage (or field/amplitude) quantities: dB = 20 × log₁₀(V₁ / V₂). Use this when comparing voltage, sound pressure, or electric field strength. Our Voltage Divider Calculator is useful if you're working with voltage ratios in circuit design.

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. If you're designing speaker enclosures or subwoofer systems, our Subwoofer Box Calculator applies many of these acoustic principles in practice.

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. For related electrical calculations such as resistance, current, and power relationships, you may also want to explore our Ohms Law Calculator, Amp Calculator, or Amps to Watts Calculator. If your work involves impedance matching in audio or RF circuits, our Impedance Calculator and Capacitor Calculator can be valuable tools as well. And for verifying your results with precise scientific notation, check out the Scientific Notation Calculator or Sig Fig Calculator.


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 does the math for you instantly.

What is the 1/x button used for?

When you are in Ratio → dB mode, the 1/x button flips your ratio to its reciprocal. For example, if you entered 4, it changes to 0.25. This is useful when you want to quickly see the dB value for the inverse ratio, which will be the same number but negative.

What is the ± button used for?

When you are in dB → Ratio mode, the ± button flips the sign of your dB value. For example, 6 dB becomes −6 dB. This lets you quickly switch between gain and loss without retyping the number.

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.

How do I use the Power Gain dB Calculator section?

Enter a power ratio (like 4) in the Power Gain field, and the tool will show you the dB value and the equivalent voltage ratio. Or enter a dB value in the Decibels field, and the tool will calculate the power ratio and voltage ratio. Both fields update each other automatically.

Why does the calculator show an equivalent voltage ratio in the power gain section?

Because power and voltage are related. If you know the power ratio and both measurements share the same impedance, the voltage ratio equals the square root of the power ratio. The calculator shows this so you can see both values at once without doing extra math.

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.

Can I enter a ratio less than 1?

Yes. A ratio less than 1 means the output is smaller than the input. The calculator will return a negative dB value. For example, a ratio of 0.5 gives about −3 dB for power, meaning the power was cut in half.

Why can't I enter a ratio of zero or a negative ratio?

The dB formula uses a logarithm, and you cannot take the logarithm of zero or a negative number. A ratio of zero would mean no output at all, which equals negative infinity in dB. Negative ratios have no physical meaning for power or amplitude comparisons, so the calculator requires a positive number.

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.

How accurate are the results from this calculator?

Results are displayed to four decimal places, which is more than enough for most practical work in acoustics, audio, and electronics. The calculations use standard JavaScript math functions, which provide high precision for logarithmic and exponential operations.