Inverting Op-Amp Gain Calculator
Enter the feedback and input resistors to find the inverting amplifier gain.
Result
How it is calculated
The tool takes the feedback resistor Rf, the input resistor Rin and the input voltage Vin (in volts), then computes gain = −Rf / Rin and Vout = gain × Vin. It also reports the gain magnitude |gain|, which drops the minus sign. Only the ratio matters, so Rf and Rin just need to be in the same unit (ohms, kilo-ohms and so on). Rin must be greater than zero; with Rin of 0 no result is produced. Results are rounded to two decimals. The formula assumes an ideal op-amp: it does not clip the output at the supply rails and ignores bandwidth, so check the real limits against your part's datasheet.
Worked example
Take Rf = 47000, Rin = 10000 and Vin = 0.5 V. Divide the resistors: 47000 / 10000 = 4.7, so the gain is −4.7 and the tool shows -4.70. The output is −4.7 × 0.5 = −2.35, shown as -2.35 V. The gain magnitude is 4.70. The negative sign means the output is the inverse of the input, so a +0.5 V input gives −2.35 V. A −0.5 V input would give +2.35 V.
Common mistakes
- Dividing Rin by Rf instead of Rf by Rin, which gives the reciprocal of the gain.
- Entering Rf in kilo-ohms and Rin in ohms. The ratio is wrong by a factor of 1000 unless both use the same unit.
- Forgetting the minus sign and expecting Vout to have the same polarity as Vin. In this circuit it is always flipped (for positive resistors).
- Trusting the output voltage beyond the supply. With a ±5 V supply, a calculated −12 V output is not reachable; the real op-amp saturates.
- Using this for a non-inverting stage, whose gain is 1 + Rf/Rin, not −Rf/Rin.
About this calculator
An inverting op-amp circuit feeds the output back to the inverting (−) input through a resistor Rf, while the signal enters through another resistor Rin and the non-inverting input is grounded. Because the op-amp’s open-loop gain is enormous, negative feedback forces the inverting input to sit at a “virtual ground” — the same 0 V as the non-inverting pin — even though no current actually flows into that pin. All the input current through Rin is forced through Rf instead, which gives the closed-loop gain Av = −Rf/Rin, with the minus sign meaning the output is 180° out of phase with the input.
This topology is one of the most common building blocks in analog electronics: audio mixers, active filters, current-to-voltage converters, and signal-conditioning front ends all use it because the gain depends only on a resistor ratio, not on the op-amp’s own (variable) open-loop gain. The output voltage is simply Vout = −(Rf/Rin) · Vin, clamped in practice by the supply rails — this calculator applies that formula directly from the resistor values and input voltage you enter.
Was this helpful?
You can pick up to 3 reactions.
Popular calculators
Loan Calculator
Monthly payment, total interest and full amortization schedule.
Percentage Calculator
Percent change, percent of, and ratio calculations.
Discount Calculator
Calculate final price, savings, and discount amount.
BMI Calculator
Body mass index from height and weight (metric or imperial).
Age Calculator
Compute your exact age in years, months and days from a birth date.
Compound Interest Calculator
Calculate the final amount and interest earned with compounding.
All Calculators
- Loan Calculator
- Profit Calculator
- Discount Calculator
- BMI Calculator
- Percentage Calculator
- Ideal Weight Calculator
- Age Calculator
- Pregnancy Due Date Calculator
- Compound Interest Calculator
- BMR Calculator (Basal Metabolic Rate)
- Tip Calculator
- Fuel Cost Calculator
- Date Difference Calculator
- Sleep Cycle Calculator
- Daily Water Intake Calculator
- Simple Interest Calculator
- Heart Rate Zones Calculator
- Running Pace Calculator
- Pet Age Calculator
- Calories Burned Calculator
- Macro Calculator
- TDEE Calculator (Total Daily Energy Expenditure)
- Waist-to-Hip Ratio Calculator
- Honor Roll Calculator
- One Rep Max (1RM) Calculator
- Ovulation Calculator
- Electricity Cost Calculator
- Unit Price Calculator
- Savings Goal Calculator
- Break-Even Point Calculator
- Paint Calculator
- Course Grade Average Calculator
- Business Days Calculator
- Time Duration Calculator
- Fuel Economy Calculator
- Temperature Converter
- Tile Calculator
- Aspect Ratio Calculator
- Roman Numeral Converter
- Goal Weight Timeline Calculator
- Salary Converter (Hourly to Annual)
- Credit Card Validator (Luhn)
- Body Surface Area (BSA) Calculator
- Feels-Like Temperature Calculator
- Ohm’s Law Calculator
- PPI (Pixel Density) Calculator
- Molar Mass Calculator
- Zodiac Sign Calculator (Western + Chinese)
- IBAN Validator
- Shoe Size Converter
- Country Info & Dialing Code Lookup
- Time Zone Difference (World Clock)
- CAGR (Compound Annual Growth Rate) Calculator
- Rule of 72 Calculator
- Blood Alcohol Content (BAC) Calculator
- Lean Body Mass (LBM) Calculator
- Pythagorean Theorem Calculator
- Speed Converter
- Download Time Calculator
- Date Calculator (Add/Subtract)
No calculators found
Comments (1)
The gain ratio alone leaves the resistor values open, and the choice matters. Because the inverting input sits at virtual ground, the source sees an input impedance equal to Rin. A gain of 10 from 10 kΩ and 100 kΩ loads the source with 10 kΩ, whereas 1 kΩ and 10 kΩ gives the same gain but loads it with only 1 kΩ. What does your source look like, and which resistor pair did you settle on?