Skip to content

Op-Amp Gain Calculator

Calculate ideal inverting or non-inverting op-amp feedback gain and compare its requested output with user-supplied supply rails and output headroom.

Preparing calculator controls…

Results

Enter your inputs and calculate to see the result.

Runs in your browser — nothing you enter is sent to a server.

How the Op-Amp Gain Calculator works

Use ideal negative-feedback gain to calculate the requested output, then compare it against the window implied by the supply rails and your chosen headroom.

Formula

Inverting gain=−Rf/Rin; non-inverting gain=1+Rf/Rg; output-window estimate clamps gain×Vin to supplied rail/headroom bounds.

Resistances ohms; input, supplies and output volts referenced to ground. One shared headroom value is subtracted from both rails.

Examples

Worked example

Non-inverting Rf=10,000 Ω and Rg=1,000 Ω give gain 11; 0.5 V input requests 5.5 V, within ±12 V rails with 1 V headroom.

Compare a second case

At 2 V input the same gain requests 22 V and the supplied window limits the estimate to 11 V.

Frequently asked questions

Which units and conventions should I use?

Resistances ohms; input, supplies and output volts referenced to ground. One shared headroom value is subtracted from both rails.

Which assumptions affect this result?

Clamping is only a window estimate, not a saturation-accuracy model. Input common-mode range, bandwidth, slew rate, bias/offset, output load and datasheet rail swing must be checked separately.

How can I check my inputs?

Non-inverting Rf=10,000 Ω and Rg=1,000 Ω give gain 11; 0.5 V input requests 5.5 V, within ±12 V rails with 1 V headroom.

Information:

Good to know

Clamping is only a window estimate, not a saturation-accuracy model. Input common-mode range, bandwidth, slew rate, bias/offset, output load and datasheet rail swing must be checked separately.

Reference: TI: ideal op-amp feedback configurations.

Area Moment of Inertia Calculator

Find centroidal and parallel-axis second moments for rectangular, circular and hollow circular sections, with explicit millimetre and metre units.

Science Tools