Skip to main content

Op-Amp Gain Calculator — Inverting and Non-Inverting

Inverting −Rf/Rin and non-inverting 1+Rf/Rin gain, in V/V and dB, with output voltage and a reverse resistor solver, browser-only

  • Runs locally
  • Category Calculator
  • Best for Getting a realistic range before a purchase, plan, workout, or schedule decision.

Enter the feedback resistor Rf and input resistor Rin. The closed-loop gain is shown as a multiplier, in dB, and as an output voltage.

Topology
Mode
Gain
-10 V/V
180° phase flip
Gain in dB
20 dB
Output voltage Vout
-1 V
Formula
gain = −Rf / Rin

What this tool does

A focused operational amplifier gain calculator for inverting and non-inverting op-amp stages. Type the feedback resistor Rf and the input resistor Rin and read the closed-loop gain three ways at once: as a plain multiplier (V/V), as a decibel figure using 20·log10 of the magnitude, and as an output voltage for whatever input swing you enter. The inverting topology returns −Rf/Rin, so the sign tells you the output is phase flipped 180 degrees; the non-inverting topology returns 1+Rf/Rin and never drops below unity. Flip into reverse mode to go the other way: name a target gain and the tool hands back the Rf to Rin ratio you need, so you can pick standard E12 or E24 resistor values instead of guessing. Every result copies to the clipboard with one click, and the shareable link reopens the exact configuration. All math is plain JavaScript that runs in the browser tab. Nothing is uploaded, nothing is logged.

Tool details

Input
Numbers
The page exposes text boxes, numeric controls, file pickers, or structured inputs depending on the tool.
Output
Live result + Copy
The result area focuses on usable output, with copy, download, or preview actions when supported.
Privacy
Browser-side processing
The main tool logic does not call an external API, so inputs normally stay in the current tab.
Save / share
Shareable URL state
Key settings are encoded in the URL so another person can reopen the same setup.
Performance budget
Initial JS <= 9 KB
No WASM budget is declared, keeping the tool quick to open on mobile.
Best fit
Calculator · Developer
Category and role tags drive related tools, internal links, and quick fit checks.

How to use

  1. 1. Input

    Paste or drop your content into the tool panel.

  2. 2. Process

    Click the button. All processing is local in your browser.

  3. 3. Copy / Download

    Copy the result or download to disk in one click.

How Op-Amp Gain Calculator fits into your work

Use it for fast estimates, comparisons, and planning numbers before you make the final call.

Calculation jobs

  • Getting a realistic range before a purchase, plan, workout, or schedule decision.
  • Comparing scenarios by changing one input at a time.
  • Turning rough assumptions into a number you can discuss.

Calculation checks

  • Double-check units, dates, rates, and rounding assumptions.
  • Treat health, finance, tax, and legal outputs as planning aids, not professional advice.
  • Save the inputs that produced an important result so you can reproduce it later.

Good next steps

These links move the current task into a more complete workflow.

  1. 1 Unit Converter Convert between length, weight, temperature, area, volume, speed, time — instant, browser-only Open
  2. 2 Scientific Calculator Scientific calculator — sin / cos / log / sqrt / power, with full keyboard input + history, deg/rad mode. Open
  3. 3 Ohm's Law Calculator Enter any two of voltage, current, resistance, or power — get the other two plus the formula used — with mV/V/kV, µA/mA/A, Ω/kΩ/MΩ, mW/W/kW prefixes — browser-only. Open

FAQ

Tool combos

Folks in your role tend to reach for these alongside this tool.

Made by Toolora · 100% client-side · Updated 2026-05-30