Intermediate

dB Calculator — Decibel Gain & Ratio Converter

Convert between decibel gain and power or amplitude ratios. Enter either the gain in dB or the output-to-input ratio to compute the other — and switch between power (×10 log) and amplitude/voltage/pressure (×20 log) modes.

Quantity type

dB

Enter a dB value to find the ratio
Enter ratio > 0 to find dB gain
Gain
20dB

Power gain: G = 10 × log₁₀(P_out / P_in)

Ratio (output / input)
100
Log formula factor
10 (power)
Inverse ratio (input / output)
0,01
Gain sign
Gain (amplification)
Relative signal amplitude at the computed ratio
Step by step
  1. 1

    Log multiplier k

    10
    Power quantities use k = 10; amplitude, voltage and pressure quantities use k = 20.
  2. 2

    Output ÷ input ratio

    100
  3. 3

    Gain = k × log₁₀(ratio)

    10 × log₁₀(100) = 20 dB
Výsledky sú odhady určené len na všeobecné informačné účely a nepredstavujú odborné poradenstvo — dôležité výsledky si vždy nezávisle overte, kým sa na ne spoľahnete. Prečítať si celé vylúčenie zodpovednosti.
Rýchla odpoveď

Ako táto kalkulačka funguje?

dB gain = 10 × log₁₀(ratio) for power quantities, or 20 × log₁₀(ratio) for amplitude/voltage/pressure. Enter the ratio to get dB, or enter dB to get the ratio. Positive dB = amplification; negative dB = attenuation. 0 dB always means ratio = 1.

Vzorec
G_dB = 10 × log₁₀(P_out / P_in) (power) • G_dB = 20 × log₁₀(A_out / A_in) (amplitude)
How this is calculated

The decibel is a logarithmic unit expressing a ratio between two quantities. Because power and amplitude (or voltage, pressure, current) scale differently, there are two related formulas. For power quantities — anything proportional to energy per unit time, such as radiated RF power or acoustic intensity — the gain is G = 10 × log₁₀(P_out / P_in). For amplitude quantities — voltage, sound pressure, current, or any field quantity — the gain is G = 20 × log₁₀(A_out / A_in). The factor-of-two difference reflects the fact that power is proportional to the square of amplitude.

The calculator works in both directions. Supply a dB value to get the corresponding ratio, or supply a positive ratio to get the dB gain. A positive dB indicates amplification; a negative dB indicates attenuation. Common reference points: 0 dB means ratio = 1 (no change), +3 dB means power is roughly doubled (ratio ≈ 2), +6 dB means amplitude doubled, and +20 dB means amplitude × 10 (power × 100).

Note that this calculator computes **gain or loss** between two signal levels — it is not the same as acoustic sound pressure level (SPL), which uses a fixed reference of 20 μPa. Use the Decibel Sound Level Calculator for SPL conversions.

Často kladené otázky

Power is proportional to the square of amplitude (P ∝ A²). Squaring inside the log becomes multiplying the exponent by 2, so the amplitude formula uses 20 = 2 × 10 to keep dB values consistent between power and amplitude measurements.

A gain of 0 dB means output equals input — the ratio is exactly 1. Positive dB values indicate amplification (output exceeds input); negative dB values indicate attenuation (output is smaller than input).

This tool converts between a **gain or loss ratio** and decibels, useful in electronics, audio engineering, RF, and optics. The Sound Level Calculator converts physical acoustic intensity (W/m²) to SPL in dB using the fixed hearing-threshold reference of 20 μPa — a different use case.

Známe aj ako

decibel gain calculator
db ratio converter
power ratio to db
voltage gain decibels
amplitude ratio db
db to ratio converter
signal gain loss decibels

APA

TG we-Calculate Editorial Team. (2026). dB Calculator — Decibel Gain & Ratio Converter [Online calculator]. TG we-Calculate. https://we-calculate.com/sk/calculator/db-calculator

Chicago

TG we-Calculate Editorial Team. "dB Calculator — Decibel Gain & Ratio Converter." TG we-Calculate. 2026. https://we-calculate.com/sk/calculator/db-calculator.

IEEE

TG we-Calculate Editorial Team, "dB Calculator — Decibel Gain & Ratio Converter," TG we-Calculate, 2026. [Online]. Available: https://we-calculate.com/sk/calculator/db-calculator

BibTeX

@misc{wecalculate_db_calculator, title = {dB Calculator — Decibel Gain & Ratio Converter}, author = {{TG we-Calculate Editorial Team}}, howpublished = {\url{https://we-calculate.com/sk/calculator/db-calculator}}, year = {2026}, note = {TG we-Calculate} }

Pomohla vám táto kalkulačka?