Table of Contents

The Differential Amplifier: Circuit, Formula, CMRR and Practical Design Notes

Differential amplifier circuit with matched resistor ratios, differential input voltage and CMRR design checks

A differential amplifier is an amplifier circuit that responds mainly to the difference between two input voltages. In the basic op amp version, the output is proportional to V2 - V1 when the resistor ratios are correctly matched. This makes the circuit useful for sensor interfaces, bridge measurements, current sensing, balanced audio, communication receivers, ADC drivers, and noise rejection.

The important design point is that a differential amplifier is not only a subtractor formula. Real performance depends on resistor matching, input common-mode voltage, output swing, op amp bandwidth, slew rate, input offset, input bias current, noise, CMRR, and PCB layout. Use this guide to understand the differential amplifier circuit, calculate gain, compare single-ended and fully differential versions, and avoid common sourcing mistakes when choosing an op amp or related analog IC.

Quick Take

ItemPractical Answer
Basic functionAmplifies the voltage difference between two input nodes
Common op amp circuitFour-resistor differential amplifier, also called a subtractor
Ideal matched-ratio formulaVout = (Rf/R1) x (V2 - V1)
Differential input voltageVd = V2 - V1
Differential gainAd = Vout / Vd under the intended circuit condition
CMRR meaningAbility to reject voltage that is common to both inputs
Main advantageRejects shared noise or offset while preserving the signal difference
Main design riskPoor resistor matching, invalid input common-mode range, output clipping, and unrealistic CMRR expectations

What Is a Differential Amplifier?

A differential amplifier is a circuit that produces an output based on the difference between two input voltages. If both inputs move together by the same amount, an ideal differential amplifier rejects that shared movement. If one input moves higher than the other, the amplifier converts that difference into a larger output signal.

This behavior is useful when the desired signal is small but sits on top of a larger shared voltage or noise source. Examples include a strain-gauge bridge, a current shunt, a balanced audio line, a sensor cable in a noisy machine, or a differential ADC input.

In practice, “differential amplifier” can mean several related circuits:

NameWhat It Usually MeansTypical Use
Op amp differential amplifierFour-resistor subtractor using a standard op ampLow-cost subtraction and level shifting
Instrumentation amplifierPrecision differential amplifier with buffered high-impedance inputsSensors, bridges, and industrial measurement
BJT differential amplifierTransistor long-tailed pairAnalog IC input stages and discrete analog learning circuits
Fully differential amplifierAmplifier with differential inputs and differential outputsADC drivers, high-speed signal chains, and balanced interfaces
Differential output amplifierAmplifier that drives complementary output signalsDriving a differential load or ADC input

Differential Amplifier Circuit and Formula

Op amp differential amplifier circuit showing matched resistor ratios and output formula
The classic four-resistor difference amplifier requires matched resistor ratios for the simplified subtraction formula.

The common op amp differential amplifier uses one input path into the inverting node and another input path into the non-inverting node. A feedback resistor sets the inverting-side gain, and a resistor divider sets the non-inverting-side reference.

For the usual matched-ratio circuit:

R2 / R1 = R4 / R3

the ideal output is:

Vout = (R2 / R1) x (V2 - V1)

Some diagrams use Rf instead of R2, giving the same idea:

Vout = (Rf / R1) x (V2 - V1)

If all four resistors are equal:

R1 = R2 = R3 = R4

then the circuit becomes a unity-gain subtractor:

Vout = V2 - V1

The sign depends on which input is connected to the non-inverting path and which input is connected to the inverting path. Always check the schematic before assuming the output polarity.

Worked Example: Gain of a Differential Amplifier

Assume a differential amplifier uses these resistor values:

ResistorValue
R110 kOhm
R2100 kOhm
R310 kOhm
R4100 kOhm

The resistor ratios match:

R2 / R1 = 100 kOhm / 10 kOhm = 10
R4 / R3 = 100 kOhm / 10 kOhm = 10

So the ideal differential gain is:

Ad = 10

If:

V2 = 1.20 V
V1 = 1.00 V

then:

Vd = V2 - V1 = 0.20 V
Vout = 10 x 0.20 V = 2.00 V

