Op-Amp Gain Calculator

Setting op-amp gain from resistor values — or the reverse — comes up constantly during analog front-end bring-up. This calculator covers both inverting and non-inverting configurations, so you can size feedback resistors for a target gain or check the gain an existing circuit on a board is actually delivering.

Op-Amp Gain

Inverting and non-inverting configurations

Show your work
Configuration
Gain (V/V)
11.0000
Gain (dB)
20.83 dB
Vout
1.10 V
Noise gain
11.000
Closed-loop BW
90.9 kHz
Formula
+−VinRgRfVout
G=1+RfRg
Vout=G·Vin
GdB=20·log10|G|
Gn=1+RfRg
BW=GBWGn

Ideal op-amp: the two inputs sit at the same voltage and draw no current, so the resistors alone set the gain.

  • G = closed-loop gain (V/V)
  • Rf = feedback resistor, from the output to the − input (Ω)
  • Rg = resistor from the − input to ground (Ω)
  • Gn = noise gain, the gain that sets bandwidth
  • GBW = gain-bandwidth product from the datasheet (Hz)
  • BW = closed-loop bandwidth (Hz)

Non-inverting gain never goes below 1×. Input impedance is the op-amp's own, so source loading is negligible.