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
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
- Divide the feedback resistor by the ground resistor
Rf ÷ Rg = 10 kΩ ÷ 1 kΩ = 10 - Add 1 to get the gain
Gain = 1 + Rf ÷ Rg = 1 + 10 = 11The 1 is there because the output also has to cover the input voltage itself. - Multiply the input by the gain
Vout = 11 × 0.1 V = 1.1 V - The same gain in decibels
20 × 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.
Just need the number? Use the ideal non-Inverting amplifier calculator on Geekobot.
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.
