โšก UPDATES
PG in EV & Embedded Systems โ€” IIT Jammu (12 Months) Flagship M.Tech in EV Technology โ€” 24 Month Program Open DET Entrance Test โ€” Unlock Scholarship Up to โ‚น50,000 Scholarship 95,000+ Professionals Trained Nationwide Placement Drive โ€” 320+ Hndustry Partners ASDC & AICTE NEAT Certified Programs PG in EV & Embedded Systems โ€” IIT Jammu (12 Months) Flagship M.Tech in EV Technology โ€” 24 Month Program Open DET Entrance Test โ€” Unlock Scholarship Up to โ‚น50,000 Scholarship 95,000+ Professionals Trained Nationwide Placement Drive โ€” 320+ Hndustry Partners ASDC & AICTE NEAT Certified Programs
Accredited by
NEAT AICTE Ministry of Education ASDC
DIYguru
โšก Apply Now โ€” PG & Nanodegree Programs Open DET Entrance Test โ€” Get Scholarship up to โ‚น50,000
๐Ÿ“…
Bharat eMobility Recruitathon 2026 Delhi: Mar 21-23 | Pune: May 21-24
-->

Difference between Inverting and Non-Inverting Amplifier

Difference between Inverting and Non-Inverting Amplifier circuits comes down to one choice. Both use one op-amp and two resistors, and where you connect the input decides whether the output is flipped or follows the signal, how much gain you get, and how heavily the circuit loads your sensor. Hereโ€™s how each works, with an interactive circuit explorer, a gain calculator and real EV examples.

Inverting gainAv = โˆ’Rf/Rin
Non-inverting gainAv = 1 + Rf/R1

Signal studio / Live experiment

Watch phase inversion happen

Select a topology and adjust the input. Both modes use an absolute gain of 2 here, so phase is the only difference. The graph uses ideal, low-frequency behaviour with sufficient supply headroom.

White: input ยท Mint: output
Vertical scale: ยฑ5 V ยท Horizontal axis: illustrative time

Your lab notebook

Mark chapters complete as you learn.

Get free counselling โ†’

The short answer

Difference between Inverting and Non-Inverting Amplifier is where the signal enters the op-amp. An inverting amplifier feeds the signal into the op-ampโ€™s inverting (โˆ’) input, so the output is 180ยฐ out of phase and the gain is โˆ’Rf/Rin. A non-inverting amplifier feeds it into the non-inverting (+) input, so the output is in phase and the gain is 1 + Rf/R1. The non-inverting version has a far higher input impedance but can never have a gain below 1.

Overview

Difference between Inverting and Non-Inverting Amplifier: overview

Difference between Inverting and Non-Inverting Amplifier โ€” input and output signal polarity at equal gain magnitude
White: input signal. Mint: output signal. Ideal low-frequency behaviour with sufficient supply headroom.

The output signal of an inverting amplifier is out of phase with the input signal, while the output of a non-inverting amplifier is in phase with it. One op amp and two resistors can be used to build either inverting or non-inverting op amps, just in different ways.

Difference between inverting and non-inverting amplifier circuit diagrams
Difference between inverting and non-inverting amplifier: the input goes to the โˆ’ terminal (left) or the + terminal (right).

Inverting Operational Amplifier

The signal is applied to the inverting input of the inverting operational amplifier circuit, and the non-inverting input is connected to the ground. The output of this kind of amplifier is 180ยฐ out of phase with the input, so if a positive signal is applied to the circuit, the output will be negative.

If the op-amp is assumed to be ideal, the concept of virtual short can be applied at the input terminals of the op-amp, so that the voltage at the non-inverting terminal and the inverting terminal are equal.

Non-Inverting Operational Amplifier

The circuit that is produced when the signal is applied at the non-inverting input is referred to as a Non-Inverting Op-Amp. When a positive voltage is applied to the circuit, the amplifierโ€™s output will also be positive because it is exactly in phase with the input.

The concept of virtual short, in which the voltages at the inverting and non-inverting terminals are equal, can be applied if the op-amp is assumed to be ideal.

Circuit explorer

See both circuits side by side

Switch between the two circuits to see the difference between inverting and non-inverting amplifier behaviour for yourself. The dashed green line shows the feedback current; the scope shows what happens to a sine wave.

