Inverting op amp calculator for gain, output voltage, Rf or Rin and summing stages, plus the rail limits, noise gain, GBW bandwidth, feedback capacitor, bias resistors and offsets.
Enter Rin, Rf and the input voltage. An inverting amplifier gives Vout = -(Rf ÷ Rin) × Vin.
Supply, Bandwidth & Offset
Circuit and Waveforms
Output Across Input Levels
| Input | Ideal Output | Actual Output | Current |
|---|---|---|---|
| -500 mV | 5 V | 5 V | 50 µA |
| -250 mV | 2.5 V | 2.5 V | 25 µA |
| -125 mV | 1.25 V | 1.25 V | 12.5 µA |
| 0 V | 0 V | 0 V | 0 A |
| 125 mV | -1.25 V | -1.25 V | 12.5 µA |
| 250 mV (yours) | -2.5 V | -2.5 V | 25 µA |
| 500 mV | -5 V | -5 V | 50 µA |
Step-by-Step Math
Inverting Op Amp Calculator Math: Vout = -(Rf ÷ Rin) × Vin
An inverting amplifier multiplies the input by the resistor ratio Rf ÷ Rin and flips its sign. A 0.25 V input through 10 kΩ, with 100 kΩ of feedback, comes out at -2.5 V.
Vin is the input voltage, Rin the resistor from the input to the - pin and Rf the feedback resistor from the output back to the - pin. The ratio alone, -Rf ÷ Rin, is the inverting op amp gain formula.
The - pin sits at virtual ground, 0 V, because the op-amp drives its output until both inputs match. So every inverting op amp calculator current figure is simply Vin ÷ Rin, and all of it flows on through Rf: 25 µA in the worked case.
| Input | Output, gain -10 | Current through Rin and Rf |
|---|---|---|
| -500 mV | +5 V | 50 µA |
| -250 mV | +2.5 V | 25 µA |
| -125 mV | +1.25 V | 12.5 µA |
| 0 V | 0 V | 0 µA |
| +125 mV | -1.25 V | 12.5 µA |
| +250 mV | -2.5 V | 25 µA |
| +500 mV | -5 V | 50 µA |
The rows use 10 kΩ and 100 kΩ on ±15 V supplies. Every inverting op amp calculator answer is this straight line until the output meets a supply rail, which with this gain happens at ±1.5 V in.
Rf dissipates 62.5 µW and Rin 6.25 µW at the 0.25 V input, so any small resistor handles it. Power only matters with low resistor values and large output swings.
Bandwidth Follows Noise Gain, Not Signal Gain
An inverting stage's bandwidth is the op-amp's gain-bandwidth product divided by the noise gain, 1 + Rf ÷ Rin. A gain of -10 on a 1 MHz op-amp reaches 90.91 kHz, not the 100 kHz a naive inverting op amp calculator estimate of GBW ÷ gain suggests.
GBW is the op-amp's gain-bandwidth product from its datasheet. Analog Devices' MT-033 tutorial notes that noise gain, not signal gain, sets both bandwidth and stability.
| Signal gain | In dB | Noise gain | Bandwidth, 1 MHz GBW | Bandwidth, 10 MHz GBW | Rise time, 1 MHz GBW | Within 1% up to |
|---|---|---|---|---|---|---|
| -0.5 | -6.02 dB | 1.5 | 666.7 kHz | 6.667 MHz | 0.525 µs | 94.99 kHz |
| -1 | 0 dB | 2 | 500 kHz | 5 MHz | 0.70 µs | 71.25 kHz |
| -2 | 6.02 dB | 3 | 333.3 kHz | 3.333 MHz | 1.05 µs | 47.50 kHz |
| -10 | 20 dB | 11 | 90.91 kHz | 909.1 kHz | 3.85 µs | 12.95 kHz |
| -22 | 26.8 dB | 23 | 43.48 kHz | 434.8 kHz | 8.05 µs | 6.195 kHz |
| -47 | 33.4 dB | 48 | 20.83 kHz | 208.3 kHz | 16.8 µs | 2.969 kHz |
| -100 | 40 dB | 101 | 9.901 kHz | 99.01 kHz | 35.4 µs | 1.411 kHz |
That naive estimate is worst at low gain. A unity-gain inverter has a noise gain of 2, so it gets 500 kHz from a 1 MHz part, half what a voltage follower on the same chip reaches.
The -3 dB figure also hides how early accuracy goes. Gain -10 on a 1 MHz part is already 1% low at 12.95 kHz, so check the 1% column whenever an inverting op amp calculator result must hold across the audio band.
Picking Rin and Rf for the Gain You Need
For a set gain, an inverting op amp calculator only fixes the ratio, so the real choice is the size of Rin. Around 10 kΩ suits most work; much lower wastes current, much higher adds offset and noise.
| Rin for gain -10 | Rf | Input impedance | Rf current at 15 V out | Rf power at 15 V out | Gain with 100 Ω source | Output offset per 100 nA bias |
|---|---|---|---|---|---|---|
| 1 kΩ | 10 kΩ | 1 kΩ | 1.5 mA | 22.5 mW | -9.091 | 1 mV |
| 10 kΩ | 100 kΩ | 10 kΩ | 150 µA | 2.25 mW | -9.901 | 10 mV |
| 100 kΩ | 1 MΩ | 100 kΩ | 15 µA | 0.225 mW | -9.990 | 100 mV |
| 1 MΩ | 10 MΩ | 1 MΩ | 1.5 µA | 0.0225 mW | -9.999 | 1 V |
Source impedance adds straight to Rin in any inverting op amp calculator sum, so low values lose gain. A 100 Ω source cuts a 1 kΩ design 9.1% short, while 10 kΩ keeps it within 1%, the same figure TI uses in its inverting amplifier circuit note.
High values fail the other way. With 1 MΩ of feedback, 100 nA of bias current shifts the output by 100 mV, and TI warns that large resistors also hurt phase margin and noise.
Exact inverting op amp calculator ratios rarely land on stock parts. With 10 kΩ in, a gain of 5 needs 50 kΩ, so the E12 choices are 47 kΩ for -4.7 or 56 kΩ for -5.6; a gain of 12 is the simple case, since 120 kΩ is itself an E12 value.
Supply Rails Set the Largest Clean Output
The output cannot pass the supplies, so the clean input range in any inverting op amp calculator check is the rail voltage divided by the gain. On ±15 V, a gain of -10 handles ±1.5 V in; past that, the output flattens.
| Gain | ±15 V supplies | ±12 V supplies | ±5 V supplies |
|---|---|---|---|
| -1 | ±15 V | ±12 V | ±5 V |
| -2 | ±7.5 V | ±6 V | ±2.5 V |
| -5 | ±3 V | ±2.4 V | ±1 V |
| -10 | ±1.5 V | ±1.2 V | ±0.5 V |
| -47 | ±0.319 V | ±0.255 V | ±0.106 V |
| -100 | ±0.15 V | ±0.12 V | ±0.05 V |
These limits assume an output that reaches the rails, which only rail-to-rail parts come close to. Many op-amps stop a volt or two short, so trim each figure by that headroom from the datasheet's output-swing spec.
When the inverting op amp vout formula asks for more than the supply allows, the cure is less gain. A 2 V input at gain -10 wants -20 V on ±15 V rails; dropping Rf from 100 kΩ to 75 kΩ makes the output just reach -15 V.
Once the output clips, the - pin stops being a virtual ground and the usual inverting op amp calculator current no longer applies.
With 2 V in and the output stuck at -15 V, the - pin rises to 0.455 V, and 154.5 µA flows through both resistors: 2.388 mW in Rf and 238.8 µW in Rin.
Slew Rate and Load Current Limits
A sine wave with peak voltage Vp stays clean only below SR ÷ (2π × Vp), the full-power bandwidth. Above it, the output cannot slew fast enough and turns into a triangle wave.
SR is the op-amp's slew rate in volts per second, from its datasheet, and Vp the peak output voltage about the reference. Large outputs hit this limit long before the small-signal bandwidth.
| Peak output | Clean up to, 0.5 V/µs | Clean up to, 13 V/µs |
|---|---|---|
| 1 V | 79.58 kHz | 2.069 MHz |
| 2.5 V | 31.83 kHz | 827.6 kHz |
| 10 V | 7.958 kHz | 206.9 kHz |
| 14 V | 5.684 kHz | 147.8 kHz |
An inverting op amp calculator bandwidth of 90.91 kHz for gain -10 on a 1 MHz part hides this: with a 0.5 V/µs slew rate a 10 V peak output stays clean only to 7.958 kHz. TI's example needs 0.26 V/µs for 14 V peak at 3 kHz.
The output pin also has to carry two currents: the load current and the current through Rf. At -15 V, a 600 Ω load takes 25 mA and Rf another 150 µA, so the op-amp must supply 25.15 mA.
| Load to 0 V | Op-amp current at -2.5 V out | Op-amp current at -15 V out |
|---|---|---|
| 600 Ω | 4.192 mA | 25.15 mA |
| 2 kΩ | 1.275 mA | 7.65 mA |
| 10 kΩ | 275 µA | 1.65 mA |
The rows use 100 kΩ of feedback. Compare each figure with the output current in the op-amp's datasheet; past that limit, the output sags and the inverting op amp calculator result no longer holds.
Single-Supply Stages With a Bias on the + Input
On a single supply, the + input must sit at a reference such as half the supply, and the output swings around that level instead of 0 V. With the + pin at Vref, the stage inverts about Vref.
Vref is the voltage on the + input. Set it to 0 V and the equation falls back to the plain inverting op amp calculator formula, with the output centered on 0 V.
| Input | Output, gain -2, Vref 2.5 V, 5 V supply |
|---|---|
| 1.5 V | 4.5 V |
| 2.0 V | 3.5 V |
| 2.5 V | 2.5 V |
| 3.0 V | 1.5 V |
| 3.5 V | 0.5 V |
The clean input window in this inverting op amp calculator example runs from 1.25 V to 3.75 V. Ground the + input instead and every positive input asks for a negative output; 0.5 V in wants -1 V and the output simply sits at 0 V.
Summing Amplifier Outputs, Input by Input
Give each input its own resistor into the - pin and the output becomes a weighted, inverted sum. Each input adds -(Rf ÷ Rn) × Vn to the inverting op amp calculator total, independent of the others, because the - pin stays at virtual ground.
V1 to V3 are the input voltages and R1 to R3 their resistors, all sharing one Rf. The same structure extends to any number of inputs.
| Input | Voltage | Resistor | Gain | Adds to output |
|---|---|---|---|---|
| V₁ | 0.2 V | 10 kΩ | -10 | -2.000 V |
| V₂ | -0.5 V | 22 kΩ | -4.545 | +2.273 V |
| V₃ | 1 V | 47 kΩ | -2.128 | -2.128 V |
| Total | - | 6.0 kΩ in parallel | - | -1.855 V |
The rows use 100 kΩ of feedback. A summer's noise gain uses all input resistors in parallel: 1 + 100 kΩ ÷ 6.0 kΩ = 17.67, so bandwidth on a 1 MHz part drops to 56.58 kHz, well below what any single input's gain suggests.
A four-channel audio mixer with 10 kΩ everywhere gives each channel unity gain, yet the noise gain is 5. Its bandwidth on a 1 MHz part is 200 kHz, and adding channels keeps raising the noise.
Bias Balance Resistor and Output Offset
A resistor equal to Rin in parallel with Rf, placed from the + input to ground, cancels the offset from matched input bias currents. For 10 kΩ and 100 kΩ, that resistor is 9.091 kΩ.
Without it, the bias current into the - pin flows through Rf and appears at the output, an error no ideal inverting op amp calculator with feedback includes.
100 nA through 100 kΩ gives 10 mV, and a 1 mV input offset voltage adds another 11 mV, since offsets see the noise gain of 11.
The balance resistor only helps when the two bias currents match. Analog Devices' MT-038 warns it makes bias-compensated op-amps worse and should be bypassed with a capacitor above about 1 kΩ.
For a summing stage, the balance value is every input resistor and Rf in parallel: 5.658 kΩ for the three-input example above. The same matched-current condition applies.
Feedback Capacitor and Open-Loop Gain Limits
A capacitor across Rf adds a roll-off at 1 ÷ (2π × Rf × Cf), turning the stage into an inverting low-pass filter. With 100 kΩ, 10 pF puts that corner at 159.2 kHz.
| Cf across 100 kΩ | Capacitor corner | Combined -3 dB, gain -10, 1 MHz GBW | Within 1% up to |
|---|---|---|---|
| None | - | 90.91 kHz | 12.95 kHz |
| 10 pF | 159.2 kHz | 59.1 kHz | 8.424 kHz |
| 22 pF | 72.34 kHz | 41.21 kHz | 5.874 kHz |
| 100 pF | 15.92 kHz | 13.7 kHz | 1.953 kHz |
10 pF pulls the -3 dB point from 90.91 kHz to 59.1 kHz, even though its own corner sits at 159.2 kHz. Multiplying the two single-pole responses would suggest 73.3 kHz, which is too optimistic.
The capacitor lowers the noise gain at high frequency while the op-amp's gain falls, and the two interact through the loop. Any op-amp gain calculator with a capacitor has to solve that full response rather than stack two corners.
TI notes that a small Cf also steadies circuits built with high-value resistors, at the cost of some bandwidth.
For a deliberate filter, the Low Pass Filter Calculator sizes the corner, and a capacitor in series with Rin gives the high-pass version covered by the High Pass Filter Calculator.
Finite open-loop gain trims every inverting op amp calculator result too. The real gain is G ÷ (1 + NG ÷ AOL), so a gain of -100 on a 60 dB op-amp lands at -90.83, 9.2% low, while 100 dB of open-loop gain leaves it 0.1% low at -99.90.
The inverting op amp calculator output moves with it. A 40 dB op-amp turns the worked 0.25 V input into -2.252 V instead of -2.5 V, because the gain of -10 loses 9.9% to the loop.
| Open-loop gain | Gain -10 becomes | Gain -100 becomes | Gain -1000 becomes |
|---|---|---|---|
| 60 dB | -9.891 | -90.83 | -499.8 |
| 80 dB | -9.989 | -99.00 | -909.0 |
| 100 dB | -9.999 | -99.90 | -990.1 |
| 120 dB | -10.00 | -99.99 | -999.0 |
Common Points of Confusion With Inverting Gain
Most mix-ups trace back to the minus sign and to swapping the inverting and non-inverting formulas, which differ by exactly 1 in magnitude for the same pair of resistors.
What is the op amp gain calculator?
It turns resistor values into voltage gain, or a wanted gain into resistor values. For an inverting stage the gain is -Rf ÷ Rin; 47 kΩ over 10 kΩ gives -4.7, or 13.4 dB.
A full inverting op amp calculator with steps goes further, to the output for a given input, the rail limit and the bandwidth. The Op Amp Gain Calculator covers both inverting and non-inverting gain side by side.
How do I find op amp gain?
Divide the feedback resistor by the input resistor. Inverting gain is -Rf ÷ Rin; non-inverting gain is 1 + Rf ÷ Rg. With 22 kΩ and 10 kΩ, that is -2.2 inverting or 3.2 non-inverting.
On a bench, measure it instead: apply a small signal, read the output, and divide. A 100 mV input reading -2.2 V out confirms a gain of -22, provided the output is well clear of the rails.
Why is the non-inverting gain formula different from the inverting gain?
In a non-inverting stage the input drives the + pin directly, so the output must cover the input voltage plus the drop across Rf. That adds 1, giving 1 + Rf ÷ Rg, and the sign stays positive.
The same 10 kΩ and 100 kΩ give -10 inverting and +11 non-inverting, yet both have a noise gain of 11 and the same bandwidth.
The Non-Inverting Op-Amp Resistor Calculator sizes that version; gain below 1 is impossible in any non inverting op amp calculator design.
Why is the output voltage negative?
Current into the - pin must leave through Rf, so the output has to pull below virtual ground to sink it. A positive input therefore gives a negative output, a 180° phase shift for AC signals.
For a positive result, feed a negative input, or follow the stage with a second inverter of gain -1. Two -10 stages in series give +100, though each adds its own noise gain of 11.
What determines the input impedance?
Rin alone sets it, because the - pin sits at virtual ground. In inverting op amp calculator terms, a 10 kΩ input resistor loads the source with exactly 10 kΩ, whatever the gain.
That is the inverting stage's main weakness. A 1 MΩ input impedance needs Rin = 1 MΩ, and gain -10 then needs a 10 MΩ feedback resistor; a non-inverting stage gives a far higher input impedance with ordinary values.
Can the gain be less than 1?
It can, by making Rf smaller than Rin, an ordinary ratio in inverting op amp calculator math. 10 kΩ in with 5 kΩ feedback gives -0.5, which halves and inverts the signal; this is how inverting stages scale a large signal down to an ADC range.
The noise gain never drops below 1, though: at -0.5 it is 1.5, so a 1 MHz op-amp gives 666.7 kHz of bandwidth. Op-amps that are not unity-gain stable can still oscillate in such stages.
What are common applications of inverting OP AMPs?
Audio mixers, summing and scaling stages, active filters, current-to-voltage converters and DAC output stages are the usual jobs. The virtual-ground input lets several sources combine without disturbing each other.
A photodiode transimpedance amplifier is the inverting op amp calculator circuit with Rin removed. 1 µA of photocurrent into 1 MΩ of feedback gives -1 V.
For measuring the difference between two signals, the Instrumentation Amplifier Gain Calculator handles the differential case.