Switch between non-inverting and inverting topologies. Gain, Vout, and dB update live.
Non-inverting: Gain = 1 + Rf/Rg. Input on (+) pin, gain always ≥ 1. Very high input impedance. Output in phase with input.
Inverting: Gain = −Rf/Rg. Input through Rg to (−) pin, (+) grounded. Input impedance = Rg. Output 180° out of phase.
Reality check: output is clipped by supply rails. If calculated Vout exceeds the op-amp's supply, it saturates and the formulas no longer apply.