RinRf โˆ’+ Vin Vout Vโˆ’ โ‰ˆ 0 V(virtual ground) Gain = โˆ’Rf / Rin
Input VinOutput Vout (inverted, 180ยฐ out of phase), gain โˆ’2.5

Inverting amplifier

The input signal goes through Rin into the โˆ’ input, and the + input is tied to ground. Feedback resistor Rf connects the output back to the โˆ’ input.

  • Output is 180ยฐ out of phase: a positive input gives a negative output.
  • Gain Av = โˆ’Rf/Rin can be more or less than 1.
  • The โˆ’ input sits at a virtual ground (โ‰ˆ 0 V).
  • Input impedance equals Rin.

Comparison

Difference between Inverting and Non-Inverting Amplifier: 12 key points

This table sums up the difference between inverting and non-inverting amplifier circuits at a glance, from phase and gain to input impedance and bandwidth.

Difference between Inverting and Non-Inverting Amplifier: comparison table
ParameterInverting amplifierNon-inverting amplifier
Input applied toInverting (โˆ’) terminal, through RinNon-inverting (+) terminal, directly
Phase of output180ยฐ out of phase: the output is the inverse of the inputIn phase: the output follows the input
Voltage gainAv = โˆ’Rf / RinAv = 1 + Rf / R1
Gain rangeAny magnitude, including less than 1 (it can attenuate)Always 1 or more; it cannot attenuate
Input impedanceEqual to Rin (typically kฮฉ), so it loads the sourceVery high (Mฮฉ to Tฮฉ), set by the op-amp itself
Output impedanceVery low (ideally zero)Very low (ideally zero)
Voltage at the inputsBoth at about 0 V: the โˆ’ input is a โ€œvirtual groundโ€Both follow Vin, so the op-amp sees a common-mode voltage
Common-mode errorPractically none, because the inputs stay at 0 VPresent; the op-ampโ€™s CMRR and input range matter
Bandwidth (for gain magnitude G)GBW รท (G + 1): slightly lowerGBW รท G: slightly higher
Unity-gain versionUnity inverter (Rf = Rin, gain โˆ’1)Voltage follower / buffer (Rf = 0, gain +1)
Easily extended toSumming amplifier, integrator, current-to-voltage converterBuffers, sensor front ends, active filters
Typical useMixing and scaling signals, PWM error amplifiers, signal inversionAmplifying weak sensor signals without loading them

How it works

Deriving the gain of each amplifier

Difference between Inverting and Non-Inverting Amplifier gain formulas follows from the same two rules. Both derivations use the two โ€œgolden rulesโ€ of an ideal op-amp with negative feedback: (1) the output does whatever it takes to make the voltage at the โˆ’ input equal the voltage at the + input (the virtual short), and (2) no current flows into either input.

Inverting amplifier

  1. The + input is grounded, so the โˆ’ input is also held at 0 V (virtual ground).
  2. Current through Rin: I = Vin / Rin
  3. No current enters the op-amp, so the same current flows through Rf to the output.
  4. The output sits below 0 V by I ร— Rf: Vout = โˆ’I ร— Rf

Av = Vout/Vin = โˆ’Rf / Rin

Non-inverting amplifier

  1. The input drives the + terminal, so the โˆ’ input is also held at Vin.
  2. Rf and R1 divide the output: Vโˆ’ = Vout ร— R1 / (R1 + Rf)
  3. Set Vโˆ’ = Vin and rearrange.
  4. Vout = Vin ร— (R1 + Rf) / R1

Av = 1 + Rf / R1

A note on bandwidth. Bandwidth is one more difference between inverting and non-inverting amplifier circuits detail that matters in practice. Real op-amps have a fixed gain-bandwidth product (GBW). Bandwidth is roughly GBW divided by the circuitโ€™s noise gain, which is 1 + Rf/Rin for both circuits. So for the same gain magnitude of 10, a 1 MHz op-amp gives about 100 kHz as a non-inverting amplifier but about 91 kHz as an inverting one.

Interactive tool

Op-amp gain calculator

Enter your resistor values, input and supply. The calculator shows gain, output, input impedance and bandwidth, and warns you if the output will clip. Switch the type to see the difference between inverting and non-inverting amplifier outputs for the same resistors.

Your circuit

