NOTACAL logo

Decibel Calculator

Decibel Calculator

Give us your feedback! Was this useful?

Introduction

The decibel (dB) is a logarithmic unit used to express the ratio between two values of a physical quantity, most commonly sound pressure, electrical power, or voltage. Unlike linear scales that add and subtract directly, the decibel scale compresses vast ranges of values into manageable numbers. For example, the ratio between the quietest sound a human ear can detect and the sound of a jet engine at takeoff spans more than a trillionfold in intensity — a range that the decibel scale represents as just 0 to 130 dB [nist-sound].

The decibel originated in telecommunications at Bell Laboratories in the 1920s, where engineers needed a convenient way to express power losses in telephone lines. The unit was named after Alexander Graham Bell and was originally called the "transmission unit" before being renamed the "bel." One bel represents a tenfold ratio in power; the decibel, one-tenth of a bel, is the practical unit used today [ietf-decibel].

Decibel calculations appear in three main contexts. Acoustics and sound measurement use dB SPL (Sound Pressure Level) to quantify sound intensity relative to the threshold of human hearing at 20 micropascals. Audio engineering uses dBu, dBV, and other scaled references to describe signal levels in recording and broadcasting equipment. Telecommunications and electronics use dBm (decibels relative to 1 milliwatt), dBW, and dBrn to measure signal power, amplifier gain, and line loss [ansi-s1].

Understanding decibel math is essential for audio professionals, sound engineers, acousticians, and anyone working with signal processing. This calculator supports all three common calculation types: sound pressure level (SPL), power ratios, and voltage ratios, making it a versatile tool for both professional and educational use.

How to Use This Calculator

This calculator offers three operating modes accessed through the mode selector above. Each mode accepts a reference value and a measured value, then computes the decibel difference and the linear ratio.

SPL Mode (Sound Pressure Level)

In SPL mode, enter the reference pressure and the measured sound pressure in pascals. The default reference pressure is 20 micropascals (20 µPa), which is widely accepted as the nominal threshold of human hearing at 1 kHz [nist-sound]. The calculator computes the Sound Pressure Level in dB SPL using the formula:

Lp=20×log10(pp0)L_p = 20 \times \log_{10}\left(\frac{p}{p_0}\right)

Worked example: A sound wave with a pressure amplitude of 2 Pa relative to the standard reference of 20 µPa:

Lp=20×log10(20.00002)=20×log10(100000)=20×5=100 dB SPLL_p = 20 \times \log_{10}\left(\frac{2}{0.00002}\right) = 20 \times \log_{10}(100000) = 20 \times 5 = 100 \text{ dB SPL}

A result of 100 dB SPL corresponds to a jackhammer or a live rock concert, well above the threshold where hearing protection is required.

Power Ratio Mode

In power ratio mode, the calculator compares two power values using the formula:

L=10×log10(PP0)L = 10 \times \log_{10}\left(\frac{P}{P_0}\right)

Worked example: An amplifier delivering 100 watts of output power relative to a 1-watt reference:

L=10×log10(1001)=10×log10(100)=10×2=20 dBL = 10 \times \log_{10}\left(\frac{100}{1}\right) = 10 \times \log_{10}(100) = 10 \times 2 = 20 \text{ dB}

This result means the amplifier's output power is 20 dB above the reference. Power measurements use the factor of 10 because power is a direct measure of energy per unit time.

Voltage Ratio Mode

In voltage ratio mode, the calculator compares two voltage or amplitude values using the formula:

L=20×log10(VV0)L = 20 \times \log_{10}\left(\frac{V}{V_0}\right)

Worked example: A professional audio signal at +4 dBu uses a reference voltage of 0.775 V. A signal measured at 1.23 V relative to this reference:

L=20×log10(1.230.775)=20×log10(1.587)=20×0.2005=4.01 dBuL = 20 \times \log_{10}\left(\frac{1.23}{0.775}\right) = 20 \times \log_{10}(1.587) = 20 \times 0.2005 = 4.01 \text{ dBu}

