How difference amplifier works
The amplifier subtracts the first input from a scaled second input. When R2/R1 equals R4/R3, equal voltages on both inputs cancel and the output is the difference multiplied by R2/R1. The general equation also handles unmatched resistor ratios.
Ideal DC equations assume negative feedback and operation within the supply rails. The guest uses a generic op-amp model; finite gain, input loading, output current and saturation can change the simulated result.
Change the form inputs or click a component value on the schematic. Choose Try in CircuitSim to simulate the configured circuit.