Elecmetric

Op-Amp Gain Calculator

Gain and output voltage of an inverting or non-inverting op-amp stage. With the formula, a worked example and typical values.

Feedback resistor 100 kΩ, input resistor 10 kΩ, input voltage 0.5 V, configuration Inverting gives
Voltage gain: -10 · Output voltage: -5 V

Estimate only. Not engineering or safety advice. Check the result against the applicable standard and the equipment data, and have a competent engineer review it before it is relied on. Terms of use.

Open in the calculator with these values

About this calculator

This page calculates voltage gain and output voltage from feedback resistor, input resistor, input voltage and configuration. Change any value or its unit and the result updates. The steps below show the working for the default values, so you can check each line against your own method.

Limits of this calculator

Real op-amps saturate near the supply rails and have a finite gain-bandwidth product.

Cross-check: 12 reference cases, calculated from textbook formulas coded separately from the engine by the same author, agree with this calculator. This is not an independent review.

Verification status: Engineering reference

Engineering reference. Formula and method documented and tested against separately coded reference calculations. Not yet Verified: the evidence listed on this page is still needed.

What this calculator checks

What remains unverified

Verification register entry

Calculation authorRahul Sharma (author)
Technical reviewNo independent technical review has been carried out
Individual professional approvalNot recorded
Formula referencenot recorded
Standard and editionNot applicable: Ideal inverting and non-inverting gain are textbook circuit equations. Device bandwidth, offset, stability and output limits are manufacturer-specific.
Standard review stateNot applicable
Scope-screening notenot recorded
Cross-check test cases12 reference vectors (tests/reference_vectors.json)
Review datenot recorded
Next review datenot recorded
StatusEngineering reference

Needed before this calculator can be marked Verified: reviewer name, qualification and review date; exact formula reference; formula source (textbook or standard); next review date.

Formula

Inverting: A = −Rf / Rin Non-inverting: A = 1 + Rf / Rin

Worked example

InputValue
Feedback resistor100 kΩ
Input resistor10 kΩ
Input voltage0.5 V
ConfigurationInverting
  1. A = −Rf / Rin = -10
  2. Vout = -10 × 0.5 = -5 V

Assumptions

Real op-amps saturate near the supply rails and have a finite gain-bandwidth product.

Inputs and results

InputUnitAllowed or shownNote
Feedback resistorkΩgreater than 0 kΩ
Input resistorkΩgreater than 0 kΩ
Input voltageVgreater than 0 V
Configuration(choice)Inverting; Non-inverting
ResultUnitAllowed or shownNote
Voltage gain(number)Shown to 3 decimal places
Output voltageVShown to 3 decimal places

How it is calculated

Each input is converted to the base unit of its quantity, the formula above is applied in the order shown in the worked example, and each result is shown in the unit you choose. Results are held at full precision and rounded only for display, except where a step selects a standard size, as the worked example shows. A value outside its allowed range is refused with a message instead of giving a result.

How the result changes with feedback resistor

Feedback resistor (kΩ)Voltage gainOutput voltage (V)
10-1-0.5
25-2.5-1.25
50-5-2.5
100-10-5
200-20-10
400-40-20
1,000-100-50

Other inputs are the same as in the worked example above.

Standards and further reading

These are textbook circuit relationships. The component data sheet sets the real limits, tolerances and ratings, and takes priority over the calculated value.

Frequently asked questions

What do I need to enter?

Enter feedback resistor, input resistor, input voltage and configuration. Change the unit of a value with its selector and the result stays the same.

What does this calculator assume?

Ideal op-amp. Output stays within the supply rails.

Which calculators should I use next?

Common next steps are Voltage Divider and Decibel Converter. The related links at the bottom of this page open them.

How accurate are the results?

Every figure comes from the same tested engine as the Elecmetric calculators and is meant for estimating. 12 reference cases, calculated from textbook formulas coded separately from the engine by the same author, agree with this calculator. This is not an independent review. Check design values against the standard and the equipment data you work to.

Formula guides and reference

Longer explanations with worked examples and tables, written for the same topic.

More Electronics and Instrumentation calculatorsAll engineering calculatorsOp-Amp Gain in Elecmetric

Tell us how to improve this page

This opens your email app. Nothing is sent until you press send.