This result is valid only if the selected op amp can support the input common-mode voltage, output swing, and signal bandwidth. If the op amp is powered from a 0 V to 3.3 V supply and cannot swing close enough to 2.00 V under load, the real output will not match the ideal formula.

Differential Signal vs Common-Mode Signal

Differential input signal and common-mode input signal comparison for differential amplifier CMRR
Differential voltage is the wanted difference between the inputs; common-mode voltage is the voltage shared by both inputs.

A differential input can be separated into two parts:

Signal TypeMeaningWhy It Matters
Differential voltageThe difference between two inputs, such as V2 - V1This is the signal the amplifier should amplify
Common-mode voltageThe voltage shared by both inputs relative to circuit groundThis should be rejected, but real circuits reject it only within limits

For example:

V1 = 2.45 V
V2 = 2.55 V

The differential voltage is:

Vd = 2.55 V - 2.45 V = 0.10 V

The approximate common-mode voltage is:

Vcm = (V1 + V2) / 2 = 2.50 V

A gain-of-10 differential amplifier ideally outputs 1.00 V from the 0.10 V difference. But the op amp inputs must also tolerate the 2.50 V common-mode level. This is why a circuit can have the right gain formula and still fail in hardware.

CMRR of Differential Amplifier

CMRR and resistor matching checklist for a differential amplifier circuit
System-level CMRR depends on both the amplifier and the accuracy of the resistor-ratio matching.

CMRR means common-mode rejection ratio. It compares the amplifier’s desired differential gain with its unwanted common-mode gain:

CMRR = Ad / Acm

In decibels:

CMRR(dB) = 20 x log10(Ad / Acm)

High CMRR means the amplifier is better at rejecting signals that appear equally on both inputs. In a real four-resistor differential amplifier, CMRR is strongly affected by resistor-ratio matching. Even a good op amp cannot deliver high system-level CMRR if the external resistor ratios are poorly matched.

CMRR FactorDesign Meaning
Resistor ratio matchingThe two gain paths must match accurately, not only the absolute resistor values
Op amp input CMRRThe op amp itself must reject common-mode voltage inside its valid input range
Input common-mode rangeCMRR degrades or the circuit stops working if inputs leave the allowed range
Source impedance mismatchUnequal source resistance can convert common-mode noise into differential error
PCB leakage and contaminationHigh-value networks are more sensitive to leakage and humidity
FrequencyCMRR usually decreases as frequency rises

If CMRR is a project-critical requirement, do not source only a general-purpose op amp and four separate 1% resistors. Consider a precision matched resistor network, an instrumentation amplifier, or an integrated difference amplifier whose resistor matching is specified.

Why Resistor Matching Matters

The differential amplifier formula assumes the resistor ratios match:

R2 / R1 = R4 / R3

Absolute tolerance is not the same as ratio matching. Four independent 1% resistors can produce worse common-mode rejection than a matched resistor network, even if each resistor is individually within tolerance.

Resistor ChoiceBenefitRisk
Four loose 1% resistorsLow cost and easy to sourceLimited CMRR; ratios can drift differently over temperature
Four loose 0.1% resistorsBetter initial accuracyStill may not track temperature as well as a matched network
Thin-film matched resistor networkBetter ratio matching and trackingHigher cost and fewer package choices
Integrated difference amplifierResistors and amplifier are trimmed togetherLess flexible gain; input range depends on the device
Instrumentation amplifierHigh input impedance and high CMRRHigher cost and may require gain-setting and reference checks

For learning circuits, loose resistors are acceptable. For precision measurement, bridge sensors, industrial equipment, or high-noise environments, ratio matching should be treated as part of the performance specification.

Differential Amplifier Types

Comparison of single-ended, double-ended, BJT, instrumentation and fully differential amplifier types
Differential amplifier implementations include single-ended subtractors, BJT differential pairs, instrumentation amplifiers, and fully differential amplifiers.

Single-Ended Differential Amplifier

A single-ended differential amplifier accepts two input voltages and produces one output voltage referenced to ground or to a reference node. The basic op amp subtractor is a single-ended output circuit.

This topology is useful when the next stage expects a ground-referenced signal, such as a microcontroller ADC input or another single-ended analog stage. However, it can lose some advantages of balanced signaling after the output node, because the output is no longer a differential pair.

