CalcWorldHub
Engineering · CalcWorldHub

Noninverting Op-Amp Gain: Feedback Ratio and Output Headroom

A noninverting op amp keeps the signal on the plus input and uses a resistor divider on the minus input to set closed-loop gain. For Vin = 0.40 V, a 10 kΩ ground-leg resistor and 39 kΩ feedback resistor give a gain of 4.9 and an ideal output of 1.96 V. The polarity stays in phase; the supply rails and input range decide whether a real device can reach that value.

Open calculator
A signal enters the plus terminal of an op amp while two feedback resistors divide the output voltage at the minus terminal.

Share this article

A signal enters the plus terminal of an op amp while two feedback resistors divide the output voltage at the minus terminal.
The feedback divider makes the inverting input follow the noninverting signal.

Follow the signal and the feedback divider

The source drives the noninverting terminal directly. The inverting terminal senses the divided output through the feedback resistor and the ground-leg resistor. In a stable negative-feedback circuit, the output moves until the two input terminals are nearly equal. The divider therefore reports a fraction of the output, while the source voltage sets the voltage that fraction must track.

This topology differs from an inverting stage in both phase and loading. The signal is applied to a high-impedance op amp input, so the source is not intentionally connected through the gain-setting resistor. The ideal model has no input current. A real amplifier still has bias current, finite input impedance, offset, and common-mode limits, so “high impedance” is not the same as infinite or error-free.

Use the noninverting gain relation

Let Rg be the ground-leg resistance and Rf the feedback resistance. The divider fraction at the inverting input is Rg/(Rg+Rf). Setting that fraction equal to Vin/Vout gives Av = Vout/Vin = 1 + Rf/Rg, and Vout = Vin × (1 + Rf/Rg). The ratio is dimensionless; enter both resistors in kΩ as the calculator labels specify.

For nonnegative resistances, this ideal closed-loop gain is at least one. A feedback resistor of zero makes a unity follower in this equation; a larger Rf relative to Rg raises the gain. A passive divider does not make this standard topology a gain-below-one attenuator. If the required output is smaller than the input, use an appropriate divider or another circuit arrangement and account for its loading.

Check two feedback-divider settings

The examples separate the input magnitude from the resistor ratio. First compute the ratio, add the unity term, and only then multiply by the input voltage. The output is not the divider fraction: it is the voltage required for the divider’s tap to equal the signal.

Worked examples

Default input and resistor values

Inputs: Vin = 0.40 V, Rg = 10 kΩ, Rf = 39 kΩ.

Calculation: Av = 1 + 39/10 = 4.9 V/V. Vout = 0.40 × 4.9 = 1.96 V.

The ideal output is positive and 4.9 times the input; supply headroom is a separate hardware check.

A four-times gain setting

Inputs: Vin = 0.20 V, Rg = 15 kΩ, Rf = 45 kΩ.

Calculation: Av = 1 + 45/15 = 4. Vout = 0.20 × 4 = 0.80 V.

The input and output are in phase; a gain of four requires the feedback resistance to be three times Rg.

A rising input and a larger rising output waveform are aligned in phase, illustrating positive closed-loop gain.
The output stays in phase and scales with the closed-loop resistor ratio.

Choose a gain without ignoring resistor effects

If a sensor produces 0.20 V and a later stage needs about 0.80 V, the target gain is four. The relation requires Rf/Rg = three, so 15 kΩ and 45 kΩ are one ideal pair. Any pair with the same ratio gives the same calculated gain, but the absolute values change divider current and the effect of input bias current. Very large values reduce divider loading on the output but make leakage and resistor noise more relevant.

Do not select values from the gain equation alone. Check resistor tolerance, temperature coefficient, output load, bandwidth, and the op amp data sheet. The feedback network can interact with input and parasitic capacitance. The calculator does not choose an amplifier, test loop stability, or include a load-dependent output drop. Use its output as the target for a circuit-level check.

Read the result against the available rails

A positive input gives a positive ideal output, but the output must remain inside the device’s allowed swing. For example, a calculated 1.96 V is not feasible from a 1.8 V supply. In a single-supply circuit, the input common-mode range may also exclude signals near ground, depending on the chosen part. If the output reaches a limit, the closed-loop equality fails and the simple gain equation no longer describes the clipped waveform.

A practical verification uses a small DC test input and a load similar to the real circuit. Confirm the gain with Vout/Vin, then sweep the input far enough to see whether the output remains linear. Keep both measured inputs within their specified common-mode range. For the ideal resistor-ratio estimate, use the noninverting operational amplifier calculator; consult the amplifier data sheet before finalizing rails and loads.

Sources and further reading

Share this article

Browse all articles · Calculator: Noninverting operational amplifier calculator