Calculate the gain of an inverting or non-inverting op-amp amplifier from its resistors, and check whether the output will clip at your supply voltage.

Formulas

  • Non-inverting: G = 1 + Rf / Rg (input impedance very high).
  • Inverting: G = −Rf / Rin (input impedance ≈ Rin, output is phase-inverted).
  • Gain in dB = 20 × log10(|G|).

Op-amps such as the LM358 and LM324 cannot swing fully to the supply rails; leave about 1.5 V of headroom. See our shunt resistor and op-amp current measurement project for a practical example.

More calculators

Need this designed for your product? We design power electronics, embedded firmware and industrial IoT hardware. Message us on WhatsApp or use the contact form.