Good FitCheck Before Use
You need to subtract two voltages and feed a single-ended ADCOutput range must fit the ADC input range
The required bandwidth is modestOp amp GBW and slew rate still need margin
CMRR requirement is moderateResistor matching must be good enough
Input source impedance is low and balancedSource mismatch can reduce rejection

Double-Ended Differential Amplifier

“Double-ended differential amplifier” is often used to describe an amplifier arrangement where both the input and output are differential. Instead of producing only one output node, the circuit drives two outputs that move in opposite directions around a common-mode voltage.

For a differential output pair:

Vod = Vout+ - Vout-

The output common-mode voltage is:

Vocm = (Vout+ + Vout-) / 2

This output style is useful for balanced transmission and for driving many high-performance ADC inputs. It can increase available differential signal swing and improve rejection of some coupled noise when the downstream circuit is designed for differential input.

Fully Differential Amplifier

Fully differential amplifier ADC driver showing differential outputs and output common-mode control
A fully differential amplifier drives two complementary outputs and often provides a dedicated output common-mode control input.

A fully differential amplifier, often abbreviated FDA, is designed to process differential signals and drive differential outputs. Many FDAs include a VOCM or output common-mode control pin, which sets the midpoint around which the two outputs move.

This is especially important when driving a differential ADC. The ADC may require the output pair to be centered at a specific common-mode voltage, such as half the ADC reference or a dedicated common-mode output from the converter.

FeatureBasic Op Amp Differential AmplifierFully Differential Amplifier
Output styleUsually single-endedDifferential output pair
Common-mode controlOften set indirectly by resistor/reference networkOften has dedicated VOCM control
ADC driver usePossible for slower or simpler systemsCommon for high-speed and precision differential ADC inputs
Layout sensitivityModerate to highHigh; symmetry and feedback layout matter
Datasheet checksSupply, input range, output swing, GBW, slew rate, offset, noiseSame checks plus output common-mode range, differential output swing, and stability

An FDA is not automatically better for every circuit. It is the right choice when the system needs a true differential output, controlled output common-mode voltage, high-speed ADC drive, or balanced signal-chain performance.

BJT Differential Amplifier

A BJT differential amplifier, often called a differential pair or long-tailed pair, uses two transistors that share a current source or tail resistor. The input voltage difference steers current between the two transistors, creating output voltage changes at one or both collectors.

This circuit is fundamental because many op amp and comparator input stages are based on differential-pair behavior. It also helps explain why differential amplifiers can reject common-mode signals and respond strongly to small voltage differences.

BJT Differential Pair ConceptPractical Meaning
Shared tail currentInput difference steers current between two devices
Matched transistorsMatching improves offset and symmetry
Single-ended outputOne collector output is used, sacrificing some symmetry
Double-ended outputBoth collector outputs are used as a differential pair
Tail current sourceImproves common-mode behavior compared with a simple tail resistor

For modern production designs, engineers usually use an op amp, instrumentation amplifier, comparator, FDA, or dedicated analog front end instead of building a discrete BJT differential pair. The BJT circuit remains important for understanding how the internal amplifier stage works.

Instrumentation Amplifier vs Differential Amplifier

An instrumentation amplifier is a precision differential amplifier architecture with buffered inputs, high input impedance, and usually high CMRR. It is commonly used for bridge sensors, current shunts, thermocouples, and other small differential signals.

Comparison PointFour-Resistor Differential AmplifierInstrumentation Amplifier
Input impedanceOften limited by resistor networkUsually very high
Gain settingExternal resistor ratiosDevice-defined gain or one gain resistor
CMRRStrongly dependent on external ratio matchingUsually specified and trimmed by the manufacturer
CostLower for simple circuitsHigher, but with lower design risk for precision inputs
Best fitGeneral subtraction and level shiftingSmall sensor signals with high CMRR requirement

If the source impedance is high, the signal is small, or the common-mode voltage is large, start by evaluating an instrumentation amplifier instead of forcing a basic op amp subtractor into the design.

Differential Output Amplifier and ADC Driver Notes

A differential output amplifier is often used before an ADC, cable interface, or balanced load. The goal is not only gain; it is also to create two equal-and-opposite outputs centered around a valid common-mode voltage.

