# dB Gain Calculator

URL: https://speedycalculator.com/calculators/physics/db-gain/
Last updated: 2026-11-08

> The dB gain calculator finds the gain of an amplifier, attenuator or cable in decibels from input and output power or voltage, and converts a gain in dB back to a ratio.

## Inputs

- Quantity
- Input value
- Output value

## Results

- Gain
- Ratio output/input
- Equivalent power ratio

## Formula

```
Power: G = 10·log₁₀(P_out/P_in) · Voltage: G = 20·log₁₀(V_out/V_in)
```

## Explanation

Engineers describe amplification and losses in decibels because gains multiply but decibels simply add. A 3 dB gain doubles the power; a −3 dB loss halves it. Voltage ratios use 20·log because power is proportional to voltage squared.

### How to use the dB Gain Calculator

- **Quantity**
- **Input value**
- **Output value**

Results update as you type, every field has its own unit menu, and everything is calculated in your browser.

### How it works

Choose power or voltage and enter the input and output values in the same unit. Negative gain means attenuation.

### Inputs explained

FieldWhat to enterQuantityChoose one: Power, Voltage or currentInput valueA numberOutput valueA number

### Example values

How the main result changes when **Input value** changes and everything else stays at the example values above:

Input valueGain (dB)0.513.01030.7511.24941101.259.03091.58.239126.9897

## Worked example

Inputs: Quantity: Power; Input value: 1; Output value: 10.

Results: **Gain = 10 dB**; Ratio output/input = 10 ×; Equivalent power ratio = 10 ×.

## Key terms

- **Decibel**: Ten times the base-10 logarithm of a power ratio.

## FAQ

**What is 3 dB?**
A doubling of power (or halving for −3 dB).

**Why 20·log for voltage?**
Power is proportional to voltage squared.

**How do I add gains of stages?**
Add their dB values.

**What is dBm?**
Power in dB relative to 1 mW.


## Sources

- [OpenStax: University Physics Volume 1](https://openstax.org/details/books/university-physics-volume-1)
- [HyperPhysics (Georgia State University)](http://hyperphysics.phy-astr.gsu.edu/hbase/hframe.html)
