TheCircuitDog.
Analog Design

Op-Amp Closed-Loop Gain Calculator

Calculate closed-loop gain for a standard inverting or noninverting op-amp resistor network.

Runs locally in your browser · no login
Enter the values above and select Calculate result.

Formula

Inverting: Av = −Rf/Rin; Noninverting: Av = 1 + Rf/Rg

Worked example

An inverting op-amp with Rin = 10 kΩ and Rf = 20 kΩ has ideal gain −2 V/V. Noninverting with Rg = Rf = 10 kΩ gives +2 V/V.

Engineering notes

Check supply rails, output swing, gain-bandwidth product, input common-mode limits, capacitive loading and stability.

Always compare calculated values with the actual component datasheet, tolerance stack-up, operating temperature and circuit conditions before applying them to hardware.

Related tools