Operational Amplifier Gain Calculator

Calculate inverting, non-inverting, and differential op-amp gain, output voltage, dB gain, and rail-limit warnings.

932.5K uses Updated · 2026-05-21 Runs locally · zero upload
AD

How to Use Operational Amplifier Gain Calculator

  • Choose the amplifier topology: inverting, non-inverting, or differential.
  • Enter resistor values using Ω, kΩ, or MΩ. The selected unit applies to the resistor fields.
  • Enter Vin for inverting and non-inverting stages, or V1 and V2 for the differential stage.
  • Set the supply rail limit to check whether the ideal output magnitude is larger than the available output swing.

Formula & Theory - Operational Amplifier Gain Calculator

Inverting: Av = -Rf / Rin
Non-inverting: Av = 1 + Rf / Rg
Vout = Av × Vin
Differential: Vout = (Rf / Rin) × (V2 - V1)
Gain(dB) = 20 log10(|Av|)

The inverting amplifier has a negative gain, so the output is ideally 180 degrees out of phase with the input. The non-inverting amplifier gain starts at 1 and stays in phase.

The differential equation assumes matched resistor ratios. If the real circuit uses unmatched resistor pairs, common-mode rejection and gain accuracy will be worse than the ideal calculation.

The rail check is an ideal warning, not a full output-swing model. Real op-amps also have input common-mode limits, output headroom, slew rate, bandwidth, and load-current constraints.

Use Cases for Operational Amplifier Gain Calculator

  • Selecting feedback resistors for signal conditioning stages.
  • Estimating whether a sensor signal will clip against the op-amp supply rails.
  • Comparing linear gain and dB gain in audio or instrumentation circuits.
  • Explaining phase inversion in an inverting op-amp configuration.

Frequently asked questions about Operational Amplifier Gain Calculator

What does Operational Amplifier Gain Calculator calculate?

Calculate inverting, non-inverting, and differential op-amp gain, output voltage, dB gain, and rail-limit warnings.

Can I use the result as a final design value?

Use it as a fast calculation or planning estimate. Engineering, finance, safety, and production decisions should still be checked against the relevant standard, data sheet, or professional review.

Is my data stored?

No. All calculations happen in your browser; nothing is sent to a server.