This is a standard professional audio line level, confirming the signal is approximately 4 dB above the reference. The voltage mode uses the factor of 20 because power is proportional to voltage squared [beranek-acoustics].

The Decibel Formula

The decibel is fundamentally a ratio expressed on a logarithmic scale. The general form of the decibel calculation depends on whether the quantity being measured is a power quantity or a field quantity.

Power Quantities

For power quantities such as acoustic intensity, electrical power, or sound energy:

L=10×log10(PP0)L = 10 \times \log_{10}\left(\frac{P}{P_0}\right)

where

PP
is the measured power and
P0P_0
is the reference power. The factor of 10 converts bels to decibels. A 10 dB increase represents a tenfold increase in power. A 20 dB increase represents a hundredfold increase. A 30 dB increase represents a thousandfold increase.

Field Quantities

For field quantities such as sound pressure, voltage, current, or velocity:

L=20×log10(VV0)L = 20 \times \log_{10}\left(\frac{V}{V_0}\right)

where

VV
is the measured field quantity and
V0V_0
is the reference. The factor of 20 arises because power is proportional to the square of the field quantity for most wave phenomena. If
PV2P \propto V^2
, then:

10×log10(V2V02)=10×log10((VV0)2)=20×log10(VV0)10 \times \log_{10}\left(\frac{V^2}{V_0^2}\right) = 10 \times \log_{10}\left(\left(\frac{V}{V_0}\right)^2\right) = 20 \times \log_{10}\left(\frac{V}{V_0}\right)

This distinction is critical: using the wrong factor (10 instead of 20, or vice versa) produces an incorrect result by exactly a factor of two. The underlying rule is simple: use 10 for power-like quantities and 20 for field-like quantities [ietf-decibel].

Step-by-Step Worked Example

Calculate the dB SPL for a sound pressure of 0.5 Pa with the standard reference of 20 µPa.

Step 1: Identify the reference pressure:

p0=20×106 Pa=0.00002 Pap_0 = 20 \times 10^{-6} \text{ Pa} = 0.00002 \text{ Pa}

Step 2: Identify the measured pressure:

p=0.5 Pap = 0.5 \text{ Pa}

Step 3: Compute the ratio:

pp0=0.50.00002=25000\frac{p}{p_0} = \frac{0.5}{0.00002} = 25000

Step 4: Apply the logarithm:

log10(25000)=log10(2.5×104)=log10(2.5)+log10(104)=0.3979+4=4.3979\log_{10}(25000) = \log_{10}(2.5 \times 10^4) = \log_{10}(2.5) + \log_{10}(10^4) = 0.3979 + 4 = 4.3979

Step 5: Multiply by 20 (field quantity):

20×4.3979=87.96 dB SPL20 \times 4.3979 = 87.96 \text{ dB SPL}

A sound pressure of 0.5 Pa therefore produces approximately 88 dB SPL, which corresponds to heavy city traffic or a busy restaurant.

Common Sound Levels Reference Table

The following table lists representative sound sources and their typical SPL values. Notice how the relative intensity grows exponentially while the dB value increases linearly — this is the core advantage of logarithmic scaling.

Sound SourceSPL (dB)Relative IntensityHearing Risk
Threshold of hearing01None
Quiet library / whisper301,000None
Normal conversation601,000,000Safe
Busy city traffic80100,000,000Prolonged exposure harmful
Motorcycle / lawnmower953,160,000,000Risk after 30 min
Live rock concert11010,000,000,000Risk after 2 min
Jet engine at 50 m13010,000,000,000,000Immediate hearing damage
Common sound sources plotted by SPL in dB. Each 10 dB step represents a tenfold increase in intensity.

The bar chart above visualizes the SPL values from the table. The exponential growth becomes immediately apparent when you consider that a 60 dB conversation is 1 million times more intense than a 0 dB threshold, yet the dB scale compresses this into a mere 60-step difference.

