Skip to content

Op-Amp Gain & Bandwidth Calculator

Calculate op-amp voltage gain, gain in dB, −3 dB bandwidth, and input impedance for inverting, non-inverting, and differential amplifier configurations.

Ideal op-amp closed-loop gain · single-pole GBW bandwidthAPI slug opamp-gain

Sign in to saveSave

Specification

Example

1 Ω to 10 MΩ

1 Ω to 10 MΩ

Op-amp gain-bandwidth product from datasheet. LM741=1MHz, TL071=3MHz, NE5534=10MHz

1 kHz to 10 GHz

Total supply: ±15V → enter 30V

1.8 to 60 V

Rounds every part to the nearest value in the series; the response and the export are the rounded design's.

Circuit

Values shown: Ideal
−+OUTR1 10 kΩINR21 kΩ
RefPositionIdeal
R1Feedback10kΩ
R2Bottom1kΩ

Response

Ideal
17.8 dB at 90.9 kHz−20−1001020301 kHz10 kHz100 kHz1 MHzdB
Voltage Gain (V/V)
+11V/V
Voltage Gain
+20.8dB
−3 dB Bandwidth
90.91kHz
Input ImpedanceZin
1 000GΩ
Max Output Swing (typ)Vout,max
12Vpp

Formula

Horowitz & Hill, The Art of Electronics, 3rd ed.; Kester, ADI MT-033 (noise gain)
Avnon−inv=1+RfRin,Avinv=−RfRin,f−3dB=GBW1+Rf/RinA_v^{non-inv} = 1 + \frac{R_f}{R_{in}}, \quad A_v^{inv} = -\frac{R_f}{R_{in}}, \quad f_{-3dB} = \frac{GBW}{1 + R_f/R_{in}}
SymbolQuantityYour value
AvVoltage gain (V/V)+11 V/V
RfFeedback resistor (R1) (kΩ)10 kΩ
RinInput resistor (R2) (kΩ)1 kΩ
GBWGain-bandwidth product (Hz)1 MHz
f−3dB−3 dB bandwidth (Hz)90.91 kHz
ZinInput impedance (Ω)1 000 GΩ

Assumptions

6 items
  1. 01An ideal voltage-feedback op-amp with R_f (R1) from the output to the inverting input and R_in (R2): the gain is 1 + R_f/R_in non-inverting, −R_f/R_in inverting, and R_f/R_in differential, which takes the difference amplifier’s four resistors as two matched pairs.
  2. 02The bandwidth is one pole, the gain-bandwidth product over the noise gain, f₋₃dB = GBW/(1 + R_f/R_in), in every configuration (Kester, ADI MT-033): an inverting gain of −10 has the bandwidth of a non-inverting gain of 11.
  3. 03The op-amp’s second pole and phase margin, its slew rate, offset, bias currents and noise, and its finite open-loop gain are not modelled.
  4. 04The input impedance is R_in inverting and 2·R_in differential; non-inverting it is the op-amp’s own, which is not an input and is shown as 10⁹ kΩ.
  5. 05The output swing is a rule of thumb, 80 % of the total supply, not the op-amp’s datasheet figure.
  6. 06With a part series chosen, R_f and R_in are each rounded to the nearest value of that series, and the gain, the gain in dB, the bandwidth and the response curve are the rounded resistors’; the page can also solve R_f or R_in for a target gain, on the ideal design, and then round it.

Worked example

Gain of 10 on a TL071, E24

A TL071, whose gain-bandwidth product is 3 MHz, runs from a split supply of 30 V in total and is to amplify by 10 non-inverting, with R_in = 1 kΩ and both resistors from the E24 series. What gain and bandwidth do the rounded resistors give?

StepExpressionResult
Feedback resistor for a gain of 10R_f = 1 kΩ × (10 − 1)9 kΩ
Deviation of 9.1 kΩ, the nearest E24 value; 1 kΩ is an E24 value already(9.1 / 9 − 1) × 100+1.1 %
Gain as built1 + 9.1 kΩ / 1 kΩ+10.1 V/V
Gain in dB20·log10(10.1)+20.1 dB
Half-power bandwidth3 MHz / (1 + 9.1 / 1)297 kHz
Output swing on a 30 V total supply0.8 × 30 V24 Vpp

