This op-amp gain calculator handles the three everyday amplifier circuits: inverting, non-inverting and differential. Enter the feedback and input resistors and the input voltage, and it shows the gain as a ratio and in decibels, the output voltage, whether the output clips at your supply rails, and the input impedance. Enter a target gain to get the feedback resistor, snapped to a standard E24 value. Paste a list of stages to check a whole signal chain. It runs in your browser.
| Rf | Rg | Gain | dB |
|---|---|---|---|
| 0 (follower) | — | 1 | 0 |
| 10 kΩ | 10 kΩ | 2 | 6.0 |
| 90 kΩ | 10 kΩ | 10 | 20.0 |
| 100 kΩ | 1 kΩ | 101 | 40.1 |
| 1 MΩ | 1 kΩ | 1,001 | 60.0 |
1 + Rf ÷ Rg. With Rf = 90 kΩ and Rg = 10 kΩ the gain is 10 (20 dB).
The output is 180° out of phase with the input; the magnitude is Rf ÷ Rin.
An op-amp's output can't exceed its supply rails, and most can't reach them; use a rail-to-rail part or reduce gain.
No. Gain × bandwidth is roughly constant, so high-gain stages have less bandwidth.
No. Everything runs in your browser.
Inverting amplifier gain G = −Rf ÷ Rin with input impedance Rin. Non-inverting G = 1 + Rf ÷ Rg with very high input impedance. Differential amplifier with matched resistor pairs: Vout = (Rf ÷ Rin) × (V2 − V1). Gain in dB = 20 log10 |G|. The output is limited to the supply rails and flagged when clipped. For a target gain the exact feedback resistor is computed and snapped to the nearest E24 value. Batch mode reads stages with Rf, Rin and an optional mode.