Saved

Press the star next to a tool's name to save it.

All my tools

dB Calculator

Use this dB calculator to convert a power ratio or an amplitude ratio to decibels, and to convert decibels back to a ratio, with the correct factor of 10 or 20.

Restored your last values ·

Choose a power ratio or an amplitude ratio (voltage, current or sound pressure) to convert to decibels, or convert decibels back to a ratio. Enter the value and press Calculate.

Everything is worked out in your browser. Nothing you type is sent anywhere.

–

–

Choose what you want, enter a value and press Calculate.

See full result

A dB calculator converts a ratio of powers or amplitudes to decibels, and converts decibels back to a ratio. Choose whether the ratio is of power, or of an amplitude such as voltage or sound pressure, enter the value and read the result.

How to use the dB calculator

  1. Choose what you want.
  2. Enter the ratio or the decibels.
  3. Press Calculate.

What a decibel is

The decibel is a logarithmic unit that expresses the ratio of two values of a power or a root-power quantity [1]. A tenth of a bel, it is used in electronics, acoustics and telecommunications, where values span many orders of magnitude. A logarithmic scale turns a ratio of a million into a simple 60, and it turns multiplication into addition.

Power ratios

For a ratio of powers the level in decibels is 10 × log₁₀ of the ratio [1]. A ratio of 2 gives 3.0103 dB, a ratio of 10 gives 10 dB and a ratio of 1,000 gives 30 dB. A ratio below 1 gives a negative number: half the power is −3.0103 dB. A ratio of exactly 1 gives 0 dB, which means that the two powers are equal.

Amplitude ratios

For quantities such as voltage, current or sound pressure, whose square is proportional to power, the level is 20 × log₁₀ of the ratio [1]. A doubling of the voltage is 6.0206 dB and a tenfold increase is 20 dB. The factor is 20 and not 10 because the power goes with the square of the amplitude, so the logarithm of the square is twice the logarithm. Always use the correct factor for your quantity.

Back to a ratio

To go back from decibels, the power ratio is 10 raised to dB ÷ 10, and the amplitude ratio is 10 raised to dB ÷ 20. Three decibels give a power ratio of 1.9953, close to 2, and an amplitude ratio of 1.4125. A level of 20 dB is an amplitude ratio of 10 and a power ratio of 100. These are our own calculations from the formulas on the page.

Rules of thumb

Some values are worth remembering. 3 dB is about double the power, 6 dB about double the amplitude, 10 dB is ten times the power and 20 dB ten times the amplitude. Adding decibels multiplies the ratios, so a gain of 10 dB followed by one of 20 dB is a total of 30 dB, or a power gain of 1,000. These rules are our own summary.

Reference levels

A decibel is a ratio, so it needs a reference to give an absolute level. Units such as dBm, dBW, dBV and dB SPL add a letter to say what the reference is. The calculator works with plain ratios, but you can use it for these too: divide your value by the reference first, and the answer is in the corresponding unit.

Gains and losses

In an amplifier or a cable, a gain is a positive number of decibels and a loss is a negative one. A cable with a loss of 3 dB passes half the power, and a loss of 10 dB passes one tenth. Use the power ratio option for a loss in power. For a voltage ratio of 0.5 use the amplitude option, which gives −6.0206 dB.

Limits

You cannot take the logarithm of zero or of a negative ratio, so the ratio must be above zero, and the calculator says so. Decibels back to ratio accept any number, positive or negative. The results are shown to six significant figures. For a ratio of exactly a power of ten, the result is a whole number of decibels.

Using the calculator

Pick the correct mode first, since the factor of 10 or 20 matters. Enter the ratio, or the decibels for the reverse. The working line shows the formula. Use it to check amplifier gains, filter attenuations, signal-to-noise ratios and sound levels, and to convert back and forth when you read a data sheet.

Worked examples

An amplifier that raises the power from 2 watts to 50 watts has a gain of 10 × log₁₀(25), which is 13.98 dB. A filter that reduces a voltage from 5 volts to 0.5 volts has an attenuation of 20 dB. A signal-to-noise ratio of 40 dB means a power ratio of 10,000, and an amplitude ratio of 100. These are our own calculations. Try them in the calculator and compare the results with the rules of thumb above.

Adding decibels

Because decibels are logarithms, gains and losses in a chain of stages simply add. A transmitter that puts out 30 dBm, through a cable with a loss of 3 dB and an antenna with a gain of 12 dB, gives an output of 39 dBm. Work in decibels for the chain, then convert the total back to a ratio with the calculator.

Where decibels are used

Decibels appear in audio, where sound levels and signal-to-noise ratios are quoted, in radio, where gains, losses and link budgets are worked out, and in electronics, where the gain of an amplifier or the attenuation of a filter is given. Because the human ear responds to loudness roughly on a logarithmic scale, the decibel is also a natural unit for sound. The calculator handles the arithmetic for all of them in the same way.

Common mistakes

  • Using 10 for voltage ratios. Use 20.
  • Forgetting the reference. dBm, dBV and others need one.
  • Taking the log of a negative number. A ratio must be above zero.
  • Treating dB as an absolute unit. It is a ratio.

What next

Use this often? Add dB to your Home screen.

Frequently asked questions

What is a dB calculator?

A tool that converts between ratios and decibels.

What is the formula for decibels?

10 × log₁₀ of a power ratio, or 20 × log₁₀ of an amplitude ratio.

How many dB is double the power?

About 3.01 dB.

How many dB is double the voltage?

About 6.02 dB.

Why is it 20 for voltage and 10 for power?

Because power is proportional to the square of the voltage.

What went wrong?

We only receive the reason you pick, never what you typed into the tool.

Thanks for your feedback.

More Physics & Science Tools