Key checks before selecting a differential output amplifier:

Datasheet ItemWhy It Matters
Input typeConfirms whether it accepts single-ended input, differential input, or both
Output common-mode controlNeeded to match ADC input common-mode requirements
Differential output swingConfirms signal range before clipping
Small-signal bandwidthAffects frequency response and gain flatness
Slew rateLimits large-signal waveform speed
Distortion and noiseCritical for ADC dynamic range and audio performance
Settling timeImportant for sampled systems
Load and ADC input networkOutput must remain stable with the sampling capacitor, filter, and traces
Package and thermal limitsMust fit the PCB and expected power dissipation

For an ADC driver, also check the ADC datasheet reference circuit. Many converters specify a recommended FDA, input RC filter, common-mode voltage, and layout approach.

Practical Applications

ApplicationHow the Differential Amplifier Is UsedKey Selection Checks
Bridge sensorAmplifies the difference between bridge outputsCMRR, offset, drift, input impedance, gain accuracy
Current shunt sensingMeasures voltage across a small resistorCommon-mode range, offset, input protection, power dissipation
Balanced audio receiverRejects noise picked up on a cableCMRR, noise, distortion, input impedance
ADC driverConverts or drives a differential signal into the converterOutput common-mode, swing, bandwidth, settling, stability
Industrial signal interfaceRejects shared electrical noiseInput protection, CMRR over frequency, surge and ESD strategy
BJT learning circuitDemonstrates current steering and differential behaviorDevice matching, bias current, temperature behavior
Level shiftingSubtracts one voltage from another around a referenceInput/output range, resistor accuracy, reference quality

How to Choose the Right Amplifier Type

Differential amplifier selection checklist covering common-mode range CMRR output type GBW slew rate and BOM checks
Start from signal range, common-mode voltage, CMRR, output type, bandwidth, and sourcing constraints before selecting the amplifier.
  1. Define whether the next stage needs a single-ended or differential output.
  2. Calculate the required differential gain from the input signal range and output range.
  3. Confirm the input common-mode voltage range across all operating conditions.
  4. Decide the required CMRR and whether loose resistors are acceptable.
  5. Check source impedance. High source impedance often points toward an instrumentation amplifier.
  6. Check signal bandwidth, slew rate, and settling time.
  7. Estimate offset, drift, bias-current error, and noise against the measurement budget.
  8. Check supply voltage, output swing, and load stability.
  9. Confirm package, pinout, temperature grade, and lifecycle before replacement or sourcing.
  10. For ADC applications, compare the amplifier with the ADC input network and common-mode requirement.

Op Amp Datasheet Checks

The ideal differential amplifier formula does not guarantee real circuit behavior. Check these datasheet items before selecting or replacing an op amp:

Datasheet ItemWhy It Matters in a Differential Amplifier
Supply voltage rangeConfirms that the device can run from the available rails
Input common-mode voltage rangeCritical because both inputs may sit on a large shared voltage
Output voltage swingPrevents clipping after differential gain is applied
CMRRIndicates device-level common-mode rejection, not full resistor-network performance
Input offset voltageAppears as differential error and can be amplified
Input bias currentCreates error through source and feedback resistances
Gain bandwidth productDetermines closed-loop accuracy at signal frequency
Slew rateLimits large-signal differential outputs and fast ADC drive
Noise densityAffects small-signal sensor and audio performance
Load drive and capacitive-load stabilityRequired when driving filters, ADC inputs, cables, or low-impedance loads
Package and pinoutRequired for PCB compatibility
Temperature range and lifecycleRequired for industrial or long-life BOMs

Common Mistakes

Mistake 1: Assuming the Formula Guarantees High CMRR

Vout = (R2/R1) x (V2 - V1) assumes matched resistor ratios. If the resistor ratios are not matched, common-mode voltage leaks into the output. For high CMRR, use matched networks, integrated difference amplifiers, or instrumentation amplifiers.

Mistake 2: Ignoring Input Common-Mode Range

A differential amplifier can have a small input difference while both input pins sit at a high common-mode voltage. If that common-mode voltage is outside the op amp’s valid input range, the output can saturate, distort, or behave unpredictably.

Mistake 3: Measuring a High-Side Current Shunt with the Wrong Op Amp

