Op-Amp Gain Calculator
Choose a configuration and enter resistor values to compute gain and output voltage instantly. Includes show-work steps and clean resistor-ratio math.
How to Use
- Select an op-amp configuration (Inverting, Non-Inverting, or Voltage Follower).
- Enter resistor values (Rin/Rf or Rg/Rf depending on mode).
- Optional: enter Vin to estimate Vout from the ideal closed-loop gain.
- Open “Show Work” to see the exact formula and substitutions.
Show Work (step-by-step)
20·log10(|Av|).
Gain Formulas
Inverting: Av = −(Rf / Rin)
Non-Inverting: Av = 1 + (Rf / Rg)
Voltage Follower: Av = 1
- Output estimate:
Vout = Av × Vin(ideal closed-loop) - Gain in dB:
Gain(dB) = 20·log10(|Av|)
FAQ
Why is inverting gain negative?
In an inverting amplifier, the output is 180° out of phase with the input, so the gain sign is negative.
What resistor values should I choose?
Common starting points are in the 1kΩ–100kΩ range. Too low wastes current; too high can increase noise and bias-current error.
Why doesn’t my real circuit match exactly?
Real op-amps have finite open-loop gain, bandwidth limits, input bias currents, and output swing limits. Gain can droop at higher frequency.
Does this include saturation/clipping?
No—this tool can warn if you enter an optional Vout limit, but it does not model rails or clipping.
Tool Info
Last updated:
Updates may include additional presets, improved validation, and more resistor target options.