Instrumentation amplifier gain is the precisely adjustable multiplier that scales the differential voltage between two high-impedance inputs while rejecting any voltage common to both, typically set by a single external resistor. In a real circuit, this gain stage is what allows you to take a microvolt-level sensor signal—like the 2mV output of a thermocouple or the 10mV swing of a Wheatstone bridge—and boost it to a clean 0–3.3V or 0–5V range that a microcontroller's ADC can actually read, all without amplifying the noisy ground loops or 60Hz hum picked up along the sensor wires.
Unlike a standard operational amplifier wired as a differential amplifier, an instrumentation amplifier (in-amp) provides exceptionally high input impedance on both pins, meaning it won't load down your delicate sensor bridge. However, setting the gain correctly requires more than just plugging numbers into a datasheet formula; it requires understanding the physical limits of the silicon inside the chip.
The Anatomy of Instrumentation Amplifier Gain
Most classic monolithic instrumentation amplifiers, such as the Texas Instruments INA128 or the Analog Devices AD620, use a three-op-amp internal topology. The first stage consists of two buffer amplifiers that provide the high input impedance and apply the bulk of the differential gain. The third op-amp acts as a difference amplifier, stripping away the common-mode voltage and providing the final output.
The magic of the in-amp is that you don't need to match four precision resistors to set the gain and maintain common-mode rejection. Instead, the gain is programmed by connecting a single external resistor, RG, between two dedicated pins.
G = 1 + (50kΩ / RG)Note: The AD620 uses 49.4kΩ in its formula, while the INA128 uses exactly 50kΩ. Always check your specific datasheet.
Because the internal feedback network is laser-trimmed at the factory, the typical gain range spans from 1 to 10,000, limited only by the physical resistance value you place on the RG pins and the chip's Gain-Bandwidth Product (GBP).
Worked Numeric Example: Scaling a 10mV Load Cell
Let’s say you are building a bench scale using a 50kg load cell. The load cell is a Wheatstone bridge rated at 2mV/V. You are exciting it with a clean 5V reference, meaning your maximum full-scale differential output is 10mV. You want to feed this into an ESP32, which has a 12-bit ADC with a 3.3V full-scale range. To maximize resolution without clipping, you want a 10mV input to yield exactly 3.0V at the output.
- Calculate Required Gain: Target Output / Input Signal = 3.0V / 0.010V = 300 V/V.
- Select the IC: We'll use the TI INA128, powered by ±5V rails to give us plenty of headroom for a 3.0V output swing.
- Apply the Formula:
300 = 1 + (50,000 / RG) - Solve for RG:
299 = 50,000 / RG→RG = 50,000 / 299 = 167.22 Ω
On the bench, you cannot buy a standard 1% 167.22Ω resistor. If you use a standard 160Ω or 180Ω resistor, your gain will drift to 313 or 278, respectively, ruining your calibration. The professional move is to use a 165Ω 0.1% precision metal film resistor in series with a 10Ω multi-turn cermet trimmer potentiometer. This allows you to dial in exactly 167.22Ω on the bench while applying a known 10mV calibration signal, locking in a perfect gain of 300.
Where You Meet This in Practice
You will reach for an instrumentation amplifier whenever a signal is small, differential, and riding on top of a noisy or shifting common-mode voltage. Common applications include:
- Strain Gauges and Load Cells: Extracting 2mV to 20mV differential signals from Wheatstone bridges in industrial scales and force sensors.
- Thermocouples: Amplifying the Seebeck effect voltage (typically 10µV to 50µV per °C) from Type K or Type J thermocouples before cold-junction compensation.
- Medical Instrumentation (ECG/EMG): Reading microvolt-level biopotentials across the human body while aggressively rejecting the massive 50/60Hz common-mode interference radiated by mains wiring. (Note: Medical grade requires specific isolation amps, but the front-end gain stage operates on the same principles).
- High-Side Current Shunts: Measuring the voltage drop across a milliohm shunt resistor to calculate current draw, provided the common-mode voltage stays within the IC's supply limits.
Real-World Scenario Walkthrough: The Common-Mode Saturation Trap
Calculating the gain resistor is only half the battle. The most common way engineers and hobbyists destroy their in-amp circuits is by ignoring the relationship between gain, supply voltage, and input common-mode voltage range.
The Setup: You are measuring the current draw of a 12V DC motor using a 10mΩ shunt resistor placed on the high side (between the 12V battery and the motor). At a stall current of 10A, the shunt drops 100mV. You choose an INA128 powered by an isolated ±5V supply. You want a 4.0V output at 10A, so you calculate a gain of 40 (RG = 1.282kΩ). You wire it up, power the motor, and look at the oscilloscope.
The Numbers: Differential input = 100mV. Gain = 40. Expected output = 4.0V. Supply rails = ±5V. Mathematically, 4.0V fits perfectly inside the ±5V output swing limits.
The Outcome: The output is pegged hard at the negative rail (-4.8V) and does not move, regardless of the motor current. The chip feels warm to the touch.
What Went Wrong: You violated the Input Common-Mode Voltage Range. The shunt resistor is sitting at 12V relative to your INA128's ground. While the INA128 can handle inputs slightly outside its supply rails, on a ±5V supply, the maximum allowable common-mode voltage is roughly ±2V (depending on the gain and reference pin voltage). By forcing 12V into the inputs, the internal input-stage op-amps instantly saturated and clipped, completely destroying the differential gain stage's ability to function.
Common Confusions: In-Amps vs. Standard Differential Op-Amps
Many hobbyists try to save $4 on a BOM by building a "difference amplifier" out of a single TL072 or LM358 op-amp and four resistors instead of buying a dedicated in-amp. Here is why that usually fails in precision sensor applications:
| Feature | Dedicated Instrumentation Amplifier (e.g., INA128) | Standard Op-Amp Difference Circuit (e.g., LM358) |
|---|---|---|
| Input Impedance | Extremely High (1012 Ω). Does not load sensor bridges. | Relatively Low. Determined by the input resistor network, which unbalances the bridge. |
| Gain Setting | Single external RG resistor. Gain does not affect CMRR. | Requires changing four matched resistors. Resistor mismatch instantly destroys CMRR. |
| CMRR (Common-Mode Rejection) | 100dB to 120dB (at G=10). Laser-trimmed internally. | Limited by external resistor tolerance. A 0.1% mismatch yields a poor ~66dB CMRR. |
| Cost / Complexity | Higher IC cost ($4–$10), but trivial PCB layout. | Lower IC cost ($0.20), but requires expensive 0.01% matched resistor arrays to work properly. |
People also frequently confuse Gain with CMRR. Gain amplifies the difference between the two pins; CMRR is the chip's ability to ignore the voltage that is identical on both pins. Cranking up the gain does not improve your noise rejection—in fact, at very high gains, the internal noise floor and input offset voltage (VOS) are also multiplied, which can completely obscure your microvolt-level signal.
FAQ: Troubleshooting Gain Errors on the Bench
Why is my output saturated at the positive rail even with no input signal?
Check your Input Offset Voltage (VOS). If your in-amp has a typical VOS of 50µV and you set the gain to 10,000, the output will sit at 0.5V even with the inputs shorted together. If your circuit has poor thermal gradients or you are using a low-grade IC, the offset drift can easily push the output into saturation. Always include a trimmer potentiometer in the Reference (REF) pin circuit to null out the DC offset on the bench.
My AC signal is clipping, but the peak voltage is well within my supply rails. Why?
You have likely exceeded the Gain-Bandwidth Product (GBP) or the Slew Rate of the amplifier. An INA128 has a GBP of roughly 1MHz. If you set the gain to 100, your bandwidth drops to 10kHz. If you try to amplify a 50kHz signal at a gain of 100, the internal stages cannot react fast enough, resulting in severe attenuation and phase shift that looks like clipping or distortion on an oscilloscope.
Does the tolerance of the RG resistor affect the CMRR?
No. This is the primary advantage of the 3-op-amp in-amp topology. The CMRR is determined by the internal laser-trimmed resistor ratios in the final difference-amplifier stage. The external RG resistor only sets the differential gain. However, the tolerance and temperature coefficient (TCR) of RG will directly dictate your gain accuracy and gain drift over temperature. Always use 0.1% tolerance, 25ppm/°C (or better) metal film resistors for RG.
For deeper architectural insights, the Analog Devices MT-061 Tutorial provides an excellent breakdown of the internal node voltage limitations, and the TI INA128 Datasheet remains the gold standard reference for calculating exact common-mode voltage limits across varying gain settings. For foundational theory, All About Circuits offers a highly readable breakdown of why the three-op-amp topology dominates precision DC measurement.