A high-side shunt may sit near a supply rail or above the op amp supply. A standard op amp differential circuit is often not suitable unless the input common-mode range supports that voltage. Dedicated current-sense amplifiers or instrumentation amplifiers may be safer.

Mistake 4: Replacing a Differential Amplifier by Package Alone

Two amplifier ICs in the same package are not automatically interchangeable. Pinout, input range, output swing, CMRR, offset, bias current, bandwidth, noise, stability, temperature grade, and lifecycle all need verification.

Mistake 5: Treating Fully Differential Amplifiers Like Ordinary Op Amps

An FDA has differential feedback and output common-mode control requirements. Incorrect feedback layout, wrong VOCM voltage, or unstable ADC input filtering can cause distortion, oscillation, or clipping.

BOM and Sourcing Checklist

Before approving an op amp, instrumentation amplifier, current-sense amplifier, or fully differential amplifier, send or verify these details:

Required DetailWhy It Matters
Circuit topologyBasic subtractor, instrumentation amplifier, current-sense circuit, FDA, or BJT differential pair
Input signal rangeDefines differential gain and output swing
Input common-mode rangeDetermines whether the amplifier can safely sense the inputs
Required CMRRDetermines whether resistor matching or integrated solutions are needed
Supply railsLimits input and output voltage range
Frequency rangeDetermines GBW, slew rate, and settling-time requirements
Accuracy requirementDetermines offset, drift, bias current, resistor tolerance, and noise needs
Output typeSingle-ended output or differential output pair
Load or ADC inputDetermines drive strength, stability, and filtering
Package and channel countDetermines PCB fit and BOM consolidation
Temperature, lifecycle, and compliance needsSupports production sourcing and replacement decisions

For sourcing support, provide the amplifier part number if one already exists, the package, quantity, supply rails, input common-mode range, differential signal range, required output type, and application notes. For replacement projects, include the original BOM line and schematic fragment so pinout and electrical compatibility can be checked before purchase.

Related Op Amp Guides

FAQ

What is a differential amplifier?

A differential amplifier is a circuit that amplifies the difference between two input voltages while ideally rejecting voltage that is common to both inputs.

What is the differential amplifier formula?

For the common matched-ratio op amp differential amplifier, the ideal formula is Vout = (R2/R1) x (V2 - V1). If all four resistors are equal, the output becomes Vout = V2 - V1.

How do you calculate the gain of a differential amplifier?

In a matched op amp subtractor, the differential gain is the resistor ratio, such as R2/R1. For example, R2 = 100 kOhm and R1 = 10 kOhm gives a gain of 10 if the opposite resistor ratio is also matched.

What is CMRR of a differential amplifier?

CMRR is the ratio of differential gain to common-mode gain. It tells how well the amplifier rejects signals that appear equally on both inputs. Higher CMRR is better, but real CMRR depends on the amplifier, resistor matching, source impedance, frequency, and layout.

What is the difference between a differential amplifier and an instrumentation amplifier?

A basic differential amplifier often uses one op amp and four resistors. An instrumentation amplifier is a precision differential amplifier architecture with buffered high-impedance inputs and usually much higher specified CMRR.

What is a fully differential amplifier?

A fully differential amplifier processes a signal and drives two complementary outputs, usually around a controlled output common-mode voltage. It is commonly used to drive differential ADC inputs and balanced high-speed signal chains.

What is a double-ended differential amplifier?

A double-ended differential amplifier usually refers to a differential-input, differential-output amplifier arrangement. Both output nodes are used, and the useful output is the voltage difference between them.

Is a BJT differential amplifier still useful?

Yes. A BJT differential pair is important for understanding analog amplifier input stages and discrete transistor behavior. In production hardware, designers often use integrated op amps, instrumentation amplifiers, current-sense amplifiers, or fully differential amplifiers instead.

Request Quote or Submit BOM

If your design uses a differential amplifier, instrumentation amplifier, current-sense amplifier, or fully differential amplifier, include the exact part number, package, quantity, supply rails, common-mode input range, required gain, output type, and application notes.

Use Send Inquiry for a known part number or a multi-line BOM. Stock, price, lead time, lifecycle, compliance, and replacement suitability should be verified during the quote review.

References and Further Reading