This calculator converts a decibel (dB) value into a linear ratio, either for amplitude (voltage, current, sound pressure, or field quantities) or for power (energy, intensity, or power quantities). You enter the dB value and choose the type, and you get back the corresponding ratio. The decibel is a logarithmic unit, so a fixed dB change always represents the same multiplicative factor, and the formula depends on whether you are comparing powers or amplitudes.
Formula
The decibel is defined as ten times the base-10 logarithm of a power ratio:
Power ratio (in dB) = 10 × log₁₀(P₂ / P₁)
For amplitude quantities (voltage, current, sound pressure, acceleration, etc.), the ratio is squared to get power, so the formula becomes:
Amplitude ratio (in dB) = 20 × log₁₀(A₂ / A₁)
To convert back from dB to a linear ratio, invert the logarithm:
- Power ratio = 10^(dB / 10)
- Amplitude ratio = 10^(dB / 20)
Where:
- dB = the decibel value you have (positive for gain, negative for loss)
- P₂ / P₁ = ratio of two power levels (unitless)
- A₂ / A₁ = ratio of two amplitudes (unitless)
The factor of 10 vs 20 is the single most important detail. Using 10 for an amplitude ratio gives a result that is the square of the correct value, which is a common error.
Worked Example
Using the calculator defaults: 6 dB, power type.
Step 1: Identify the formula. Since the type is Power, use the factor 10:
ratio = 10^(6 / 10)
Step 2: Compute the exponent: 6 / 10 = 0.6
Step 3: Evaluate 10^0.6 ≈ 3.9811
So 6 dB of power gain equals a ratio of about 3.98. If you instead chose Amplitude, the result would be 10^(6/20) = 10^0.3 ≈ 1.995, which is the square root of 3.98. This matches the calculator’s output.
Why the Decibel Exists
The decibel was originally used to measure signal loss in telephone lines. It is a convenient way to handle enormous ranges: human hearing spans from the threshold of hearing (0 dB SPL) to the threshold of pain (around 120 dB SPL), a power ratio of 10¹² (a trillion to one). Writing such numbers as logarithms keeps them compact and makes multiplication of gains become addition of dB values.
For example, if you cascade two amplifiers with gains of 20 dB and 30 dB, the total gain is 50 dB, which corresponds to a power ratio of 10^(50/10) = 100,000. In linear terms you would multiply 100 × 1000 to get the same result, but the dB addition is simpler.
Power vs Amplitude: The 10 vs 20 Rule
The distinction is not optional. The dB definition always starts with power. When you have an amplitude (like volts or pascals), you calculate the power ratio as the square of the amplitude ratio, because power is proportional to amplitude squared (P ∝ V², I², or p²). Taking the logarithm of that square brings out the factor of 2, turning 10 into 20.
Common examples:
- Voltage gain of an amplifier: 20 dB means V_out / V_in = 10^(20/20) = 10.
- Sound pressure level: +20 dB SPL means the pressure is 10 times larger, but the intensity (power) is 100 times larger.
- Antenna gain: Usually specified in dBi (decibels relative to isotropic), and it is a power ratio, so use 10.
- Signal-to-noise ratio (SNR): Often given in dB as a power ratio, so use 10.
If you are unsure whether a given dB value is power or amplitude, check the context. In audio, a +6 dB change is often described as “twice the amplitude” (voltage), which is 20·log₁₀(2) ≈ 6.02 dB. In RF engineering, a 3 dB power increase means doubling the power (10·log₁₀(2) ≈ 3.01 dB).
How to Read the Result
The ratio you get is a unitless multiplier. A ratio of 1 means no change (0 dB). A ratio greater than 1 is a gain; less than 1 is a loss or attenuation. For example:
- 0 dB → ratio = 1 (unity)
- 3 dB (power) → ratio ≈ 2.00
- 6 dB (power) → ratio ≈ 3.98
- 10 dB (power) → ratio = 10
- 20 dB (power) → ratio = 100
- -3 dB (power) → ratio ≈ 0.50 (half power)
- -6 dB (amplitude) → ratio ≈ 0.50 (half amplitude)
When you see “dB” without a suffix, it is usually a power ratio. Suffixes like dBm (decibels relative to 1 milliwatt) or dBV (decibels relative to 1 volt) are absolute levels, not ratios, but the same conversion applies: 0 dBm = 1 mW, and 20 dBV = 10 V.
Common Mistakes and Misconceptions
The most frequent error is using the wrong factor (10 vs 20). Another is forgetting that a negative dB value gives a ratio less than 1. For instance, -20 dB (power) is 0.01, not -100. Also, many people assume that “twice as loud” is 2 dB, but in acoustics, a perceived doubling of loudness is roughly 10 dB, not 2 dB. That is a psychoacoustic rule of thumb, not a mathematical identity.
Another trap: converting dB to a ratio and then multiplying by a reference level. If you have a signal of 10 mW and a gain of 13 dB (power), the output is 10^(13/10) ≈ 19.95 times 10 mW = 199.5 mW. Do not add dB to the reference; convert first.
Finally, rounding: a 3 dB power gain is exactly 10^(0.3) ≈ 1.995, often rounded to 2. For precise work, keep at least three significant figures.
Limits of the Formula
The conversion is mathematically exact for any real dB value, but it assumes the ratio is positive and real. In practice, negative dB values are common (losses), and the formula handles them fine. The calculator limits inputs to -200 to +200 dB, which covers extreme cases: 200 dB power is a ratio of 10²⁰, far beyond any realistic physical system. For amplitude, 200 dB is 10¹⁰, also extreme. If you need to convert values outside this range, you can use the formula directly.
Also note that the decibel is a dimensionless unit, so the ratio you get is unitless. If you want an absolute level (like watts or volts), you must multiply by a reference value. This calculator gives only the ratio, which is what the title asks for.
Frequently Asked Questions
What is the difference between dB and dBi?
dB is a generic ratio. dBi is a specific ratio: the gain of an antenna relative to an isotropic radiator. Both use the power formula (factor 10). So 10 dBi means a power ratio of 10 relative to isotropic.
How do I convert dB to a percentage?
First convert to a ratio, then subtract 1 and multiply by 100. For example, 6 dB power gives a ratio of 3.98, so the increase is (3.98 – 1) × 100 = 298%. For a loss of -6 dB, the ratio is 0.25, so the decrease is (1 – 0.25) × 100 = 75%.
Is 3 dB twice the power or twice the amplitude?
3 dB is approximately twice the power (10^(3/10) ≈ 1.995). For amplitude, 3 dB is approximately 1.41 times (10^(3/20) ≈ 1.413). So 3 dB always means double the power, but only 1.41 times the amplitude. To get double the amplitude, you need 6.02 dB.
Why is 0 dB not zero?
0 dB means a ratio of 1, i.e., no change. It is not “no signal”. For absolute levels, 0 dBm means 1 milliwatt, and 0 dB SPL is the threshold of hearing, which is a tiny but nonzero pressure. The confusion arises because dB is relative.
Can I use this calculator for sound pressure level (SPL)?
Yes, but be careful: SPL is an amplitude quantity (pressure), so use the Amplitude type. A 20 dB SPL increase means 10 times the pressure, which corresponds to 100 times the intensity. The calculator will give you the pressure ratio.
What does “+6 dB” mean in audio mixing?
In most audio equipment, a +6 dB change in a level control refers to voltage (amplitude), so it doubles the voltage. That is a power increase of 4 times, since power ∝ V². Use the Amplitude type to get a ratio of 2.
Related
Formula used
in db | Value in dB | dB | 6 | -200 | 200 sel type | Quantity type | Power=1, Amplitude=2 out ratio | Ratio | - | pow(10, db / (10 if type == 1 else 20)) | 4
Each line is one input (in, sel, list) or one result (out: label, unit, formula, decimals). How the calculators work
Method: the standard formula for this calculation, rounded as each result states. See how the calculators work or report an error.
- How Are Decibels Calculated? The Math Explained20.00 dB
- Height to Waist Ratio: What It Means & How to Measure0.48
- Average NRR 20 dB: What It Really Means83.5 dB
- Gold to Silver Ratio: Meaning, Highs, Lows & How to Use It85.7 oz silver per oz gold
- Decibel to Power Ratio: How to Convert dB to Watts10.000000 W
- Decibel Formula for Signal-to-Noise Ratio20.00 dB