Op-Amp Gain & Bandwidth Calculator
Calculate op-amp voltage gain, gain in dB, −3 dB bandwidth, and input impedance for inverting, non-inverting, and differential amplifier configurations.
Formula
Reference: Horowitz & Hill, The Art of Electronics, 3rd ed.
How It Works
Op-amp gain calculator computes closed-loop gain for inverting (G = -Rf/Rin) and non-inverting (G = 1 + Rf/Rin) configurations — essential for signal conditioning, instrumentation amplifiers, and active filter design. Analog circuit designers, sensor interface engineers, and audio designers use this to set precise gain stages while managing bandwidth and noise tradeoffs. Per Horowitz & Hill 'Art of Electronics' (3rd ed., Ch.4), the gain-bandwidth product (GBW) is constant for voltage-feedback op-amps: GBW = gain × bandwidth. A TL072 with GBW = 3MHz at gain = 100 has bandwidth of only 30kHz. For gains above 10, consider current-feedback amplifiers (AD8009: 1GHz bandwidth independent of gain) or instrumentation amplifiers (AD620: 0.1% gain accuracy).
Worked Example
Design a non-inverting amplifier with gain = 10 (20dB) using an OPA2134 (GBW = 8MHz) for audio preamp application. Calculate resistor values: Rf/Rin = G - 1 = 9. Choose Rin = 10kΩ (high enough to minimize loading, low enough for low noise). Then Rf = 90kΩ; use 91kΩ from E96 series. Bandwidth: BW = GBW/G = 8MHz/10 = 800kHz — adequate for 20Hz-20kHz audio with 40× margin. Verify noise: OPA2134 input noise = 8nV/√Hz; at gain = 10, output noise = 80nV/√Hz. Over 20kHz bandwidth: noise = 80nV × √20000 = 11.3μV RMS — equivalent to -98.9dBV, suitable for 16-bit audio (96dB dynamic range).
Practical Tips
- ✓For gains of 1-10 at audio frequencies, TL07x series ($0.30) offers excellent performance; for gains above 100, use instrumentation amplifiers (INA128: 0.02% gain error)
- ✓Add 100pF capacitor across Rf for gains > 10 to prevent oscillation — this limits bandwidth to 1/(2πRfCf) but ensures stability per TI application note AN-31
- ✓For rail-to-rail output swing, use RRIO op-amps (OPA340, MCP6001) — standard op-amps clip 1-2V from supply rails under load
Common Mistakes
- ✗Ignoring GBW limitations — setting gain = 1000 with GBW = 1MHz yields only 1kHz bandwidth; check GBW on datasheet before selecting gain
- ✗Using 1% resistors for precision gain — resistor ratio error adds to gain error; use 0.1% resistors for ±0.1% gain accuracy or matched resistor networks
- ✗Neglecting input bias current — a 1nA bias current through 1MΩ feedback resistor creates 1mV offset; use FET-input op-amps (10pA bias) for high-impedance sources
Frequently Asked Questions
Shop Components
As an Amazon Associate we earn from qualifying purchases.
Related Calculators
Signal
Filter Designer
Design passive Butterworth and Chebyshev LC ladder filters up to order 10. Calculate component values for low-pass, high-pass, and band-pass topologies. Free, instant results.
General
RC Time Constant
Calculate RC circuit time constant τ, charge time to 63.2% and 99%, and −3dB cutoff frequency. Essential for filter and timing circuit design.
General
Ohm's Law
Calculate voltage, current, resistance, and power using Ohm's Law. Enter any two values to solve for the remaining two quantities.
General
Series/Parallel R·C·L
Calculate the equivalent series and parallel combination of up to four resistors, capacitors, or inductors. Also computes the voltage divider ratio for two-resistor networks.