Practical Tips

  1. Use A-weighting for hearing-related measurements. The human ear does not perceive all frequencies equally; it is most sensitive between 2 kHz and 5 kHz and less sensitive at low and very high frequencies. A-weighting applies a frequency-dependent correction to SPL measurements so that the reported value better matches perceived loudness. Most noise regulations, workplace safety standards, and hearing damage guidelines reference dBA (A-weighted decibels) rather than flat dB SPL [cdc-noise]. When measuring environmental noise or assessing hearing risk, always use an A-weighted meter if one is available.

  2. The 3 dB rule for power doubling. In power measurements, a 3 dB increase always represents a doubling of power:

    10×log10(2)=3.01 dB10 \times \log_{10}(2) = 3.01 \text{ dB}
    . This rule is fundamental in audio engineering — adding 3 dB to an amplifier's output requires twice the power. Conversely, a 3 dB loss halves the power. In field quantities (voltage, pressure), a 6 dB increase doubles the amplitude.

  3. The 10 dB perceived doubling rule. Perceptual studies have shown that a 10 dB increase in sound level is generally perceived by human listeners as approximately twice as loud, even though it represents a tenfold increase in acoustic intensity. This non-linear relationship between physical intensity and perceived loudness is a consequence of the ear's logarithmic response [asha-noise]. Knowing this helps set realistic expectations when adjusting volume: a 3 dB change is barely noticeable, a 6 dB change is clearly audible, and a 10 dB change sounds like a doubling.

  4. Protect hearing above 85 dB. The CDC and NIOSH recommend that exposure to sounds at or above 85 dBA should be limited. At 85 dBA, the safe exposure limit is 8 hours. For every 3 dB increase, the safe exposure time is halved: at 88 dBA it is 4 hours, at 91 dBA it is 2 hours, and at 94 dBA it is 1 hour [cdc-noise]. This exchange rate is known as the 3 dB exchange rate and is the standard used by most occupational health agencies worldwide.

  5. Calibrate your reference for your specific field. The decibel is always a relative unit — it has meaning only in the context of a reference value. In acoustics, dB SPL uses 20 µPa. In professional audio, dBu uses 0.775 V. In consumer audio, dBV uses 1.0 V. In telecommunications, dBm uses 1 mW. Using the wrong reference leads to meaningless or misleading results. Always confirm which reference standard applies to your measurement scenario [noaa-sound].

  6. Mind the inverse square law in free-field measurements. Sound pressure decreases by 6 dB for every doubling of distance from a point source in free-field conditions. This means that a measurement taken at 2 meters will be 6 dB lower than the same measurement at 1 meter. When reporting SPL values, always note the measurement distance, as this can dramatically affect the result.

Limitations

The decibel scale, while powerful, has several important limitations that users should understand.

Reference conditions matter. The decibel is not an absolute unit — it always expresses a ratio relative to a chosen reference. Two measurements expressed in dB may not be directly comparable if they reference different standards. For example, 0 dB SPL (20 µPa) is completely different from 0 dBu (0.775 V).

Frequency weighting changes the result. The same sound measured with different frequency weightings (A, C, Z) will produce different dB values. A low-frequency sound might measure 90 dB SPL but only 75 dBA, while a high-frequency sound might show a much smaller difference. Reports of sound levels should always specify the weighting used.

No temporal integration. A standard dB measurement captures the instantaneous or averaged level but does not account for duration. As the CDC guidelines make clear, both level and duration matter for hearing risk. A brief 120 dB impulse from a gunshot is dangerous for different reasons than sustained 90 dB exposure over 8 hours.

Does not account for room acoustics. SPL measurements in enclosed spaces are affected by reflections, standing waves, and reverberation. A measurement taken in an anechoic chamber will differ significantly from the same source measured in a tiled bathroom. Room acoustics can cause variations of 10 dB or more at different listening positions within the same room.

Inverse square law dependency. Sound pressure level varies with distance from the source, following the inverse square law. A measurement at 1 meter versus 10 meters from the same source will differ by 20 dB. The validity of an SPL measurement is always contingent on the measurement distance and the acoustic environment.

