Op-Amp Gain Calculator

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.

Common non-inverting gains

RfRgGaindB
0 (follower)—10
10 kΩ10 kΩ26.0
90 kΩ10 kΩ1020.0
100 kΩ1 kΩ10140.1
1 MΩ1 kΩ1,00160.0

When to use it

  1. Design a microphone or sensor preamp.
  2. Set the gain of an inverting buffer.
  3. Check whether a stage will clip at the rails.
  4. Pick standard resistor values for a gain.
  5. Build a differential amplifier for a bridge sensor.

How to Use

  1. Choose the configuration.
  2. Enter Rf, Rin (or Rg) and the input voltage.
  3. Set the supply rails.
  4. Read gain, dB and output; enter a target gain to pick Rf.

Features

  1. Inverting, non-inverting, differential
  2. Gain in dB
  3. Output with rail clipping
  4. Input impedance
  5. Rf for a target gain (E24)
  6. Batch CSV
  7. 100% client-side

FAQs

What is the gain of a non-inverting amplifier?

1 + Rf ÷ Rg. With Rf = 90 kΩ and Rg = 10 kΩ the gain is 10 (20 dB).

Why is inverting gain negative?

The output is 180° out of phase with the input; the magnitude is Rf ÷ Rin.

Why does my output clip?

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.

Does gain stay the same at high frequency?

No. Gain × bandwidth is roughly constant, so high-gain stages have less bandwidth.

Is anything uploaded?

No. Everything runs in your browser.

Technical Details

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.

Electronics Tools

Electronics Tools

  • RC and RL Filter / Time Constant Calculator
  • PCB Trace Width Calculator (IPC-2221)
  • SMD Resistor Code Decoder
  • dBm, mW and Volts Converter
  • Antenna Length Calculator
  • PoE Power Budget Calculator
  • Ohm's Law Calculator
  • Resistor Color Code Calculator