Tools / Ideal Non-Inverting Amplifier

How to work out a non-inverting op-amp gain

The op-amp adjusts its output until both inputs match. That sets the gain from two resistors. Here is the working with your numbers.

Gain = 1 + Rf/Rg, ideal linear amplifier

Inputs

Ω
Ω
V

Results update as you type. Prefixes work: 4.7k, 100u, 10n.

Result
Ideal gain
11 V
Ideal output
1.1 V
What this leaves out
  • Ideal closed-loop gain only; supply rails, common-mode, output swing, gain-bandwidth, stability and slew rate not checked.
Step by step

The working with your numbers

  1. Divide the feedback resistor by the ground resistorRf ÷ Rg = 10 kΩ ÷ 1 kΩ = 10
  2. Add 1 to get the gainGain = 1 + Rf ÷ Rg = 1 + 10 = 11The 1 is there because the output also has to cover the input voltage itself.
  3. Multiply the input by the gainVout = 11 × 0.1 V = 1.1 V
  4. The same gain in decibels20 × log10(11) = 20.8 dB

Does the answer make sense?

  • OK: Check the divider: Rf and Rg feed back 9.09 % of the output. 1.1 V × 0.0909 = 0.1 V, which equals the input, so the op-amp is balanced.
  • OK: Your supply must be at least 2.6 V (about 1.5 V more than the output), unless the op-amp is rail-to-rail.
  • OK: With an LM358 (about 1 MHz gain-bandwidth) the gain stays flat up to about 90.9 kHz.

Pick a real part

  • Nearest standard values: Rf = 10 kΩ, Rg = 1 kΩ, gain 11.
  • Keep both between about 1 kΩ and 100 kΩ. Smaller wastes current, bigger picks up noise.

Common mistakes

  • Using Rf ÷ Rg for the gain. That is the inverting amplifier. Non-inverting is 1 + Rf ÷ Rg.
  • Connecting Rg to the input instead of to ground.
  • Expecting the output to reach the supply rail. Most op-amps stop about 1.5 V short.

Learn it, try it, build it

Calculated, not measured. Check the exact part datasheet and your real circuit before powering anything.

Common questions

How do you work out the gain of a non-inverting amplifier?

Gain = 1 + Rf ÷ Rg, where Rf goes from the output to the minus input and Rg from the minus input to ground. 20 kΩ and 10 kΩ give 1 + 2 = 3.

Why does my op-amp output stop below the supply voltage?

Most op-amps such as the LM358 can only swing to about 1.5 V inside their supply. Use a rail-to-rail op-amp or a higher supply if you need more.