Decibel Calculator
Calculate decibel levels from sound pressure, power, voltage, or custom references, then compare ratios, inverse values, and dB ladders.| Metric | Value | Note | Copy |
|---|---|---|---|
| {{ row.metric }} | {{ row.value }} | {{ row.note }} |
| Marker | dB | Power ratio | Amplitude ratio | Selected ratio | Relation | Copy |
|---|---|---|---|---|---|---|
| {{ row.marker }} | {{ row.db }} | {{ row.powerRatio }} | {{ row.amplitudeRatio }} | {{ row.selectedRatio }} | {{ row.relation }} |
Introduction:
Decibels make ratio work readable. Sound pressure, electrical power, microphone voltage, amplifier gain, and signal loss can change by factors of ten, a thousand, or a million, and writing those raw ratios beside each other quickly becomes hard to compare. A logarithmic dB value turns multiplication into ordinary spacing: moving the same number of decibels always means multiplying the underlying quantity by the same factor.
The reference value is what gives the number meaning. A plain dB figure describes one quantity compared with another quantity of the same kind, so 0 dB means the measured value equals the reference. A suffixed level such as dB SPL, dBm, dBW, dBV, or dBu names a conventional reference. That suffix is not decoration; it tells the reader whether the level is about sound pressure in air, electrical power, or RMS voltage.
| dB change | Power ratio | Amplitude, voltage, or pressure ratio | Common reading |
|---|---|---|---|
| -20 dB | 0.01x | 0.1x | Large loss below the reference |
| -3 dB | about 0.5x | about 0.708x | Half-power point, often used in filters |
| 0 dB | 1x | 1x | Measured value equals reference |
| +6 dB | about 4x | about 2x | Rough doubling for voltage, pressure, or amplitude |
| +20 dB | 100x | 10x | Large gain above the reference |
Power and amplitude do not use the same coefficient. Power levels use 10 log10 because the measured quantity is already power. Voltage, sound pressure, and other field-like quantities use 20 log10 because power is proportional to the square of the field quantity. Reading a voltage value as if it were a power value, or reading dBm as if it were dBV, changes the engineering conclusion even when the dB number looks familiar.
A decibel calculation is precise only after the reference, quantity type, and measurement context are known. Sound exposure still needs weighting, averaging, distance, duration, and calibrated instruments. Electrical work may need RMS versus peak assumptions, load impedance, and equipment headroom. The dB number is a compact comparison, not a complete safety or design verdict.
How to Use This Tool:
Choose the reference scale before entering values. That one setting determines the fixed reference, accepted units, and whether the calculation uses a 10 log10 or 20 log10 equation.
- Choose Reference scale. Use Sound pressure level, air (20 uPa) for dB SPL, dBm or dBW for power, dBV or dBu for voltage, or a custom ratio when you need to provide the baseline yourself.
- Select Solve for. Values to dB compares a measured value with a reference; dB to value starts from a signed level and solves the measured value that would produce it.
Preset scales lock their reference values. Custom power and custom amplitude scales allow a typed Reference value, but it must stay greater than zero.
- Confirm the unit selector beside Reference value and Measured value. Changing units keeps the same physical quantity while converting watts, milliwatts, volts, pascals, and related units into the selected scale's base unit.
- Enter Measured value for forward calculation, or enter Decibel level for inverse calculation. The inverse path accepts -240 to 240 dB so the solved value and chart remain readable.
A red error means the result is not ready. Fix the named field, such as a nonpositive measured value, an invalid unit for the selected scale, or a dB level outside the allowed range.
- Set Decimal places from 0 to 8 for displayed values. Use Chart window only to widen or narrow the surrounding ratio chart; it does not change the calculation.
- Read Decibel Snapshot before the chart. It shows the level, selected-scale ratio, equivalent power ratio, equivalent amplitude ratio, reference, measured value, formula, and direction.
- Use Ratio Ladder or Decibel Ratio Ladder to compare the result with standard anchors such as -20 dB, -3 dB, 0 dB, +6 dB, and +20 dB. Use JSON when you need a structured copy of the same values.
Interpreting Results:
Start with the primary summary value, then check the Decibel Snapshot rows that explain the same result. In value mode, Decibel level is the main answer. In inverse mode, Measured value is the main answer rebuilt from the selected reference and the entered dB level.
| Result field | What it means | What to verify |
|---|---|---|
| Selected-scale ratio | The direct measured/reference ratio for the chosen scale. | Reference scale and unit family match the real measurement. |
| Equivalent power ratio | The power interpretation from 10^(dB/10), regardless of the selected scale. | Use it for power comparisons, not for raw voltage or pressure by itself. |
| Equivalent amplitude ratio | The voltage, pressure, or amplitude interpretation from 10^(dB/20). | Use it when the measured quantity is field-like rather than power. |
| Direction | Gain above reference, Loss below reference, or At reference. | Negative dB is a smaller positive ratio, not a negative physical value. |
A large dB SPL value is not automatically a hearing-risk decision, and a large voltage-related dB value is not automatically clipping. Check the suffix, weighting, averaging time, exposure duration, RMS assumption, impedance, and equipment limit before acting on the number.
Use the ladder rows to catch scale mistakes. If a value meant to be a power comparison only makes sense under the amplitude ratio, or a voltage level is being treated as dBm without an impedance, the arithmetic can be correct while the conclusion is wrong.
Technical Details:
A decibel is one tenth of a bel and expresses a base-10 logarithmic ratio. Equal dB spacing corresponds to equal multiplication in the underlying quantity, which is why decibels are useful for sound, radio-frequency power, amplifier gain, attenuation, and audio voltage levels that span wide numeric ranges.
The governing distinction is whether the measured quantity is power-like or field-like. Power scales compare power directly, so a tenfold power increase is +10 dB. Field quantities such as voltage and sound pressure connect to power through a square relationship in ordinary linear systems, so a tenfold amplitude increase is +20 dB.
Formula Core:
The forward equation calculates a level from a measured value and reference value. The inverse equation solves the measured value from a level.
Here L is the displayed dB level, x is the measured value, x0 is the reference value, and c is 10 for power scales or 20 for amplitude, voltage, and pressure scales. Values are converted to the selected scale's base unit before the ratio is formed.
| Reference scale | Reference | Coefficient | Accepted units |
|---|---|---|---|
| Power ratio | User-entered power reference | 10 | W, mW, uW, kW |
| Amplitude / voltage ratio | User-entered amplitude reference | 20 | same unit, V, mV, uV, Pa, mPa, uPa |
| dB SPL | 20 uPa in air | 20 | Pa, mPa, uPa |
| dBm | 1 mW | 10 | W, mW, uW, kW |
| dBW | 1 W | 10 | W, mW, uW, kW |
| dBV | 1 V RMS | 20 | V, mV, uV |
| dBu | 0.775 V RMS | 20 | V, mV, uV |
For a sound-pressure calculation, 0.2 Pa divided by the 20 uPa dB SPL reference gives a ratio of 10,000. With the pressure coefficient of 20, the level is 20 log10(10,000), or +80 dB SPL. Running the inverse equation with +80 dB SPL multiplies 20 uPa by 10^(80/20), which returns 0.2 Pa.
| Item | Rule | Why it matters |
|---|---|---|
| Reference value | Must be greater than zero | A logarithmic ratio cannot use zero or a negative denominator. |
| Measured value | Must be greater than zero in value mode | The measured/reference ratio must be positive. |
| Decibel level | -240 to 240 dB | Keeps inverse values and chart scales readable. |
| Decimal places | 0 to 8 | Controls display precision without changing the underlying calculation. |
| Chart window | +/-12, +/-24, +/-40, or +/-80 dB | Sets the surrounding comparison range for the ratio chart and chart CSV. |
The ladder uses standard anchors from -60 dB to +60 dB and inserts the current result when needed. The chart uses the selected dB window, marks 0 dB and the current result, and plots ratios on a logarithmic y-axis so multiplicative changes stay visible.
Limitations:
The calculator gives the exact logarithmic result for the values entered, but the measurement context decides what the number can prove.
- Sound-pressure results do not include A-weighting, time averaging, frequency content, distance, microphone calibration, or exposure duration.
- dBV and dBu are voltage references; turning them into power values requires impedance and waveform assumptions.
- dBm and dBW are power references; converting them to voltage requires a known load impedance.
- The result does not evaluate clipping, hearing risk, legal compliance, loudness perception, or equipment safety margins.
Worked Examples:
These cases show the main forward, inverse, and recovery paths without treating the dB value as a safety or equipment limit.
Sound pressure in air
Choose Sound pressure level, air (20 uPa), keep Values to dB, and enter 0.2 Pa as Measured value. Decibel level reads +80.000 dB SPL, Selected-scale ratio reads 10,000x, and Direction reads gain above reference.
Professional audio voltage
Choose dBu, voltage level (0.775 V), switch to dB to value, and enter +4 dB. The solved Measured value is about 1.228 V, which matches the common +4 dBu professional audio level. The Formula row confirms a 20 log10 voltage calculation.
Custom power loss
Choose Power ratio (custom), set Reference value to 10 W, and enter 5 W as Measured value. Decibel level is about -3.010 dB, Selected-scale ratio is 0.500x, and Direction marks the result as loss below reference.
Rejected zero value
If Measured value is 0 in value mode, the result area reports that the measured value must be greater than zero. Enter a positive measured value, or switch to dB to value when you already know the signed dB level and need the corresponding quantity.
FAQ:
Why does 0 dB not mean silence?
0 dB means the measured value equals the selected reference. In dB SPL, that reference is 20 uPa; in dBV, it is 1 V RMS; in a custom ratio, it is the reference value you enter.
When should I use 10 log10 instead of 20 log10?
Use 10 log10 for power scales such as custom power ratio, dBm, or dBW. Use 20 log10 for dB SPL, dBV, dBu, or a custom amplitude ratio.
Can I compare dBm and dBV directly?
No. dBm is referenced to 1 mW of power, while dBV is referenced to 1 V RMS. A power-to-voltage comparison also needs the load impedance.
Why are both power and amplitude ratios shown?
The same dB value can be read as a power ratio with 10^(dB/10) or as an amplitude ratio with 10^(dB/20). Showing both makes reference mistakes easier to spot.
Why is my dB-to-value input rejected?
Decibel level must be numeric and must stay between -240 and 240 dB. Values outside that range are blocked to keep the solved value and chart readable.
Glossary:
- Decibel
- A logarithmic unit equal to one tenth of a bel, used to express a ratio or a level relative to a reference.
- Reference value
- The baseline quantity used as the denominator in the measured/reference ratio.
- dB SPL
- Sound pressure level in air relative to 20 uPa.
- dBm
- Power level relative to 1 mW.
- dBV
- Voltage level relative to 1 V RMS.
- dBu
- Voltage level relative to 0.775 V RMS.
- RMS
- Root mean square, a common way to express the effective value of an AC voltage or pressure waveform.
References:
- NIST Guide to the SI, Chapter 8, National Institute of Standards and Technology.
- Pro Audio Reference: D, Audio Engineering Society.
- Understand Noise Exposure, Centers for Disease Control and Prevention, National Institute for Occupational Safety and Health, Jan. 31, 2024.
- Occupational Noise Exposure, Occupational Safety and Health Administration.