Op-Amp Gain Calculator (Inverting and Non-Inverting)

Calculate the gain and output voltage of an inverting or non-inverting op-amp amplifier.

Runs in your browser. Your files never leave your device. See how to check

…

How to do it

  1. 1
    Step 1: Open Op-Amp Gain Calculator (Inverting and Non-Inverting) and add your input

    Type your numbers or text, add your file, or pick the options you need. Nothing is uploaded: everything stays in your browser.

  2. 2
    Step 2: What Op-Amp Gain Calculator (Inverting and Non-Inverting) does

    Calculate the gain and output voltage of an inverting or non-inverting op-amp amplifier.

  3. 3
    Step 3: Read the result and compare

    The result appears at once. Change one value to see how the answer moves, then keep the figure that fits your case.

  4. 4
    Step 4: Copy or save it

    Copy the result or download it. For an important decision, confirm it with the official source or an adviser.

About this tool

Choose the configuration and enter the feedback resistor, the input resistor, the input voltage and the supply voltage. The calculator gives the gain, the gain in decibels, the output voltage and whether it would clip at the supply rails.

Formulas

Inverting amplifier: gain = −Rf ÷ Rin. Non-inverting amplifier: gain = 1 + Rf ÷ Rin. Output = gain × input. Gain in decibels = 20 log₁₀ |gain|.

Limits

An op-amp cannot output more than its supply rails (a little less for real devices). The calculator limits the output to the supply voltage you enter. Bandwidth, slew rate and offset are not included.

Tips

Use resistor values from about 1 kΩ to 1 MΩ. The input resistance of an inverting stage equals Rin.

Worked example

An inverting stage with Rf = 100 kΩ and Rin = 10 kΩ has a gain of −10 (20 dB), so 0.5 V in gives −5 V out. As a non-inverting stage the gain is +11.

Tips for best results

Check every box before you rely on a result, because one wrong digit changes the whole answer. Use the exact figures from your payslip, bill, certificate or contract, and keep a note of the date you calculated. Rates, thresholds and rules change from time to time, so for tax, fees and legal matters treat the output as an estimate and confirm with the official source named on this page. You can run as many scenarios as you like; nothing is saved or sent, and refreshing the page clears the boxes.

Quick facts

Embed this calculator on your site

Copy this code to show the calculator on your own page. A link back to shobfree.com is included.

Frequently asked questions

Which is better?

Non-inverting has a high input resistance; inverting has predictable input resistance and can be a summer.

What limits the output?

The supply rails.

Does it include bandwidth?

No, the gain-bandwidth product limits high gains at high frequency.

What do the signs mean?

Negative gain inverts the signal.

Guides for this tool

Completely freeNo cost, no sign-up
Files stay privateEverything runs in your browser
Easy in your languageAvailable in many languages