Voltage gainโ€”
Gain (dB)โ€”
Output peakโ€”
Phaseโ€”
Input impedanceโ€”
Bandwidth (โ‰ˆ)โ€”
InputOutputSupply limit (shown when clipping)

Worked examples

Same resistors, different results

These three examples show the difference between inverting and non-inverting amplifier gain in numbers, using identical resistor values.

Example 1 ยท Inverting

Gain of โˆ’4.7

Rin = 10 kฮฉ, Rf = 47 kฮฉ, Vin = 0.5 V.

Av = โˆ’47/10 = โˆ’4.7

Vout = โˆ’4.7 ร— 0.5 = โˆ’2.35 V. The input sees only 10 kฮฉ.

Example 2 ยท Non-inverting

Gain of 5.7

R1 = 10 kฮฉ, Rf = 47 kฮฉ, Vin = 0.5 V.

Av = 1 + 47/10 = 5.7

Vout = 5.7 ร— 0.5 = +2.85 V, in phase. Same resistors, different gain.

Example 3 ยท Clipping

When the output runs out of supply

Inverting, Rin = 1 kฮฉ, Rf = 30 kฮฉ, Vin = 0.5 V peak, ยฑ12 V supply.

Ideal Vout = โˆ’15 V

A classic op-amp swings to about ยฑ10.5 V here, so the peaks are clipped. Lower the gain or raise the supply.

Special cases

Followers, summers and difference amplifiers

Once you know the difference between inverting and non-inverting amplifier circuits, four useful variations are easy to understand.

Voltage follower. Make Rf = 0 and remove R1 in a non-inverting amplifier and the gain becomes exactly 1. The output copies the input while drawing almost no current from it, which makes it the standard buffer between a sensor and an ADC.

Unity inverter. Make Rf = Rin in an inverting amplifier and the gain is โˆ’1: the signal is flipped without being amplified.

Summing amplifier. Because the inverting input is a virtual ground, several inputs, each through its own resistor, can be added together without affecting one another: Vout = โˆ’Rf(V1/R1 + V2/R2 + โ€ฆ). Read more in our summing amplifier guide.

Difference amplifier. Use both inputs at once (one signal through the inverting path, another into the non-inverting path) and the op-amp amplifies only the difference between them. This is how BMS and motor controllers measure current across a shunt resistor.

In electric vehicles

Where these amplifiers work inside an EV

Every EV is full of small analog signals that must be amplified, buffered or inverted before a microcontroller can read them. Knowing the difference between inverting and non-inverting amplifier circuits tells you which one each job needs.

Battery current sensing

A BMS measures pack current with a tiny shunt resistor. At 100 A, a 0.5 mฮฉ shunt drops only 50 mV, so a non-inverting (or difference) amplifier with a gain of about 40 lifts it to 2 V for the ADC.

Non-inverting / difference

Motor phase current

Motor controllers sense each phase current for field-oriented control. Amplifiers referenced to mid-supply let the ADC read current flowing in both directions.

Difference amplifier

Temperature sensing

Battery and motor NTC thermistors sit in a voltage divider. A voltage follower (non-inverting, gain 1) buffers that signal so the ADC does not load it and distort the reading.

Voltage follower

Cell voltage monitoring

BMS front-end chips measure every cell with precision differential amplifiers, which combine inverting and non-inverting inputs to reject the high common-mode voltage of a series stack.

Differential

Charger and DC-DC control

Switch-mode chargers and DC-DC converters regulate their output with an error amplifier wired as an inverting amplifier with a compensation network (Type II or Type III).

Inverting

Signal scaling and mixing

Inverting summing amplifiers add, scale or offset several signals at once, for example combining sensor readings or shifting a bipolar signal into an ADC range.

Inverting summing

Design tips

Practical tips and common mistakes

Design tips that apply once you know the difference between inverting and non-inverting amplifier circuits.

Do

  • Keep resistors roughly between 1 kฮฉ and 100 kฮฉ. Too low wastes current; too high adds noise and bias-current errors.
  • In an inverting amplifier, add a resistor equal to Rin โˆฅ Rf from the + input to ground to cancel input bias-current offset.
  • Check the gain-bandwidth product: bandwidth โ‰ˆ GBW รท (1 + Rf/Rin).
  • On a single supply (5 V or 3.3 V), bias the signal at mid-supply and use a rail-to-rail op-amp.
  • Place a 100 nF decoupling capacitor right at the op-ampโ€™s supply pins.

