Inverting Op-Amp Resistor Calculator

Inverting Op AMP Resistor Calculator is a great op amp calculation tool for the operational amplifier inverting circuit. With this inverting amplifier calculator, you are able to calculate the resistance of R2, R3 and R4 resistor with ease. Because you just enter the input parameters of inverting op amp gain, the output voltage(Vout), R1 Resistance, the values of V1, V2, Vp and Vn, and then click the "Calculate" button.

Input Parameters (Inverting Op-amp)
VoutV
Gain
R1KOhms
V1(Input lead)V
V2 (non-zero only if offset is requred)V
VpV
VnV
Outputs
R2KOhms
R3KOhms
R4KOhms
Op-Amp Circuit Schematic
Introduction

Easy to follow and comprehensive video of the circuit operation and design of a inverting op amp circuit: operational amplifier circuit gain; resistor value calculation, input impedance, power supplies . . . all you need to know.  In this video we look at the inverting operational amplifier circuit. Description of how the circuit works is provided along with details of the components needed.  The advantages and disadvantages of the inverting op amp circuit are discussed: its input impedance, output impedance and mention is made of the virtual earth point in the circuit.  The formula of equation for gain is given along with a worked example of calculating the non-inverting circuit gain.  Circuits are given for the inverting operational amplifier using positive and negative supplies, i.e. differential supplies as well as from a single ended supply, i.e. a single supply against ground.   Finally some useful practical hints and tips are given gained from practical experience as a design engineer.

Op Amp Inverting Amplifier Circuit Design | Operational Amplifier Circuit

Inverting Op-Amp Resistor Calculator Overview

The Inverting Op-Amp Resistor Calculator helps determine the resistor values used in an inverting operational amplifier circuit. By entering the desired gain, selected R1 value, target output voltage, input voltage, optional offset voltage, and supply rail voltages, the calculator estimates suitable values for R2, R3, and R4.

This tool is useful when designing signal conditioning circuits, sensor interfaces, active filters, audio circuits, analog scaling stages, and bias-shift circuits where an input signal must be amplified and inverted around a defined reference point.

The calculated resistor values are given in kilo-ohms. Treat the result as a design starting point, then check the selected op-amp datasheet for output swing, input common-mode range, bandwidth, slew rate, offset voltage, input bias current, and load-drive capability.

What Is an Inverting Op-Amp?

An inverting op-amp is an operational amplifier circuit where the input signal is applied to the inverting input through an input resistor. A feedback resistor connects the output back to the same inverting input. The non-inverting input is usually connected to ground or to a reference voltage.

In a standard inverting amplifier, the output voltage changes in the opposite direction from the input voltage. This means the output is 180 degrees out of phase with the input signal. The negative sign in the gain formula represents this inversion.

Inverting and non-inverting op-amp circuit comparison

What This Calculator Can Calculate

  • R2, the feedback resistor that sets the main inverting gain with R1.

  • R3, a resistor used in the reference or bias network depending on the circuit diagram.

  • R4, a resistor used with R3 when an offset or output bias point is required.

  • Whether the target output voltage is realistic for the entered positive and negative supply rails.

This calculator is specific to inverting op-amp resistor selection. For non-inverting amplifiers, differential amplifiers, instrumentation amplifiers, or active filter design, use a calculator intended for that circuit topology.

Input Parameters Explained

InputMeaningTypical Unit
VoutThe desired output voltage or output bias point for the op-amp stage.V
GainThe target inverting gain. It is usually entered as a negative value, such as -2, -5, or -10.V/V
R1The chosen input resistor. This value scales the rest of the resistor network.kΩ
V1The input voltage applied to the inverting input path.V
V2An optional reference or offset voltage. Use 0 V if no offset is required.V
VpThe positive op-amp supply rail.V
VnThe negative op-amp supply rail. In a single-supply circuit, this is often 0 V.V

Output Parameters Explained

OutputMeaning
R2The feedback resistor paired with R1 to set the inverting gain.
R3A resistor used by the calculator's reference network. In the calculator equation, R3 is commonly set equal to R1.
R4A resistor used to establish the required offset or output bias contribution when V2 is used.

Basic Inverting Gain Formula

For a standard inverting amplifier:

Inverting operational amplifier circuit

A = -R2 / R1

The output voltage is:

Vout = A × Vin

Where:

  • A = closed-loop voltage gain

  • R1 = input resistor

  • R2 = feedback resistor

  • Vin = input voltage

  • Vout = output voltage