How it works

Op-amp gain calculator computes closed-loop gain for inverting (G = -Rf/Rin) and non-inverting (G = 1 + Rf/Rin) configurations — essential for signal conditioning, instrumentation amplifiers, and active filter design. Analog circuit designers, sensor interface engineers, and audio designers use this to set precise gain stages while managing bandwidth and noise tradeoffs. Per Horowitz & Hill 'Art of Electronics' (3rd ed., Ch.4), the gain-bandwidth product (GBW) is constant for voltage-feedback op-amps: GBW = noise gain × bandwidth, where the noise gain is 1 + Rf/Rin in both configurations. A TL072 with GBW = 3MHz at gain = 100 has bandwidth of only 30kHz. For gains above 10, consider current-feedback amplifiers (AD8009: 1GHz bandwidth independent of gain) or instrumentation amplifiers (AD620: 0.1% gain accuracy).

Practical tips

  • For gains of 1-10 at audio frequencies, TL07x series ($0.30) offers excellent performance; for gains above 100, use instrumentation amplifiers (INA128: 0.02% gain error)
  • Add 100pF capacitor across Rf for gains > 10 to prevent oscillation — this limits bandwidth to 1/(2πRfCf) but ensures stability per TI application note AN-31
  • For rail-to-rail output swing, use RRIO op-amps (OPA340, MCP6001) — standard op-amps clip 1-2V from supply rails under load

Common mistakes

  • Ignoring GBW limitations — setting gain = 1000 with GBW = 1MHz yields only 1kHz bandwidth; check GBW on datasheet before selecting gain
  • Using 1% resistors for precision gain — resistor ratio error adds to gain error; use 0.1% resistors for ±0.1% gain accuracy or matched resistor networks
  • Neglecting input bias current — a 1nA bias current through 1MΩ feedback resistor creates 1mV offset; use FET-input op-amps (10pA bias) for high-impedance sources

Frequently asked questions

5 questions
What is the difference between inverting and non-inverting amplifier configurations?

Non-inverting: signal at V+ input, gain = 1 + Rf/Rin, input impedance = op-amp input impedance (10⁶-10¹² Ω). Inverting: signal at V- through Rin, gain = -Rf/Rin, input impedance = Rin. Non-inverting is preferred for high-impedance sources; inverting provides virtual ground for summing applications.

How does feedback affect op-amp gain?

Negative feedback sets closed-loop gain independent of open-loop gain (typically 10⁵-10⁶). The feedback fraction β = Rin/(Rf+Rin) determines gain: G = 1/β for non-inverting. Loop gain Aβ > 1000 ensures <0.1% gain error from ideal. Positive feedback causes oscillation — avoid.

What limits op-amp bandwidth?

GBW product limits small-signal bandwidth: BW = GBW/(1 + Rf/Rin), the noise gain, in both configurations. Slew rate limits large-signal bandwidth: SR_min = 2πfVpeak. For 10Vpeak at 100kHz: SR > 6.3V/μs. TL072 (SR = 13V/μs) handles this; LM358 (SR = 0.5V/μs) does not — output will be triangular instead of sinusoidal.

Can an op-amp amplify DC signals?

Yes — most op-amps are DC-coupled with bandwidth extending to 0Hz. However, input offset voltage (1-10mV typical) and offset drift (1-20μV/°C) cause DC errors. For precision DC: use chopper-stabilized op-amps (LTC2050: 3μV offset, 30nV/°C drift) or auto-zero types (OPA2188).

How do I choose the right op-amp for my design?

Match specs to requirements: GBW > gain × bandwidth; slew rate > 2πfVpeak; input noise < signal/SNR target; supply voltage compatible with system. For battery-powered: low quiescent current (MCP6001: 100μA). For high-speed: current-feedback (AD8009: 1GHz). For precision: low offset (OPA2188: 25μV).

Shop Components

As an Amazon Associate we earn from qualifying purchases.

  • Resistor Kit (1%, E24)Precision 1% thin-film SMD resistor assortment, 0402 packageAmazon →
  • Ceramic Capacitor KitMLCC ceramic capacitor assortment in 0402 packageAmazon →
  • Solderless BreadboardFull-size breadboard for circuit prototypingAmazon →