Science & engineering

Ideal op-amp gain

Compare ideal inverting and non-inverting closed-loop amplifier results.

Ideal op-amp gain
Esc to restore

Your inputs

Presets 2worked examples you can load and change
  • Ideal op-amp. The output cannot exceed the supply rails, and the amplifier’s gain-bandwidth limits the frequency at which this gain holds.

    Sources: Operational amplifier

  • Needs the output to swing negative relative to the reference, so use a dual supply or bias the input to a virtual ground.

    Sources: Operational amplifier

Presets are starting points from the repository, not advice: check them against your own parts, fabric or ingredients.

Results update as you type. Larger files run when you press Update result.

Your result

Your result will appear here.

More actions

What if? Vary one input and watch the result

Pick an input and a result, choose a range, and Toolmoz runs this calculation at each step on your device. Every other input stays as you entered it.

Your inputs stay in this browser. Nothing is uploaded, and nothing is saved unless you choose “Save result”.

A clear answer. Here’s how.

Ideal non-inverting gain = 1+Rf/Rg; ideal inverting gain = −Rf/Rin. Output = gain × input, relative to the same zero reference. Reports signed gain, magnitude in dB and ideal output. Assumes stable negative feedback; supply rails, output headroom, gain-bandwidth, input range and slew rate are not modelled.

See a worked example

Worked example

A fixed demonstration, separate from the values you enter above.

Feedback topology
Non-inverting
Input or ground resistor (Ω)
10000
Feedback resistor (Ω)
100000
Input signal relative to reference (V)
0.1

Example result

Signed voltage gain
11
Gain magnitude
20.8278537032 dB
Ideal output signal
1.1 V

Ideal closed-loop result; supply rails and the selected amplifier’s limits are not applied.