Because the gain is negative, a positive input voltage produces a negative output voltage in the standard inverting configuration.

How R2 Is Calculated

If the desired gain is entered as a signed negative value, the feedback resistor can be calculated as:

R2 = -A × R1

For example, if the desired gain is -10 and R1 is 10 kΩ:

R2 = -(-10) × 10 kΩ = 100 kΩ

Some calculators describe the same relationship as:

R2 = |Gain| × R1

How R3 and R4 Are Used

In many practical op-amp circuits, extra resistors are used to provide a reference voltage, compensate for input bias current effects, or shift the output around a desired offset point. The exact purpose of R3 and R4 depends on the schematic used by the calculator.

For the common calculator model, the equations are:

R3 = R1

Vout1 = A × V1

Vout2 = Vout - Vout1

R4 = R3 × (((R1 + R2) × V2 - Vout2) / (Vout2 × R1))

R4 is meaningful only when the offset path is part of the design and the equation has valid input values. If no offset is required, V2 is normally set to 0 V, and the simplified inverting amplifier may not need the same R3/R4 network.

Example Calculation

Suppose you want an inverting amplifier with:

  • Gain = -5

  • R1 = 10 kΩ

  • Input voltage V1 = 0.4 V

  • No offset required, so V2 = 0 V

The feedback resistor is:

R2 = |Gain| × R1 = 5 × 10 kΩ = 50 kΩ

The ideal output from the inverting stage is:

Vout = -5 × 0.4 V = -2 V

If the op-amp is powered from +12 V and -12 V, this output is inside the supply range. If the same circuit is powered from a single 0 V to 5 V supply, a -2 V output cannot be produced without shifting the signal around a suitable reference voltage.

How to Use This Calculator

  1. Choose a target inverting gain for the amplifier stage.

  2. Select a practical R1 value based on input impedance, noise, and current requirements.

  3. Enter the desired output voltage or output bias point.

  4. Enter the input voltage V1.

  5. Enter V2 only if an offset or reference voltage is required.

  6. Enter the positive and negative supply rails as Vp and Vn.

  7. Calculate R2, R3, and R4.

  8. Check whether the output voltage is inside the real output swing range of the selected op-amp.

Choosing a Practical R1 Value

R1 is not only a number in the gain equation. It also affects input impedance, noise, current consumption, and bias-current error.

  • Lower resistor values reduce noise and bias-current error but draw more current from the signal source.

  • Higher resistor values reduce current draw but can increase noise and offset error.

  • Very high resistor values may interact with input capacitance and reduce high-frequency performance.

  • Very low resistor values can load the previous circuit stage and increase op-amp output current demand.

For many general-purpose op-amp circuits, resistor values in the low kΩ to hundreds of kΩ range are common, but the best choice depends on the selected op-amp and the signal source.

Output Voltage and Supply Rail Limits

The ideal formula may calculate an output voltage beyond the op-amp supply rails. A real op-amp cannot produce an output above its positive rail or below its negative rail. When the demanded output exceeds the available output swing, the signal saturates or clips.

For example, an op-amp powered from 0 V and 5 V cannot output -2 V in a standard ground-referenced circuit. A dual supply, such as +12 V and -12 V, or a shifted reference voltage may be required for signals that must swing below ground.

Even rail-to-rail op-amps usually have output swing limits that depend on load current. Always check the datasheet instead of assuming the output can reach the exact supply rails.

Inverting vs. Non-Inverting Op-Amp

FeatureInverting AmplifierNon-Inverting Amplifier
Input connectionInput signal goes through R1 to the inverting input.Input signal goes to the non-inverting input.
PhaseOutput is 180 degrees out of phase with the input.Output is in phase with the input.
Basic gain formulaA = -R2 / R1A = 1 + R2 / R1
Minimum gainCan have magnitude below, equal to, or above 1 depending on resistor ratio.Minimum gain is 1 in the standard configuration.
Input impedanceApproximately set by R1.Usually very high, depending on the op-amp input.

Practical Design Notes

  • Use a gain value with the correct sign. Inverting gain is negative.

  • Make sure the target Vout is possible with the entered Vp and Vn supply rails.

  • Check the op-amp input common-mode range, especially in single-supply circuits.

  • Check gain-bandwidth product and slew rate if the input signal changes quickly.

  • Use precision resistors when gain accuracy is important.

  • Place supply decoupling capacitors close to the op-amp power pins in the physical circuit.

  • Verify the circuit in simulation or on the bench before using it in a final product.

