Op-Amp Gain Calculator

An operational amplifier, commonly called an op-amp, is a high-gain differential amplifier used in a wide range of analog electronic circuits.

The Op-Amp Gain Calculator helps you calculate voltage gain and output voltage for common amplifier configurations. Enter the resistor values and input voltage to see how an op-amp changes the input signal.

You can calculate inverting and non-inverting gain, examine voltage followers, investigate differential and summing amplifiers, and determine resistor values for a desired gain.

The calculator also provides gain in decibels and optional checks for output swing, gain-bandwidth product and slew rate.

Use Example:
Circuit Diagram — InvertingAv = -10 V/V | Vout = -2 V
−+VoutRfRinVin
Closed-Loop Voltage Gain (Av)Inverted (180° phase shift)
-10 V/V
Gain (dB) = 20 dB • Output Vout = -2 V
Voltage Gain (V/V)
-10 V/V
Gain (dB)
20 dB
Output Voltage
-2 V
Output Phase
Inverted (180° phase shift)
Noise Gain
11 V/V
  1. 1A_v = −R_f / R_in = −(100 kΩ / 10 kΩ) = -10 V/V
  2. 2Noise gain NG = 1 + R_f / R_in = 11 V/V
  3. 3V_out = A_v × V_in = -10 × 200 mV = -2 V
  4. 4A_v(dB) = 20 × log10(|-10|) = 20 dB

How to Use the Calculator

  1. Select the amplifier configuration.
  2. Choose whether to calculate gain or design a resistor for a target gain.
  3. Enter the required resistor values.
  4. Enter the input voltage if you need an output voltage calculation.
  5. Optionally provide supply voltage and datasheet parameters.
  6. View the calculated gain, output voltage and detailed working.
  7. Use the circuit diagram to understand the signal path.

Understanding Op-Amp Gain

Voltage gain describes how much an amplifier changes the magnitude of an input signal.

It is calculated as:

A_v = V_out / V_in

An inverting amplifier produces an output with opposite polarity, while a non-inverting amplifier maintains the same signal polarity.

The resistor network determines the closed-loop gain when the amplifier operates with appropriate negative feedback. To double-check resistor markings and tolerances before building a stage, use our Resistor Color Code Calculator or size resistor networks with the Voltage Divider Calculator.

Inverting Amplifier

An inverting amplifier applies the input signal through an input resistor to the negative terminal of the op-amp. A feedback resistor connects the output to the same terminal.

A_v = −R_f / R_in

For example, when the feedback resistor is 100 kΩ and the input resistor is 10 kΩ: A_v = −100 / 10 = −10. With an input of 0.2 V: V_out = −10(0.2) = −2 V.

The output has ten times the input magnitude and opposite polarity.

Non-Inverting Amplifier

In a non-inverting amplifier, the input signal is applied to the positive terminal.

A_v = 1 + R_f / R_g

For example, if R_f = 90 kΩ and R_g = 10 kΩ: A_v = 1 + 90 / 10 = 10. For an input of 0.2 V: V_out = 10(0.2) = 2 V.

The output maintains the input polarity.

Gain in Decibels

Decibels provide a logarithmic way to express voltage gain.

For voltage ratios: A_v(dB) = 20 log₁₀ |A_v|

A voltage gain magnitude of 10 corresponds to 20 dB.

The sign of the original amplifier gain should still be displayed separately to indicate whether the circuit is inverting.

Practical Operating Limitations

The ideal gain equations do not describe every limitation of a real operational amplifier.

Actual output voltage is affected by supply voltage, output swing, load conditions, input common-mode range and the selected op-amp's electrical characteristics.

At higher frequencies, the available open-loop gain decreases. The gain-bandwidth product provides a useful first-order bandwidth estimate. For AC reactive loading at higher frequencies, analyse load networks using the Impedance Calculator.

Slew rate also limits how quickly the output voltage can change.

Always use the manufacturer's datasheet when checking an actual component.

Applications

Op-amp gain calculations are useful when designing:

  • Sensor signal conditioning circuits.
  • Audio preamplifiers.
  • Voltage amplifiers.
  • Measurement circuits.
  • Signal conditioning stages.
  • Differential measurement systems.
  • Analog summing circuits.
  • Buffer stages.

Common Mistakes

  • Forgetting the negative sign in inverting amplifier gain.
  • Using the wrong feedback resistor.
  • Confusing input resistance with feedback resistance.
  • Confusing signal gain with noise gain.
  • Assuming the output always reaches the supply rails.
  • Ignoring gain-bandwidth limitations.
  • Ignoring slew-rate limitations.

Frequently Asked Questions

1. How do you calculate inverting op-amp gain?

Divide the feedback resistance by the input resistance and apply a negative sign.

2. How do you calculate non-inverting gain?

Add one to the ratio of feedback resistance to ground resistance.

3. What is the gain of a voltage follower?

Its ideal voltage gain is one.

4. How do you convert voltage gain to dB?

Use 20 times the base-10 logarithm of the absolute voltage gain.

5. Why does an op-amp output become saturated?

The requested output exceeds the voltage swing available from the actual amplifier under its supply and load conditions.

6. Does an op-amp have unlimited bandwidth?

No. Real op-amps have frequency-dependent open-loop gain and finite gain-bandwidth characteristics.

7. What is noise gain?

Noise gain describes how the amplifier's feedback network amplifies errors and noise. It is particularly important when estimating the closed-loop bandwidth of an inverting amplifier.

Conclusion

The Op-Amp Gain Calculator provides a practical way to understand and design common operational amplifier circuits. By combining gain equations, resistor design, output voltage calculations and optional real-device checks, it helps users move from basic amplifier calculations to more informed analog circuit design. You can pair these calculations with our Ohm's Law Calculator, Voltage Divider Calculator, RC Filter Calculator and Impedance Calculator.

Explore companion electronics and circuit calculators for component decoding, DC/AC analysis, filtering, timing, and RF design.