Home · Science · Electrical Engineering · Op-Amp Gain Calculator

Op-Amp Gain Calculator

Calculates the voltage gain of an op-amp stage from its feedback and input resistors, inverting or non-inverting.

Your figures

Example result — edit the figures to make it yours

10

Gain (non-inverting)

Gain magnitude (non-inverting)20.0 dB

What this calculator does

Calculates the voltage gain of an op-amp stage from its feedback and input resistors, inverting or non-inverting. Every figure on this page is computed from the formula or definition stated below, with no hidden rounding steps, and the method notes name the exact convention where more than one exists.

The formula and method

Non-inverting: Gain = 1 + Rf ÷ R1; Inverting: Gain = −Rf ÷ R1

Choose the topology first — the first visible result follows it. Both formulas assume an ideal op-amp in its linear region with negative feedback.

Gain in decibels (20 × log₁₀ of the magnitude) is shown because stage gains are usually budgeted in dB.

Worked example

With the example inputs this page opens with (feedback resistor rf (ω) 9000, input resistor r1 (ω) 1000), the result is 10.00 — gain (non-inverting). Change any figure and the result updates with the same formula.

Quick reference

Quick reference — varying feedback resistor rf (ω)
Feedback resistor Rf (Ω)Gain (non-inverting)
45005.50
72008.20
900010.00
1125012.25
1350014.50
1800019.00

Computed with the same formulas as the calculator above — enter any values there for figures beyond this table.

Common questions

How does the Op-Amp Gain Calculator work?

Calculates the voltage gain of an op-amp stage from its feedback and input resistors, inverting or non-inverting. Topology · Rf · R1 → Gain. The result updates as you type, and the formula and method on this page state the exact definitions used, so you can reproduce the calculation by hand.

What inputs does the Op-Amp Gain Calculator need?

Topology · Rf · R1 → Gain. Invalid entries — such as a zero denominator, an out-of-range value or a malformed list — produce a plain-language message instead of a misleading number.

Is the Op-Amp Gain Calculator free to use?

Yes. It runs entirely in your browser with no sign-up, and the same calculator is available as an embeddable widget via the Embed button, so it can be placed on another site with its calculation intact.