Common Mistakes to Avoid

  • Entering a positive gain for an inverting amplifier when the calculator expects a negative gain.

  • Forgetting that the output polarity is reversed.

  • Choosing a target output voltage outside the op-amp supply rails.

  • Assuming a single-supply op-amp can output a negative voltage without a reference shift.

  • Using very large resistor values without considering input bias current and noise.

  • Ignoring gain-bandwidth product when the amplifier must work at higher frequencies.

  • Copying the ideal resistor result without checking available standard resistor values and tolerances.

When This Calculator Is Not Enough

This calculator is best for quick resistor selection in a simplified inverting op-amp circuit. A more detailed design process is needed for precision measurement, high-frequency amplification, low-noise circuits, large capacitive loads, high output current, single-supply operation near the rails, or circuits that require strict offset and drift control.

For those cases, check the op-amp datasheet carefully and verify the design with SPICE simulation and hardware measurements.

Frequently Asked Questions

What does this calculator output?

It outputs resistor values R2, R3, and R4 for the inverting op-amp calculator circuit. The values are given in kΩ.

Why is R2 based on the absolute value of gain?

Because the negative sign in the gain formula indicates phase inversion, not a negative resistor. The physical resistor value is positive, so R2 is calculated from the gain magnitude.

What should I enter for V2?

V2 is used when an offset or reference voltage is required. If the circuit does not need an offset, enter 0 V.

Why is my output invalid or clipped?

The requested output voltage may be outside the op-amp's supply range. Reduce the gain, reduce the input voltage, change the reference point, or use a suitable supply voltage and op-amp.

Can I use this calculator for a non-inverting amplifier?

No. This calculator is intended for inverting op-amp resistor selection. A non-inverting amplifier uses a different gain formula and resistor arrangement.

Can I use any resistor values as long as the ratio is correct?

Not always. The ratio sets the ideal gain, but the absolute resistor values affect input impedance, noise, offset error, current consumption, and bandwidth.

More Resistor Calculators

Frequently Asked Questions

What input parameters are required for calculating R2, R3, and R4?

You need to input the desired gain (negative value), R1 resistance (in kΩ), output voltage (Vout), power supply voltages (Vp and Vn), and optional offset voltage V2.

How are R2, R3, and R4 calculated in the inverting amplifier circuit?

R2 is derived from the gain formula: R2 = |Gain| × R1. R3 and R4 (optional bias resistors) balance input bias currents. If no offset is required (V2 = 0), R3 and R4 are typically omitted or set to match R1||R2.

Why might my calculated Vout exceed the allowed range?

The output voltage Vout must stay within the op-amp’s supply rails (Vn ≤ Vout ≤ Vp). If your input gain or R1/R2 ratio forces Vout beyond these limits, the result will be invalid (clipped). Adjust your parameters accordingly.

What is the purpose of R3 and R4 in the circuit?

R3 and R4 (if used) minimize errors from input bias currents. They are often set to R3 = R4 = R1 || R2 (parallel combination of R1 and R2) to balance the input impedance. If no offset is needed, these resistors can be omitted.

Can this calculator handle non-inverting or differential amplifier designs?

No, this tool is specific to inverting op-amp circuits. For non-inverting, differential, or other configurations, use a dedicated calculator tailored to those topologies.
Hot products

ImagePart NumberManufacturerCategoryPackage/CaseDescriptionPriceQuantityBuy/Quote
BLM18PG121SN1DBLM18PG121SN1DMurata ElectronicsFerrite Beads and Chips0603 (1608 Metric)MURATA - BLM18PG121SN1D - Ferrite Bead, 0603 [1608 Metric], 120 ohm, 2 A, BLM18P Series, 0.05 ohm, ± 25%-

In stock : 355131

Minimum: 1

AD9364BBCZAD9364BBCZAnalog Devices Inc.RF Transceiver ICs144-LFBGA, CSPBGARF Transceiver 1.3V 144-Pin CSP-BGA Tray-

In stock

Minimum: 1

CY62256LL-70SNXCCY62256LL-70SNXCCypress Semiconductor CorpMemory28-SOIC (0.295, 7.50mm Width)IC SRAM 256K PARALLEL 28SOIC-

In stock : 305

Minimum: 1

M24C16-MN6M24C16-MN6STMicroelectronicsMemory8-SOIC (0.154, 3.90mm Width)IC EEPROM 16K I2C 400KHZ 8SO-

In stock : 98

Minimum: 1

