Op-Amp Gain Calculator
Calculate inverting and non-inverting op-amp gain from the feedback and input resistors, in V/V and dB, plus the output voltage.
Inverting gain (−R_f/R_in)–
Non-inverting gain (1 + R_f/R_in)–
Gain magnitude in dB–
Output (inverting)–
Output (non-inverting)–
Op-amp gain
With negative feedback, an ideal op-amp's closed-loop gain is set only by the two resistors — not the op-amp itself. The two classic configurations give different gains and input behaviour.
Inverting: A_v = −R_f / R_in
Non-inverting: A_v = 1 + R_f / R_in
The inverting amp flips the signal's polarity (hence the minus sign) and its gain can be below 1; the non-inverting amp keeps polarity and its gain is always at least 1. Gain in decibels is 20·log₁₀|A_v|.
Related
Set the resistor values with theresistor series & parallelcalculator, or convert a dB figure with thedecibel converter.