Op-Amp Gain Calculator — inverting, non-inverting and differential
Gain and resistor selection for inverting, non-inverting, differential, summing and instrumentation amplifier topologies.
Example: Non-inverting with Rin = 1 kΩ and Rf = 10 kΩ gives a gain of 11 V/V (20.8 dB).
Formula
non-inverting: A = 1 + Rf/Rin inverting: A = −Rf/RinWorked example
Non-inverting with Rin = 1 kΩ and Rf = 10 kΩ gives a gain of 11 V/V (20.8 dB).
A = 1 + Rf / Rin
A = 1 + 10 kΩ / 1 kΩ
11 V/V
Frequently asked questions
How do I calculate op-amp gain?
For a non-inverting stage, 1 + Rf/Rin. For an inverting stage, −Rf/Rin. The minus sign means the output is inverted; the magnitude is what it says. A 10 kΩ feedback with a 1 kΩ input gives 11 non-inverting or −10 inverting.
What is noise gain and why does it differ?
Noise gain is 1 + Rf/Rin regardless of topology — it is the gain the feedback loop actually runs at, and it sets bandwidth and stability. An inverting stage with unity signal gain still has a noise gain of 2, so it gets half the bandwidth you might expect.
Why can't a non-inverting amplifier attenuate?
Because the formula is 1 + Rf/Rin, and Rf/Rin is never negative. The minimum is unity, with Rf shorted. To attenuate, put a divider before the amplifier or use an inverting stage, where Rf/Rin below 1 works fine.
How does gain limit bandwidth?
Op-amps have a fixed gain-bandwidth product, so bandwidth is GBW divided by noise gain. A 1 MHz part at a gain of 100 gives you 10 kHz. Two cascaded stages of gain 10 give the same overall gain with ten times the bandwidth.
Related tools
RC / RL / LC Filter Calculator
Cutoff frequency and −3 dB response for low-pass, high-pass and band-pass filters, with a plotted Bode curve.
Circuits
Voltage Divider Calculator
Compute divider output voltage, or pick the best E24/E96 resistor pair for a target ratio — including the error your load introduces.
Components
Wheatstone Bridge Calculator
Bridge output voltage and balance condition, with a strain-gauge mode.
Circuits
ADC Resolution & LSB Calculator
Step size, ENOB, quantisation noise and SNR for a given ADC bit depth and reference voltage.
Firmware
Decibel Converter
Convert between dB, dBm, dBV, watts, volts and plain ratios.
Circuits
555 Timer Calculator
Design astable, monostable and 50%-duty 555 circuits. Get the schematic, the waveform, and a bill of materials in stock E24 values.
Circuits