MPZ2012S102AT000MPZ2012S102AT000TDK CorporationFerrite Beads and Chips0805 (2012 Metric)TDK - MPZ2012S102AT000 - FERRITE BEAD, 0.15OHM, 1.5A, 0805
  • 1:$0.025041
  • 500:$0.018413
  • 1000:$0.015344
  • 2000:$0.014077

In stock : 55750

Minimum: 1

SE2537L-RSE2537L-RSkyworks Solutions Inc.RF Amplifiers16-VFQFN Exposed PadRF Amplifier 5GHz Gain 30 dB 3.3Volt -10C 85C-

In stock : 10000

Minimum: 1

CYBL10162-56LQXICYBL10162-56LQXICypress Semiconductor CorpRF Transceiver ICs56-UFQFN Exposed PadMCU 32-Bit CYBL10X6X ARM Cortex M0 RISC 128KB Flash 1.8V/2.5V/3.3V/5V 56-Pin QFN EP Tray-

In stock : 48

Minimum: 1

SKY81294-14-001SKY81294-14-001Skyworks Solutions Inc.PMIC - LED Drivers9-BGA, WLCSPIC LED FLASH DVR 1.2V 9CSP
  • 1:$0.464267
  • 10:$0.437988
  • 100:$0.413196
  • 500:$0.389808

In stock : 22794

Minimum: 1

HSMS-282P-TR1GHSMS-282P-TR1GBroadcom LimitedDiodes - RF6-TSSOP, SC-88, SOT-363Diode Schottky 15V 6-Pin SOT-363 T/R-

In stock

Minimum: 1

IS61LV12816L-8TLIS61LV12816L-8TLISSI, Integrated Silicon Solution IncMemory44-TSOP (0.400, 10.16mm Width)SRAM Chip Async Single 3.3V 2M-bit 128K x 16 8ns 44-Pin TSOP-II-

In stock : 15

Minimum: 1

AT25DF161-SH-TAT25DF161-SH-TAdesto TechnologiesMemory8-SOIC (0.209, 5.30mm Width)Flash Memory 16M, 2.7V, 100Mhz Serial Flash-

In stock

Minimum: 1

80HCPS1432CRM80HCPS1432CRMRenesas Electronics America Inc.Specialized ICs576-BBGA, FCBGAIC SER RAPIDIO SWITCH 576FCBGA-

In stock

Minimum: 1

SZNUP3105LT1GSZNUP3105LT1GON SemiconductorTVS - DiodesTO-236-3, SC-59, SOT-23-3TVS DIODE 32V 66V SOT23-3-

In stock : 1000

Minimum: 1

DS1230AB-200INDDS1230AB-200INDMaxim IntegratedMemory28-DIP Module (0.600, 15.24mm)IC NVSRAM 256K PARALLEL 28EDIP-

In stock

Minimum: 1

STK17TA8-RF45ISTK17TA8-RF45ICypress Semiconductor CorpMemory48-BSSOP (0.295, 7.50mm Width)IC NVSRAM 1M PARALLEL 48SSOP-

In stock

Minimum: 1

ALT6702RM45Q7ALT6702RM45Q7Skyworks Solutions Inc.RF Amplifiers-IC RF AMP CELLULAR SMD-

In stock

Minimum: 1

SI8261BBD-C-ISSI8261BBD-C-ISSilicon LabsIsolators - Gate Drivers6-SOIC (0.295, 7.50mm Width)4A Gate Driver Capacitive Coupling 5000Vrms 1 Channel 6-SDIP
  • 1:$7.595705
  • 10:$7.165759
  • 100:$6.760150
  • 500:$6.377500

In stock : 2191

Minimum: 1

SI8261BAD-C-ISSI8261BAD-C-ISSilicon LabsIsolators - Gate Drivers6-SOIC (0.295, 7.50mm Width)Gate Drivers 5kV Opto input Sgl channel 4.0A driver
  • 1:$4.571321
  • 10:$4.312567
  • 100:$4.068459
  • 500:$3.838169

In stock : 23

Minimum: 1

CSR8510A06-ICXR-RCSR8510A06-ICXR-RQualcommRF Transceiver ICs6-XFBGAIC RF TXRX BLUETOOTH 6XFBGA-

In stock

Minimum: 1

SZNUP4114UCLW1T2GSZNUP4114UCLW1T2GON SemiconductorTVS - Diodes6-TSSOP, SC-88, SOT-363TVS DIODE 5.5V 10V SC88
  • 1:$0.707176
  • 10:$0.667147
  • 100:$0.629384
  • 500:$0.593759

In stock : 155000

Minimum: 1