Op-Amp Gain Calculator

Calculate operational amplifier gain for inverting, non-inverting, and differential configurations. Includes bandwidth, input impedance, and component value selection.

Voltage Gain
−10.00
20.0 dB — inverting configuration
Rf (Feedback)
100kΩ
E24 nearest: 100kΩ
Rin (Input)
10kΩ
E24 nearest: 10kΩ
−3dB Bandwidth
100.0 kHz
GBP 1.0 MHz ÷ gain 10.0
Input Impedance
10kΩ
Set by Rin = 10kΩ
Max Undistorted Output
±13.5V
Max input: ±1.35V before clipping (±15V supply)
E24 Gain Accuracy
10.000 (0.00% error)
Using 100kΩ / 10kΩ

Gain vs. Bandwidth (GBP = 1.0 MHz)

GaindBBandwidthRf (Rin=10kΩ)
10.01.0 MHz10kΩ
26.0500.0 kHz20kΩ
514.0200.0 kHz50kΩ
1020.0100.0 kHz100kΩ
2026.050.0 kHz200kΩ
5034.020.0 kHz500kΩ
10040.010.0 kHz1MΩ
20046.05.0 kHz2MΩ
50054.02.0 kHz5MΩ
100060.01.0 kHz10MΩ

Gain Level

20.0 dB
Planning notes, formulas, and examples

About the Op-Amp Gain Calculator

The Op-Amp Gain Calculator determines voltage gain, component values, and bandwidth for common operational amplifier configurations. Operational amplifiers (op-amps) are fundamental building blocks in analog electronics, used in everything from audio systems and instrumentation to signal conditioning and control systems.

This calculator covers the three most common op-amp configurations: inverting amplifier (gain = −Rf/Rin), non-inverting amplifier (gain = 1 + Rf/Rin), and differential amplifier (gain = Rf/R1 × difference). For each configuration, it calculates the exact gain, recommends standard resistor values, estimates bandwidth using the gain-bandwidth product (GBP), and computes input and output impedance. It also gives you a quick way to compare resistor choices before you commit to a real analog stage.

Beyond basic gain calculations, the tool helps with practical circuit design by suggesting E-series resistor values, calculating frequency response limits, and warning about common design issues like excessive gain causing instability, insufficient phase margin, or output voltage clipping.

When This Page Helps

Use this calculator when you want gain, bandwidth, and resistor values tied together before you build the circuit. It is useful for homework, sensor conditioning, and practical analog design where the simple gain formula is only part of the real answer. The extra context helps you see whether the circuit will actually behave the way you expect at your target frequency.

How to Use the Inputs

  1. Select the op-amp configuration: inverting, non-inverting, or differential
  2. Enter either the desired gain or the resistor values (Rf and Rin)
  3. Optionally enter the op-amp gain-bandwidth product (GBP) for bandwidth calculations
  4. Set the supply voltage to check for output clipping limits
  5. View calculated gain, bandwidth, impedances, and recommended resistor values
  6. Check the frequency response estimate and design warnings
Formula used
Inverting: Gain = −Rf/Rin. Non-inverting: Gain = 1 + Rf/Rin. Differential: Gain = Rf/R1 (when R2/R3 = Rf/R1). Bandwidth = GBP / |Gain|. Input impedance (inverting) = Rin. Input impedance (non-inverting) ≈ very high (open-loop × Rin).

Example Calculation

Result: Gain = −10 (20 dB), Bandwidth = 100 kHz, Input impedance = 10 kΩ

With Rf = 100kΩ and Rin = 10kΩ, the inverting gain is −100k/10k = −10. With a 1 MHz GBP op-amp, the −3dB bandwidth is 1MHz/10 = 100 kHz.

Tips & Best Practices

  • Use 1% tolerance resistors for precision gain—standard 5% resistors limit gain accuracy to ±5%
  • Always include a bypass capacitor (100nF) close to the op-amp power pins to prevent oscillation
  • For inverting amplifiers, add a resistor equal to the parallel combination of Rf and Rin to the non-inverting input to minimize offset
  • Cascading two gain-of-10 stages gives gain of 100 with much better bandwidth than a single gain-of-100 stage
  • Check the op-amp datasheet for slew rate—it limits the maximum undistorted output swing at high frequencies

Common Op-Amp Configurations

The three basic op-amp configurations serve different purposes. The inverting amplifier provides precise gain with the input impedance set by Rin, but inverts the signal. The non-inverting amplifier offers very high input impedance (ideal for buffering) with gain always ≥1. The differential amplifier rejects common-mode signals, making it ideal for sensor interfaces and instrumentation.

Practical Design Considerations

Real op-amp circuits must account for several non-ideal factors. Input offset voltage causes DC errors proportional to gain. Input bias current flowing through resistors creates additional offset. Slew rate limits the maximum rate of output change, causing distortion at high frequencies even below the small-signal bandwidth. Temperature coefficients of resistors affect gain stability over temperature.

Choosing the Right Op-Amp

Op-amp selection depends on your application. For general purpose: LM741, TL072, or NE5532. For precision: OPA2277, AD8628. For high-speed: LM6172, AD8065. For low noise: OPA1612, AD797. For low power: MCP6001, OPA333. The gain-bandwidth product, input offset voltage, noise spectral density, and supply current are the key specifications to compare.

Sources & Methodology

Last updated:

Frequently Asked Questions

  • GBP is a constant for a given op-amp: Gain × Bandwidth = constant. A 1 MHz GBP op-amp with gain of 10 has 100 kHz bandwidth, or with gain of 100 has 10 kHz bandwidth. Common GBPs range from 1 MHz (LM741) to 1 GHz+ (high-speed op-amps).