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
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.
This browser did not allow copying. The sentence is in the box below, already selected: copy it with your keyboard or the menu.
How to use this calculator
Fill in the fields in this order; each step takes you to its field.
- Configuration: choose Non-inverting or Inverting.
- Feedback resistor Rf, in Ω: enter 0 or more.
- Input / ground resistor Rin, in Ω: enter 0.001 or more.
- Input voltage, in V: enter a number.
- 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
| Symbol | Meaning | Unit |
|---|---|---|
| Configuration (1: Non-inverting; 2: Inverting) | ||
| Feedback resistor Rf | Ω | |
| Input / ground resistor Rin | Ω | |
| Voltage gain | V/V |
Worked example
| Configuration | Non-inverting |
|---|---|
| Feedback resistor Rf | 10,000 Ω |
| Input / ground resistor Rin | 1,000 Ω |
| Input voltage | 0.5 V |
| Gain (dB) | 20.8279 |
|---|---|
| Output voltage (V) | 5.5 |
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).