Avoid

  • Saying the non-inverting output is out of phase. It is the inverting amplifier that shifts the phase by 180ยฐ (not โ€œ1800โ€).
  • Expecting a non-inverting amplifier to reduce a signal. Its gain can never be below 1.
  • Driving a high-impedance sensor with an inverting amplifier: Rin will load it and distort the reading.
  • Asking for more output than the supply allows; the output clips before the rails.
  • Driving long cables or large capacitive loads directly from the output without an isolation resistor.

Hands-on learning

Build these circuits on real EV hardware

Theory is a start, and the difference between inverting and non-inverting amplifier circuits is easiest to learn on a real oscilloscope. In DIYguruโ€™s embedded systems workshops you design, wire and test the amplifiers, sensors and ADC interfaces used in real BMS and motor controllers.

  • Hands-on labs with BMS and controller hardware
  • Op-amps, ADCs, sensors and firmware, end to end
  • ASDC & AICTE NEAT certified programmes
  • Placement support through emobility.careers

Prefer to call? +91 99109 18719 ยท [email protected]

Get free counselling

An advisor will call you within 24 hours.

๐Ÿ”’ Your details go only to DIYguru. No spam.

Experiment / 01

Feedback resistor workbench: series and parallel

Build the feedback resistance from two resistors. In series their resistances add; in parallel the equivalent resistance is smaller than either branch. Here the equivalent resistance becomes Rf, while the input or ground resistor stays at 10 kฮฉ. This ideal model assumes stable negative feedback and operation within the amplifierโ€™s limits.

AB

Animated paths indicate network connectivity, not measured current magnitude or direction.

Experiment / 02

Trace a BMS sensor-signal fault

A low-voltage signal-conditioning stage can saturate even when the measured quantity is valid. This illustrative channel models a 0โ€“50 mV sensor signal, gain of 40 and a 3.3 V ADC. The example amplifier output is limited to 0.1โ€“3.2 V. These are chosen teaching values, not a real BMS specification.

SensorAmplifierADCOutput relative to 3.3 V full scale

Do not diagnose cell health from one ADC value. Compare the sensor source, reference, supply rails and fault history. An open input can float unpredictably; this model shows โ€œunknownโ€ instead of inventing a voltage. Actual pack monitoring requires an appropriate battery-monitoring front end, rated isolation where needed and manufacturer procedures.

Guided practice / 03

Walk through an amplifier check

Use a safe low-voltage training circuit. This walkthrough does not authorise probing a live traction battery.

Search the amplifier glossary

Continue learning

Read the Texas Instruments inverting amplifier design reference and the input and output swing guide. For a learning pathway, explore the DIYguru EV Career Toolkit.

Careers

Jobs that use op-amp skills

Engineers who understand the difference between inverting and non-inverting amplifier circuits are hired across the EV industry. Analog front ends are core to BMS, motor-controller, charger and embedded roles. Explore live EV jobs, career guides and salaries on emobility.careers, DIYguruโ€™s EV hiring platform.

EV wiring and controller trainer board at a DIYguru lab
Controller and wiring trainer at a DIYguru lab

Test yourself

Quiz: difference between inverting and non-inverting amplifier

FAQ

Frequently asked questions

Common questions about the difference between inverting and non-inverting amplifier circuits.

What is the difference between inverting and non-inverting amplifier?

Difference between Inverting and Non-Inverting Amplifier circuits is where the input is applied. In an inverting amplifier the input goes to the op-ampโ€™s inverting (โˆ’) terminal, so the output is 180ยฐ out of phase with the input and the gain is โˆ’Rf/Rin. In a non-inverting amplifier the input goes to the non-inverting (+) terminal, so the output is in phase and the gain is 1 + Rf/R1. The non-inverting version also has a much higher input impedance.

Why is the output of an inverting amplifier 180ยฐ out of phase?

Because the signal drives the op-ampโ€™s inverting input. When the input rises above 0 V, current flows through Rin towards the virtual-ground node, and the op-amp must drive its output negative to pull the same current away through Rf. A positive input therefore gives a negative output, which for a sine wave is a 180ยฐ phase shift.

What is the gain formula of inverting and non-inverting amplifiers?

