Switch between non-inverting and inverting topologies. The schematic, gain, Vout, and dB readout all update live as you change the feedback resistors.
Non-inverting: Gain = 1 + Rf/Rg. Input goes to the (+) pin, gain is always ≥ 1. Very high input impedance (~op-amp's intrinsic Zin). Output is in phase with input.
Inverting: Gain = −Rf/Rg. Input goes through Rg to the (−) pin, (+) is grounded. Input impedance equals Rg (often a downside). Output is 180° out of phase.
Reality check: output is clipped by the supply rails. If your calculated Vout exceeds the op-amp's supply (typically ±15 V or 0–5 V for single-supply), the op-amp will saturate and the gain formulas no longer apply.