Calculators Parts
Op-amp gain calculator
Pick the stage: inverting, non-inverting, difference or summing. The calculator gives the gain, the input impedance and resistor pairs for a target gain from the E12, E24 or E96 series. An inverting stage has G = −Rf / R1 and Zin = R1; a non-inverting one has G = 1 + Rf / R1.
The closed-loop bandwidth comes from the gain-bandwidth product and the noise gain, fc = GBW / (1 + Rf / R1): the single-pole model of a compensated op-amp. The open-loop DC gain sets how far the real gain falls short of the ideal one.
The calculator
The formulas it uses
These are the formulas the calculator shows, copied from its source code. The results in the window above come from the same code as the app.
Inverting
- G = (−Rf) / (R1)
- Zin = R1
- NG = 1 + Rf / R1
- fc = GBW / (NG)
- H(f) = G / (1 + NG / Aol(f))
Non-inverting
- G = (1 + Rf) / (R1)
- R1 is the resistor from the inverting input to ground.
- NG = 1 + Rf / R1
- fc = GBW / (NG)
- H(f) = G / (1 + NG / Aol(f))
Difference
- Vout = Rf / (R1)
- times (V+ − V−), with R3 = R1 and R4 = Rf.
- Zin = 2 · R1
- NG = 1 + Rf / R1
- fc = GBW / (NG)
- H(f) = G / (1 + NG / Aol(f))
Summing
- Vout = −Rf · (V1 / R1 + V2 / R2)
- NG = 1 + Rf / (R1 ∥ R2)
- fc = GBW / (NG)
- H(f) = G / (1 + NG / Aol(f))
Sources. Ideal op-amp gain equations as in the textbooks (Horowitz and Hill, The Art of Electronics). Bandwidth from the single-pole model of a compensated op-amp: fc = GBW / (1 + Rf / R1).
Simple and Advanced
Simple is the main values, one set of results and a plot. Advanced is the full design view: the operating range with its corners, tolerance and temperature, checks with their margin (a green tick, an amber warning or a red cross), the parts to order with the ratings they need, warnings that give the fact, the number and the fix, and plots over the whole range. A value typed in one view is the same in the other.
The Advanced view also picks the op-amp from the vendor model library: every row of the list is the whole design worked out with that op-amp, ranked by its worst-case DC error. In the app, Place with this model puts the vendor part in the circuit.
In the app it also places the circuit and checks it
In the app, the buttons under the result act on your circuit: Place and run AC. The circuit is drawn with library symbols, wires, a source and probes, placed at a free spot in the view, and the analysis that checks it runs at once. With parts selected, Apply to the selected parts writes the result into them, as one undo step.
The last tab of the Advanced view, Verify in simulation, places the calculator's circuit and runs it, with measurements whose pass limits are the calculator's own numbers. A row the simulator cannot check says so and why. More in the manual: Op-amp gain.