Separate the differential signal from its reference level
An instrumentation amplifier is used when a sensor produces two related voltages and the information is their difference. A three-op-amp topology places two noninverting input amplifiers first, then a difference stage. The first stage provides high input impedance and adjustable gain; the final stage subtracts the amplified paths and can add a reference offset.
The calculator models the ideal transfer of this arrangement, not a particular integrated part. Its fields R and Rg are the equal first-stage feedback resistance and the bridge resistance between the first-stage inverting nodes. The `ratio` field is the matched difference-stage feedback-to-input ratio. Vp and Vm are the two sensor voltages in volts, and Vref is the output reference in volts.
Follow the two-stage gain equation
The first-stage differential gain is G1 = 1 + 2R/Rg. The total differential gain is G = G1 × ratio. The output is Vout = Vref + G(Vp − Vm). R and Rg must use the same resistance unit, so the ratio is dimensionless. The calculator labels them in ohms; changing both by the same scale factor preserves the ideal gain.
The first-stage output separation is G1(Vp − Vm), before the final difference stage applies its ratio. The tool reports this separation along with total differential gain and output voltage. These outputs help expose where the selected gain comes from; they are not three independent sensor measurements. Equal movement of Vp and Vm leaves the ideal output unchanged because only their difference enters the equation.
Calculate gain and reference-shifted output
The worked values show why a millivolt-level difference can move the output by tenths of a volt, and why Vref must be included explicitly. Keep the sign of Vp − Vm; swapping the sensor leads reverses the differential contribution but does not change Vref.
Worked examples
Default sensor pair with a mid-supply reference
Inputs: R = 10 kΩ, Rg = 1 kΩ, ratio = 1, Vp = 2.51 V, Vm = 2.50 V, Vref = 2.50 V.
Calculation: G1 = 1 + 2(10/1) = 21 V/V; total G = 21 × 1 = 21 V/V. First-stage separation = 21 × 0.01 = 0.21 V. Vout = 2.50 + 0.21 = 2.71 V.
The 10 mV differential input adds 0.21 V to the 2.50 V reference. The result still needs a supply and common-mode-range check.
Higher gain with a 6 mV sensor difference
Inputs: R = 4.7 kΩ, Rg = 1 kΩ, ratio = 2, Vp = 2.506 V, Vm = 2.500 V, Vref = 1.20 V.
Calculation: G1 = 1 + 2(4.7/1) = 10.4 V/V; total G = 10.4 × 2 = 20.8 V/V. First-stage separation = 10.4 × 0.006 = 0.0624 V. Vout = 1.20 + 20.8 × 0.006 = 1.3248 V.
The output shift is 0.1248 V above Vref. The final difference-stage ratio doubles the first-stage differential separation.
Choose the gain resistor for the sensor span
Start with the maximum differential sensor voltage, the output range required by the next stage, and the reference level. The resistor relation can then set an ideal gain, but the gain should not be so high that input offset, sensor common-mode voltage, or the largest expected signal drives an internal stage beyond its range. A small final output does not guarantee that the first-stage op amps remain linear.
The `ratio` control represents matched resistors in the final subtractor. In a discrete design, their ratios should be matched closely; absolute tolerance alone does not describe ratio error. Integrated instrumentation amplifiers often use precision matching internally, but their data sheets still specify gain error, offset, CMRR, reference-pin behavior, and headroom. The calculator assumes a perfect ratio and zero component error.
Check common-mode range and reference headroom
A pair of sensor voltages can have a small difference while both sit at a high common-mode level. The ideal output equation does not test whether the first-stage inputs accept that common-mode voltage. Nor does it check the internal node swings, output load, supply rails, or reference pin drive. Verify those limits against the exact amplifier data sheet or its input-output range tool before relying on the computed output.
The reference is an additive output offset in this model. It is not a supply voltage, and changing it does not change the ideal differential gain. If Vp equals Vm, the calculator returns Vref; a real amplifier can still show offset, noise, and common-mode leakage. For the simplified transfer calculation use the three-op-amp instrumentation amplifier transfer calculator, then validate the full operating region and CMRR for the selected hardware.