Calcady
Home / Scientific / Op-Amp Gain Logic Engine

Op-Amp Gain Logic Engine

Calculate the voltage gain and final output voltage for both inverting and non-inverting operational amplifier circuits using the Rf/Rin resistor ratio formula.

Op-Amp Gain Calculator

Calculate the voltage gain and final output voltage for both inverting and non-inverting operational amplifier circuits.

Non-Inverting Op-Amp (Gain = 1 + Rf/Rin)
Vin ──────────── (+) ┐
│ ─────── Vout
┌──── Rf ───┘ (-) ┘
Rin
GND
01 — Circuit Parameters

= 10,000 Ω

= 1,000 Ω

Gain = 1 + (Rf / Rin) = 1 + (10,000 / 1,000) = 11.0000
Voltage Gain
11.00
non-inverting · |G| = 11.00
Output Voltage — Vout
5.500 V
⟶ In-phase
02 — Full Analysis
Rf / Rin
10.0000
Gain
11.000
Vin
0.5 V
Vout
5.500 V
ConfigurationNon-Inverting (+)
Feedback Resistor (Rf)10,000 Ω
Input Resistor (Rin)1,000 Ω
Rf / Rin10.000000
Gain = 1 + Rf/Rin11.0000
Vin0.5 V
Vout = Gain × Vin11.0000 × 0.5 = 5.500 V
Phase0° (in-phase)
Summary: Using a Non-Inverting configuration with Rf=10kΩ and Rin=1kΩ, your op-amp provides a gain of 11.00, boosting your 0.5V input signal to 5.500V.
Practical Example

Non-Inverting audio preamp: Rf = 10kΩ, Rin = 1kΩ. Gain = 1 + 10,000/1,000 = 11. A 0.5V mic signal → Vout = 11 × 0.5 = 5.5V (in-phase, boosted).
Inverting signal conditioner: Rf = 47kΩ, Rin = 10kΩ. Gain = −(47,000/10,000) = −4.7. A 1V input → Vout = −4.7V (phase inverted — used commonly in signal subtraction circuits).
Rule: For a non-inverting buffer (unity gain), set Rf = 0 (short) and Rin = ∞ (open) → Gain = 1. This is the classic voltage follower used for impedance isolation.

Email LinkText/SMSWhatsApp

Quick Answer: How does the Op-Amp Gain Calculator work?

Select your op-amp topology (inverting or non-inverting), enter the feedback resistor Rf and input resistor Rin, and optionally provide an input voltage. The calculator applies the Rf/Rin ratio formulas to determine voltage gain and output voltage for your circuit configuration.

Mathematical Formulas

Non-Inv: G = 1 + Rf/Rin | Inv: G = -Rf/Rin

Where Rf is the feedback resistor, Rin is the input resistor, and the negative sign in inverting mode indicates 180° phase inversion.

Common Op-Amp ICs (Reference)

Popular operational amplifier ICs and their key specifications for gain calculations.

Op-Amp IC GBW Product Slew Rate Typical Use
LM7411 MHz0.5 V/µsEducational / DC
TL0723 MHz13 V/µsAudio / General
NE553210 MHz9 V/µsPro Audio
OPA21348 MHz20 V/µsHi-Fi / Precision

Circuit Design Use Cases

Sensor Signal Conditioning

Sensors like thermocouples and strain gauges output millivolt-level signals. A non-inverting op-amp stage amplifies these tiny signals to the 0-5V range required by ADC inputs, with the high input impedance preventing sensor loading.

Audio Mixing Console

Inverting summing amplifiers combine multiple audio inputs into a single output. Each input channel feeds through its own input resistor to the virtual ground at V-, with Rf controlling the overall mix gain. This is how analog mixing desks blend microphone channels.

Op-Amp Design Best Practices (Pro Tips)

Do This

  • Always verify GBW headroom. Your op-amp's Gain-Bandwidth Product must exceed your gain multiplied by your maximum signal frequency. An amplifier running near its GBW limit shows gain rolloff and phase distortion.

Avoid This

  • Don't forget rail saturation. If your calculated Vout exceeds the supply voltage minus the op-amp's output voltage swing limit (typically 1-2V from each rail), the output clips flat and gain formulas no longer apply.

Frequently Asked Questions

What is a virtual ground in an inverting op-amp?

In an inverting configuration, the non-inverting input (V+) is connected to ground. Negative feedback forces the inverting input (V-) to match V+, holding it at 0V even though it is not physically connected to ground. This virtual ground allows current to flow from Vin through Rin and then through Rf to the output.

Why does non-inverting gain always start at 1?

The formula G = 1 + Rf/Rin means that even with Rf = 0 (a direct wire from output to inverting input), the gain is still 1. This is the voltage follower or buffer topology — it passes the input signal through with unity gain and very high input impedance, useful for impedance matching.

How do I choose between inverting and non-inverting?

Use non-inverting when you need high input impedance (won't load the source), gain of 1 or greater, and no phase inversion. Use inverting when you need gain less than 1 (attenuator), need to sum multiple inputs, or the 180° phase flip doesn't matter for your application.

What is gain-bandwidth product and why does it matter?

GBW is a constant for each op-amp: gain multiplied by bandwidth always equals the same number. An op-amp with 10 MHz GBW delivers full gain of 100 only up to 100 kHz. Above that frequency, the gain rolls off at 20 dB/decade. For high-frequency applications, you need an op-amp with a proportionally higher GBW.

Related Electronics Calculators