Skip to content
FiftyCalc Free calculators for all 50 states

Op Amp Gain Calculator

Test cases replayed : 3 of 3 match · Methodology · No outside source listed

Choose the amplifier type and enter the two resistors to get the gain and output voltage.

Result

Sample figures

Voltage gain (V/V)—

Gain (dB) —

  • Output voltage (V)—

Estimate for planning only, not tax, legal, financial or medical advice. This calculator uses the method explained on this page.

Op Amp Gain Calculator

Configuration

Configuration: choose Non-inverting or Inverting. Prefilled example: Non-inverting.

Feedback resistor Rf, in Ω: enter 0 or more. Prefilled example: 10,000.

Input / ground resistor Rin, in Ω: enter 0.001 or more. Prefilled example: 1,000.

Input voltage, in V: enter a number. Prefilled example: 0.5.

How to use this calculator

Fill in the fields in this order; each step takes you to its field.

  1. Configuration: choose Non-inverting or Inverting.
  2. Feedback resistor Rf, in Ω: enter 0 or more.
  3. Input / ground resistor Rin, in Ω: enter 0.001 or more.
  4. Input voltage, in V: enter a number.
  5. Read the result: Voltage gain (V/V); the panel also shows Gain (dB) and Output voltage (V).

How this calculator works

Ideal op amp: non-inverting gain = 1 + Rf ÷ Rin; inverting gain = −Rf ÷ Rin. Gain in decibels = 20 × log₁₀|gain|.

Output = gain × input, as long as it stays inside the supply rails and the frequency is well below the op amp's gain-bandwidth limit.

The formula

  1. G={1+rfriif cfg=1−rfriotherwise
Symbols used in the formula
SymbolMeaningUnit
cfgConfiguration (1: Non-inverting; 2: Inverting)
rfFeedback resistor RfΩ
riInput / ground resistor RinΩ
GVoltage gainV/V

Worked example

ConfigurationNon-inverting
Feedback resistor Rf10,000 Ω
Input / ground resistor Rin1,000 Ω
Input voltage0.5 V
Gain (dB)20.8279
Output voltage (V)5.5
  1. G=1+10,0001,000=11

Voltage gain (V/V) 11

Each step uses the unrounded value of the step before it; figures on this page are rounded for display.

Frequently asked questions

What is the gain with Rf = 10 kΩ and Rin = 1 kΩ?

11 (20.83 dB) non-inverting, or −10 (20 dB) inverting.

Can a non-inverting amplifier have a gain below 1?

No. Its gain is at least 1, reached when Rf = 0 (a voltage follower).

Related calculators