Calculators / Op-Amp Gain & Feedback Calculator
Op-Amp Gain & Feedback Calculator
Analyze non-inverting, inverting, summing and difference amplifiers; select E24 feedback resistors and compare ideal output with your rail/headroom limits.
Inputs
Try the prefilled example, or enter your own values.
Result
Calculate to see the result and worked steps. Changing an input clears the previous result.
How to use
- Choose the exact connection. R2 is always feedback from output to the inverting input; follow the connection notes below the result.
- For non-inverting/inverting modes, analyze components or enter target gain magnitude to select an E24 R2.
- Enter supply rails and required output headroom. Compare ideal output against the allowed output range before selecting a real op amp.
Formula and assumptions
Non-inverting: A = 1 + R2/R1. Inverting: A = −R2/R1. Summer: Vo = −R2(V1/R1 + V2/R3). Difference: Vo = (1 + R2/R1)R4V2/(R3 + R4) − (R2/R1)V1.
Ideal DC negative-feedback op amp with positive 0.1 Ω–10 MΩ resistors. Headroom is entered by you and applied symmetrically at both rails; a clipped estimate is an illustration, not a device saturation model. Does not check common-mode limits, output current, gain bandwidth, slew rate, stability or offset.
Sources
Worked example
A non-inverting stage with R1 = 10 kΩ and R2 = 100 kΩ has gain 11. At 0.5 V input the ideal output is 5.5 V, within −11.5 to +11.5 V when rails are ±12 V and entered headroom is 0.5 V.
Common mistakes
The four-resistor difference amplifier only reduces to (R2/R1)(V2 − V1) when R2/R1 = R4/R3. Matching the output range does not establish valid input common-mode range or AC performance.