Electronics & Engineering

Op-Amp Gain Calculator (Inverting and Non-Inverting)

Choose the configuration and enter the resistors and input voltage.

Your numbers

Your results

Voltage gain (V/V)
Voltage gain (V/V)
—
Gain (dB)
—
Ideal output (V)
—
With supply limit
—
Input impedance
—

Op-Amp Gain Calculator (Inverting and Non-Inverting) by TheCalcTools

How the Op-Amp Gain Calculator (Inverting and Non-Inverting) works

A non-inverting amplifier has gain 1 + Rf ÷ Rg and keeps the signal’s polarity. An inverting amplifier has gain −Rf ÷ Rin and flips it.

Real op-amps cannot swing past their supply rails (most stop 1 to 2 V short unless rail-to-rail), and gain falls at high frequency according to the gain-bandwidth product.

The formula

Non-inverting: G = 1 + Rf ÷ Rg; inverting: G = −Rf ÷ Rin

Worked example

Using the default values shown in the calculator:

ConfigurationNon-inverting
Feedback resistor Rf (kΩ)47
Ground or input resistor Rg / Rin (kΩ)10
Input voltage (V)0.5
Supply rail (± V)12
  1. Non-inverting with 47 kΩ and 10 kΩ: gain 5.700 (15.12 dB).
  2. 0.5 V in gives 2.850 V.

Result:

Voltage gain (V/V)5.700
Gain (dB)15.12
Ideal output (V)2.850
With supply limit2.850 V
Input impedanceVery high (the op-amp input)

Frequently asked questions

What is a voltage follower?

A non-inverting amplifier with Rf = 0 (and no Rg): gain 1, used as a buffer.

Sources and further reading

More in Electronics & Engineering · All calculators

This calculator gives estimates for information only. Check important results independently before you rely on them. See our disclaimer.