Frequently Asked Questions

Why is the decibel scale logarithmic?
The decibel scale is logarithmic because human hearing operates over an enormous range of sound intensities — from the faintest audible sound at 0 dB to the threshold of pain at 120 dB, a range of one trillion in intensity. A linear scale would be impractical because it would need to span 13 orders of magnitude. The logarithmic scale compresses this range into a convenient 0 to 130 scale that also roughly matches how human loudness perception works, since the ear responds logarithmically to changes in sound pressure.
What is the difference between dB SPL, dBm, and dBu?
These are all decibel units but with different reference values, so they measure completely different things. dB SPL (Sound Pressure Level) uses 20 micropascals as its reference and measures acoustic sound pressure in air. dBm uses 1 milliwatt as its reference and measures electrical power, commonly used in RF engineering and telecommunications. dBu uses 0.775 volts as its reference (the voltage that produces 1 mW into a 600-ohm load) and is the standard for professional audio signal levels. You cannot directly convert between these without knowing the impedance and the physical context.
What is A-weighting?
A-weighting is a frequency-dependent correction curve applied to sound level measurements so that the reported value better corresponds to human perceived loudness. The human ear is less sensitive to low frequencies (below 500 Hz) and very high frequencies (above 8 kHz). A-weighting attenuates these frequencies before the overall level is calculated, producing a value in dBA. Most occupational noise exposure regulations, including those from OSHA, NIOSH, and the EU, are specified in dBA. C-weighting (dBC) is a flatter curve used for peak measurements and very loud sounds.
How much louder is a 10 dB increase?
A 10 dB increase is generally perceived by human listeners as approximately twice as loud. However, it represents a tenfold increase in acoustic intensity. This discrepancy exists because the ear's perception of loudness is non-linear — it takes a tenfold increase in physical energy to produce a perceived doubling of loudness. A 3 dB increase is barely noticeable to most listeners, a 5 dB increase is clearly noticeable, and a 10 dB increase sounds like a substantial doubling.
Can decibels be negative?
Yes, decibel values can be negative. A negative dB value simply means the measured quantity is smaller than the reference. For example, if a sound pressure measurement is below the standard 20 µPa reference, the dB SPL value will be negative. Similarly, in audio engineering, a signal that is weaker than 0 dBu (0.775 V) will register as a negative dBu value. Negative dB values are common in recording studios when measuring noise floors, microphone self-noise, or signal attenuation.
What is the 3 dB rule and why is it important?
The 3 dB rule states that a 3 dB increase represents a doubling of power. This comes from the formula 10 × log10(2) = 3.01 dB. In acoustics, this means that if you double the acoustic power output of a sound source, the level increases by only 3 dB. In workplace hearing safety, the 3 dB exchange rate means that for every 3 dB increase in sound level, the permissible exposure time is halved — 85 dBA for 8 hours, 88 dBA for 4 hours, and so on. Some jurisdictions use a 5 dB exchange rate instead, but the 3 dB rule is scientifically more accurate.

References

  1. [1]National Institute of Standards and Technology (NIST). (n.d.). Sound Measurement and the Decibel Scale.
  2. [2]ANSI S1.1-2013. American National Standard Acoustical Terminology. Acoustical Society of America.
  3. [3]Beranek, Leo L. and Tim J. Mellow. "Acoustics: Sound Fields and Transducers." Academic Press.Buy on Amazon
  4. [4]IETF RFC 5135. (2008). Understanding Decibel Relationships in IP Network Measurements.
  5. [5]NOAA Ocean Exploration. (n.d.). Understanding Sound in the Ocean — Decibel Levels Underwater.
  6. [6]American Speech-Language-Hearing Association (ASHA). (n.d.). Noise and Hearing Loss Prevention.
  7. [7]Centers for Disease Control and Prevention (CDC). (n.d.). Noise and Hearing Loss — Occupational Noise Exposure.

Last updated: July 27, 2026

1b

UnByte — Independent Software Engineering

Every calculator references authoritative sources — Editorial policy