Inverting: Av = โˆ’Rf / Rin. Non-inverting: Av = 1 + Rf / R1. For example, with Rf = 47 kฮฉ and 10 kฮฉ, the inverting gain is โˆ’4.7 and the non-inverting gain is 5.7.

Can a non-inverting amplifier have a gain less than 1?

No. Its minimum gain is 1, reached when Rf = 0 (or R1 is left open), which makes it a voltage follower. To attenuate a signal with an op-amp, use an inverting amplifier with Rf smaller than Rin, or a resistor divider followed by a buffer.

Which amplifier has higher input impedance?

The non-inverting amplifier. Its input connects straight to the op-ampโ€™s + terminal, which draws almost no current, so the input impedance is in the megaohm to teraohm range. An inverting amplifierโ€™s input impedance is simply Rin, so a weak sensor can be loaded down by it.

What is a virtual ground?

In an inverting amplifier with the + input grounded, negative feedback forces the โˆ’ input to almost exactly 0 V, even though it is not physically connected to ground. That node is called a virtual ground. It is why the input current is simply Vin/Rin.

What is a voltage follower?

A voltage follower is a non-inverting amplifier with Rf = 0 and no R1, giving a gain of exactly 1. It copies the input voltage to the output while drawing almost no current, so it is used as a buffer between a high-impedance source, such as a sensor divider, and a load such as an ADC.

Where are op-amp amplifiers used in electric vehicles?

Everywhere a small analog signal has to reach a microcontroller: battery current sensing with shunt resistors, motor phase-current sensing in controllers, thermistor temperature measurement, BMS cell-voltage monitoring and the error amplifiers that regulate chargers and DC-DC converters.

Keep learning

Related topics and programmes

Go beyond the difference between inverting and non-inverting amplifier circuits with these topics and programmes.

Free counselling

Turn op-amp basics into an EV electronics career

You now know the difference between inverting and non-inverting amplifier circuits. Talk to a DIYguru counsellor about the right embedded-systems programme for your background, from a hands-on workshop to a PG programme.

  • Free, no-obligation call within 24 hours
  • Programmes for students, freshers and working engineers
  • Real BMS, controller and charger hardware
  • Placement support through emobility.careers

Prefer to call? +91 99109 18719 ยท [email protected]

Get free counselling

An advisor will call you within 24 hours.

๐Ÿ”’ Your details go only to DIYguru. No spam.

Further reading: Operational amplifier applications (Wikipedia) ยท Handbook of Operational Amplifier Applications (Texas Instruments) ยท Inverting op-amp tutorial ยท Non-inverting op-amp tutorial

This guide to the difference between inverting and non-inverting amplifier circuits assumes an ideal op-amp. Formulas assume an ideal op-amp with negative feedback. Real circuits are limited by supply voltage, gain-bandwidth product, slew rate, offset voltage and bias current; check your op-ampโ€™s datasheet. Reviewed by the DIYguru EV electronics team.

In contrast to an inverting amplifier, the output signal of a non-inverting amplifier is out of phase with the input signal. One op amp and two resistors can be used to build either inverting or non-inverting op amps, just in different ways.

The signal is applied to the inverting input of the inverting operational amplifier circuit, and the non-inverting input is connected to the ground. The output of this kind of amplifier is 1800 times out of phase with the input, so if a positive signal is applied to the circuit, the output will be negative. By expecting the Operation Amp is great, then, at that point, the idea of virtual short can be applied at the info terminals of the Operation Amp. so that the voltage at the non-inverting terminal and the inverting terminal are equal.

Non-Inverting Operational Amplifier

The circuit that is produced when the signal is applied at the non-inverting input is referred to as a Non-Inverting Op-Amp. When a positive voltage is applied to the circuit, the amplifierโ€™s output will also be positive because it is exactly in phase with the input. The concept of virtual short, in which the voltages at the inverting and non-inverting terminals are equal, can be applied if the Op-Amp is assumed to be ideal.

Call Now WhatsApp
DIYguru

Let's Connect

Training programs ยท B2B partnerships ยท College workshops

๐ŸŽ“
Certification
Programs
๐Ÿข
B2B Corporate
Training
๐Ÿซ
College
Workshops
๐Ÿค
Partnership &
Collaboration
Your data is secure ยท No spam ยท Expert callback within 2 hours