Gain in an amplifier is the ratio of the output signal amplitude to the input signal amplitude, defining how much the circuit multiplies the incoming voltage, current, or power. When you feed a weak 10mV microphone signal into a preamp and get a robust 1V line-level signal out, the amplifier has changed the signal's scale to make it usable for downstream stages, without altering its fundamental frequency or waveform shape—provided the circuit stays within its linear operating region.

Bench Note: Gain is a multiplier, not an additive value. If your amplifier has a voltage gain of 100, a 5mV input becomes 500mV. If the input drops to 0V (or DC offset is zero), the output remains 0V. It scales what is already there.

Amplifier Gain Specifications Across Common ICs

Before building a circuit, you need to know the difference between open-loop gain (the raw, internal amplification of the silicon, often over 100,000 V/V) and closed-loop gain (the controlled, usable gain set by your external feedback resistors). Relying on open-loop gain in a real circuit will instantly drive the output into saturation (clipping). We use negative feedback to tame that massive open-loop gain into a precise, stable closed-loop value.

Here is how open-loop gain and bandwidth specs look across four staple amplifier ICs you will encounter on the bench:

IC Part Number Typical Open-Loop Gain (V/V) Open-Loop Gain (dB) Gain-Bandwidth Product (GBWP) Primary Use Case
LM741 (General Op-Amp) 200,000 106 dB 1.5 MHz Legacy DC/low-freq control loops
NE5532 (Audio Op-Amp) 100,000 100 dB 10 MHz Hi-fi audio preamps and active filters
LM386 (Low-Voltage Audio) 20 to 200 (Fixed Internal) 26 to 46 dB N/A (Power Amp) Driving small speakers (0.25W - 1W)
INA128 (Instrumentation) 1 to 10,000 (Set via Rg) 0 to 80 dB 1.3 MHz (at G=1) Bridge sensors, thermocouples, ECG

Sources: Texas Instruments LM386 Datasheet, All About Circuits: Op-Amp Basics.

The Core Math: Calculating Voltage and Decibel Gain

Let's walk through a real-world design scenario. You are interfacing a vibration sensor that outputs a 50 mV RMS sine wave. Your microcontroller's ADC requires a 2.0 V RMS signal to maximize resolution without clipping. You choose an NE5532 op-amp wired in a non-inverting configuration.

Step 1: Calculate Required Voltage Gain (Av)

Voltage gain is simply the output voltage divided by the input voltage.

  • Formula: Av = Vout / Vin
  • Math: Av = 2.0 V / 0.050 V = 40 V/V

Step 2: Select Feedback Resistors

For a non-inverting op-amp, the closed-loop gain is set by the feedback resistor (Rf) and the ground resistor (Rin).

  • Formula: Av = 1 + (Rf / Rin)
  • Math: 40 = 1 + (Rf / Rin) → 39 = Rf / Rin

If you select a standard 1 kΩ resistor for Rin, your Rf must be 39 kΩ. (Always use 1% tolerance metal film resistors for feedback networks to prevent gain drift and channel imbalance in stereo audio).

Step 3: Convert to Decibels (dB)

In audio and RF, we rarely use raw V/V ratios; we use decibels. Because we are calculating voltage gain (not power), the multiplier is 20, not 10.

  • Formula: Gain (dB) = 20 × log10(Av)
  • Math: 20 × log10(40) ≈ 32.04 dB
Bandwidth Check: The NE5532 has a Gain-Bandwidth Product (GBWP) of 10 MHz. If your closed-loop gain is 40 (32 dB), your maximum usable bandwidth is 10,000,000 / 40 = 250 kHz. Since your vibration sensor operates well below 20 kHz, this IC is perfectly suited for the job.

Where You Meet Gain in Practice

Gain isn't just an abstract textbook concept; it dictates the architecture of almost every mixed-signal and analog system you will build.

  • Audio Phono Stages: Moving magnet (MM) turntable cartridges output roughly 5 mV. To reach a standard 2V line-level for your receiver, the phono preamp must provide exactly 40 dB of gain (100 V/V), alongside RIAA equalization.
  • Thermocouple Instrumentation: A Type-K thermocouple generates roughly 41 µV per °C. At 500°C, the signal is only 20.5 mV. An instrumentation amplifier like the INA128 must be configured for 100 V/V to 500 V/V gain to bring this into the 0-5V range of a standard PLC analog input.
  • RF Low-Noise Amplifiers (LNAs): In an ESP32 or custom WiFi frontend, the signal arriving at the antenna is measured in microvolts. The LNA provides a fixed 15 dB to 20 dB of gain as the very first stage, boosting the signal above the thermal noise floor before it hits the mixer.

Common Confusions: Gain vs. Volume and Headroom

The most frequent mistake hobbyists make when debugging audio or sensor circuits is confusing gain with volume, or ignoring the physical limits of the power supply.

Gain vs. Volume

Gain is the sensitivity of the input stage. It determines how much the circuit multiplies the incoming signal. Volume is an attenuation control placed after the gain stage. Turning up the volume on a powered speaker does not increase the gain of the internal amplifier; it simply reduces the resistance of a potentiometer, allowing more of the already-amplified signal to reach the speaker coil. If your input signal is too weak, turning up the volume will only amplify the hiss and noise floor. You must increase the gain at the preamp stage first.

Gain vs. Headroom (Clipping)

An amplifier cannot output a voltage higher than its power supply rails. If you power an LM741 with ±12V rails, the maximum theoretical output is roughly ±10V (due to internal transistor voltage drops, known as output swing limitation).

If you set your gain to 100 V/V and feed it a 200 mV input, the math says the output should be 20V. The physics say the output will slam into the 10V positive rail and flatten out. This is called clipping, and it introduces massive Total Harmonic Distortion (THD). When setting gain, always calculate your maximum expected input voltage, multiply it by your gain, and ensure the result is at least 1V to 2V below your supply rails to maintain clean headroom.

Frequently Asked Questions

Can an amplifier have a gain of less than 1?
Yes. A circuit with a gain of less than 1 (e.g., 0.5 V/V, or -6 dB) is technically an attenuator, but it is often built using an op-amp to provide impedance buffering. A unity-gain buffer (Av = 1) isolates a high-impedance sensor from a low-impedance ADC without changing the voltage level.

Why do we use 20*log10 for voltage but 10*log10 for power?
Power is proportional to the square of voltage (P = V²/R). When you bring the exponent (2) out of the logarithm, it multiplies the base 10, resulting in 20. If you are calculating actual power gain (Watts out / Watts in), you use the 10 multiplier.