dB Gain Calculator

dB Gain Calculator

Calculate amplifier and system gain from input/output values. Measure amplification or attenuation in decibels.

2026-03-28T00:00:00Z

Common Gains:

System Gain
20.00
dB (20.0 dB gain (amplification))
Linear Ratio:10.0000x
Formula:20 log₁₀(V_out/V_in)

Understanding Amplifier Gain

Gain is a measure of how much an amplifier increases the power or amplitude of a signal from its input to its output. In audio and signal processing, gain is almost always expressed in decibels (dB), which provides an intuitive logarithmic scale that matches human perception of changes in sound intensity and signal strength. A positive dB value indicates amplification (the output is stronger than the input), while a negative dB value indicates attenuation or loss (the output is weaker than the input). Unity gain (0 dB) means the signal passes through unmodified.

Different types of systems express gain differently: power gain uses the formula Gain (dB) = 10 log₁₀(P_out/P_in), while voltage/amplitude gain uses Gain (dB) = 20 log₁₀(V_out/V_in). The factor of 20 instead of 10 for voltage is because power is proportional to voltage squared. Gain is critical in audio amplifiers, op-amp circuits, RF systems, and telecommunications where precise signal amplification is essential for system performance. Understanding gain in dB helps engineers and technicians quickly assess system performance and troubleshoot amplification issues.

How to Calculate Gain

1

Select Gain Type

Choose "Power" for power amplifiers (10 log) or "Voltage" for voltage amplifiers (20 log). Most audio systems use voltage gain measurements.

2

Measure Input Signal

Measure or determine your input signal value. This is the signal entering the amplifier or system. Use consistent units (volts, watts, etc.).

3

Measure Output Signal

Measure the output signal from the amplifier. It should be in the same units as the input. A larger output value indicates amplification.

4

Calculate the Gain

The calculator automatically computes gain in dB using the appropriate formula. Positive values show amplification; negative values show attenuation.

5

Interpret Results

Use the gain value to assess amplifier performance. Compare against expected specifications. Verify that gain matches design requirements for your application.

Example: Audio Amplifier with Gain

A microphone pre-amplifier receives a 50 mV input signal and outputs 5 V. The system uses voltage gain. Calculate the amplifier's gain in dB.

Step 1: Identify the system
Microphone input = 50 mV = 0.05 V
Amplifier output = 5 V
Type = Voltage gain (20 log)
Step 2: Calculate the ratio
Ratio = 5 / 0.05 = 100x amplification
Step 3: Apply voltage gain formula
Gain (dB) = 20 log₁₀(100) = 20 × 2 = 40 dB gain
Result: The pre-amplifier provides 40 dB of voltage gain (100x linear amplification)

Frequently Asked Questions

What's the difference between gain and amplification?

Gain is the measure (in dB or linear ratio) of how much an amplifier boosts a signal. Amplification is the process of increasing signal strength. Gain describes the amount; amplification is the action.

Why is 20 log used for voltage and 10 log for power?

Because power is proportional to voltage squared (P ∝ V²). Using 20 log for voltage automatically accounts for this relationship: 20 log(V) = 10 log(V²) = 10 log(P).

Can gain be negative?

Yes, negative dB represents signal loss or attenuation. For example, -6 dB means the output is about half the input level (approximately 0.5x). Negative gain common in passive circuits and filters.

What does 0 dB (unity) gain mean?

0 dB means the output equals the input (ratio = 1). The signal passes through unmodified. Unity gain amplifiers are used in applications requiring signal buffering without amplification.

How do cascaded gains add up?

Individual stage gains in dB add together: Total Gain (dB) = Gain₁ + Gain₂ + Gain₃... For example, three 20 dB stages = 60 dB total. This makes calculating multi-stage systems much simpler.

What's the ideal gain for an amplifier?

Ideal gain depends on application. Audio amps typically need 20-40 dB. RF amplifiers may need 15-25 dB. Instrumentation requires precise gain. Always match gain to system requirements to avoid signal clipping or noise.

How does temperature affect amplifier gain?

Most amplifiers experience gain drift with temperature. Semiconductor gain changes roughly 0.1-0.3 dB per °C. This is why precision circuits use temperature compensation and thermal management.

What's the relationship between noise figure and gain?

Lower gain amplifiers introduce more relative noise. Higher gain stages amplify both signal and noise. In multi-stage systems, the first stage's noise figure dominates overall system noise performance.

Related Tools