NewAI Part GeneratorFree to get started
FREE TOOL

Instrumentation amplifier gain calculator

For the AD620, INA128, INA333, AD8421 and other in-amps, this instrumentation amplifier gain calculator finds the gain-set resistor RG for the gain you want, rounded to E24, E96 or E192 values, or the gain a resistor gives. Add the differential input, VREF and supplies to check the output against the part’s datasheet output swing.

Solve for
Examples
V/V
Round RG to
V

Optional: gives the output voltage.

V

The output sits here at zero input.

V

Optional, with V−: checks the output swing.

V

0 for a single supply.

Gain-set resistor RG

499 Ω

exact value

Nearest E96 RG
499 Ω
Gain with 499 Ω
99.998 V/V 0.00%
Gain spread from a 1% RG
±0.99% add the datasheet gain error
Gain in dB
40 dB
Datasheet output swing
V− + 1.2 V to V+ − 1.4 V VS = ±5 V to ±18 V, RL = 10 kΩ

Not modeled: the input common-mode range. The internal amplifiers of an in-amp clip before the output does when the common-mode voltage, gain and VREF combine badly; check the datasheet’s input voltage range plots.

AD620 gain against RG
110100100010000101001k10k100kRG (Ω)Gain (V/V)RG 499 Ω

E96 resistors near 499 Ω

RGGainError
464 Ω107.47+7.47%
475 Ω105+5.00%
487 Ω102.44+2.44%
499 Ω99.9980.00%
511 Ω97.673-2.33%
523 Ω95.455-4.54%
536 Ω93.164-6.84%

How do you calculate the gain resistor of an instrumentation amplifier?

Most in-amps set their gain with G = 1 + K ÷ RG, so RG = K ÷ (G − 1), where K comes from the datasheet: 49.4 kΩ for the AD620, 50 kΩ for the INA128, 100 kΩ for the INA333 and 9.9 kΩ for the AD8421. For an AD620 at G = 100, RG = 49.4 kΩ ÷ 99 = 499 Ω, and the 1% resistor 499 Ω gives G = 99.998.

Instrumentation amplifier gain formula

A three-op-amp in-amp amplifies the difference between its inputs in a first stage whose gain is set by one resistor, RG, then removes the common-mode voltage in a unity-gain difference stage referred to the REF pin. The instrumentation amplifier gain equation has one datasheet constant, K.

G = 1 + K ÷ RG     RG = K ÷ (G − 1)
G
differential gain, V/V
K
gain constant from the datasheet (49.4 kΩ, 50 kΩ, 100 kΩ, 9.9 kΩ…)
RG
external gain-set resistor between the RG pins

The output is referred to the REF pin:

Vout = G × (V+in − V−in) + VREF

A tolerance on RG reaches the gain scaled by (G − 1) ÷ G, so at high gain it passes through almost one for one:

ΔG ÷ G = −(G − 1) ÷ G × ΔRG ÷ RG

Worked examples: AD620, INA333, AD8421 and INA128

Example 1: AD620 at a gain of 100

RG = 49.4 kΩ ÷ (100 − 1) = 499 Ω. The E96 value 499 Ω gives G = 1 + 49.4 kΩ ÷ 499 Ω = 99.998, matching the 499 Ω entry in the AD620 datasheet’s gain resistor table. A 1% RG adds ±0.99% to the gain error.

Example 2: a 2 mV/V load cell on 3.3 V with an INA333

Full scale is 2 mV/V × 3.3 V = 6.6 mV. With VREF at 1.65 V and the INA333 output reaching 3.25 V (50 mV from the rail), the gain can be at most (3.25 V − 1.65 V) ÷ 6.6 mV = 242.4. Choose G = 200: RG = 100 kΩ ÷ 199 = 502.5 Ω, the E96 value 499 Ω gives G = 201.4, and full scale reads 2.979 V.

Example 3: G = 10 on an AD8421 and an INA128

The AD8421’s small gain constant gives RG = 9.9 kΩ ÷ 9 = 1.1 kΩ, which is itself an E96 value, so G is exactly 10. The INA128 needs 50 kΩ ÷ 9 = 5.556 kΩ; the nearest E96 value, 5.62 kΩ, gives G = 9.8968. When that matters, two resistors in series get closer: 5.49 kΩ + 68.1 Ω = 5.558 kΩ gives G = 9.9959.

Gain equations of common in-amps: AD620, INA128 and more

From each manufacturer’s datasheet. The output swing is the datasheet limit at the stated supply and load; it changes with both. The calculator warns when your supplies fall outside the operating range.

PartGain equationGain rangeOperating supplyOutput swing from each railDatasheet
AD620G = 1 + 49.4 kΩ / RG1 to 10,000±2.3 V to ±18 V1.2 V low, 1.4 V high (VS = ±5 V to ±18 V, RL = 10 kΩ)Rev. H
AD623G = 1 + 100 kΩ / RG1 to 1,0002.7 V to 12 V single, ±2.5 V to ±6 V dual0.2 V low, 0.5 V high (+5 V or ±5 V supply, RL = 10 kΩ)Rev. G
AD8221G = 1 + 49.4 kΩ / RG1 to 1,000±2.3 V to ±18 V1.2 V low, 1.4 V high (VS = ±5 V to ±18 V, RL = 10 kΩ)Rev. C
AD8226G = 1 + 49.4 kΩ / RG1 to 1,0002.2 V to 36 V single, ±1.35 V to ±18 V dual0.2 V low, 0.2 V high (±15 V, RL = 10 kΩ to ground, 25 °C)Rev. D
AD8421G = 1 + 9.9 kΩ / RG1 to 10,0005 V to 36 V single, ±2.5 V to ±18 V dual1.2 V low, 1.6 V high (VS = ±2.5 V to ±18 V, RL = 2 kΩ)Rev. A
INA128G = 1 + 50 kΩ / RG1 to 10,0004.5 V to 36 V single, ±2.25 V to ±18 V dual1.4 V low, 1.4 V high (±15 V, RL = 10 kΩ; parts from the FRE fab site reach 0.15 V)SBOS051G
INA129G = 1 + 49.4 kΩ / RG1 to 10,0004.5 V to 36 V single, ±2.25 V to ±18 V dual1.4 V low, 1.4 V high (±15 V, RL = 10 kΩ; parts from the FRE fab site reach 0.15 V)SBOS051G
INA333G = 1 + 100 kΩ / RG1 to 1,0001.8 V to 5.5 V0.05 V low, 0.05 V high (VS = 5.5 V, RL = 10 kΩ)SBOS445C
INA826G = 1 + 49.4 kΩ / RG1 to 1,0003 V to 36 V single, ±1.5 V to ±18 V dual0.1 V low, 0.15 V high (±15 V, RL = 10 kΩ)SBOS562G
INA828G = 1 + 50 kΩ / RG1 to 1,0004.5 V to 36 V single, ±2.25 V to ±18 V dual0.15 V low, 0.15 V high (±15 V, RL = 10 kΩ)SBOS792A

RG table for common in-amp gains (E96)

The nearest 1% resistor and, in brackets, the gain it gives. K = 49.4 kΩ: AD620, AD8221, AD8226, INA129, INA826. K = 50 kΩ: INA128, INA828. K = 100 kΩ: INA333, AD623. K = 9.9 kΩ: AD8421.

GainK = 49.4 kΩK = 50 kΩK = 100 kΩK = 9.9 kΩ
249.9 kΩ (1.99)49.9 kΩ (2.002)100 kΩ (2)10 kΩ (1.99)
512.4 kΩ (4.984)12.4 kΩ (5.032)24.9 kΩ (5.016)2.49 kΩ (4.976)
105.49 kΩ (9.998)5.62 kΩ (9.897)11 kΩ (10.09)1.1 kΩ (10)
202.61 kΩ (19.93)2.61 kΩ (20.16)5.23 kΩ (20.12)523 Ω (19.93)
501 kΩ (50.4)1.02 kΩ (50.02)2.05 kΩ (49.78)200 Ω (50.5)
100499 Ω (100)511 Ω (98.85)1.02 kΩ (99.04)100 Ω (100)
200249 Ω (199.4)249 Ω (201.8)499 Ω (201.4)49.9 Ω (199.4)
500100 Ω (495)100 Ω (501)200 Ω (501)20 Ω (496)
100049.9 Ω (991)49.9 Ω (1003)100 Ω (1001)10 Ω (991)

Getting the gain you calculated

The datasheet gain error is specified without RG, so the resistor’s tolerance and temperature coefficient add to it: the AD620 datasheet recommends an RG with a TC under 10 ppm/°C for the best drift. At high gain RG is small (49.9 Ω for G ≈ 991 on an AD620), and trace or socket resistance in series with it lowers the gain, so place it right at the pins. Drive REF from a low impedance: any resistance there unbalances the internal difference stage and costs CMR. Finally, an in-amp can saturate inside even when the output looks in range: the input common-mode range shrinks as gain rises and depends on VREF, which matters most on single supplies. This instrumentation amplifier calculator checks the output swing, not the internal nodes, so confirm the operating point against the datasheet’s input voltage range plots or simulate it.

Glossary

Gain-set resistor (RG)
The one external resistor between the RG pins that sets the gain.
Gain constant (K)
The resistance in G = 1 + K / RG: the sum of the two laser-trimmed feedback resistors in the input stage (2 × 24.7 kΩ in the AD620).
REF pin
The output is referred to this pin: it sits at VREF when the differential input is zero.
Common-mode rejection (CMR)
How much a voltage common to both inputs is suppressed, in dB. In-amps typically reach 70 dB to over 100 dB, more at higher gain.
Output swing
How close the output can get to each supply rail at a given load, from the datasheet.
Input common-mode range
The input voltages the internal amplifiers can handle; it shrinks with gain and depends on VREF.

Related guides

Frequently asked questions

What is the AD620 gain formula?

G = 1 + 49.4 kΩ / RG, so RG = 49.4 kΩ / (G − 1). For a gain of 100 that is 499 Ω; the 1% value 499 Ω gives G = 99.998. With RG left open the gain is 1.

How do I use this as an AD620 gain calculator?

Pick the AD620 in the part list, which loads the AD620 gain equation (K = 49.4 kΩ), then enter a target gain to get RG or a resistor to get the gain. RG rounds to E24, E96 or E192, and the output is checked against the AD620’s datasheet swing when you add the input and supplies.

What resistor sets a gain of 100 on an INA128?

RG = 50 kΩ / 99 = 505.1 Ω. The nearest E96 value is 511 Ω, which gives G = 98.847. The INA129 uses 49.4 kΩ instead, so 499 Ω gives it G = 99.998.

What is the gain of an instrumentation amplifier with no gain resistor?

With the RG pins left open the gain is 1 for every part on this page, because K / RG goes to zero.

Can an instrumentation amplifier have a gain less than 1?

Not the parts on this page: G = 1 + K / RG is always above 1 with a resistor fitted, and equals 1 with the RG pins open.

How does an instrumentation amplifier work?

A three-op-amp in-amp has two stages. The first amplifies the difference between its inputs, with the gain set by one resistor, RG; a unity-gain difference stage referred to the REF pin then removes the common-mode voltage, so Vout = G × (V+in − V−in) + VREF.

Why use an instrumentation amplifier instead of an op amp difference amplifier?

A four-resistor difference amplifier’s common-mode rejection depends on how well your external resistors match, and its two inputs load the source unequally (R1 on one, R3 + R4 on the other). An in-amp has trimmed internal resistors, a single gain resistor that does not affect CMR, and balanced input impedances, typically 1 GΩ or more.

How accurate is the gain?

Add the datasheet gain error (which excludes RG) to the RG tolerance times (G − 1) / G. For an AD620B at G = 100, 0.15% maximum plus 0.99% from a 1% RG is about 1.1% worst case at 25 °C. Use a 0.1% RG, or calibrate, for better.

What does the REF pin do?

The output is G × (V+in − V−in) + VREF, so REF sets the output level for zero input: mid-supply on a single supply, ground on split supplies. Drive it from a low impedance such as an op amp buffer; on the INA128, 8 Ω in series with REF degrades a typical part to about 80 dB CMR at G = 1.

Why does my in-amp output saturate with a small input?

Either the output has hit its swing limit (enter the supplies to check), or the input common-mode voltage is outside what the internal amplifiers allow at that gain and VREF. The second one is common on single supplies with VREF near a rail; the datasheet’s input voltage range plots show the allowed region.

More free PCB tools

See all free electronics tools →

Sources

Design the whole board, not one number

ProtoFlow is free AI PCB design software: describe a circuit and get a schematic with real parts, PCB layout with an autorouter, SPICE simulation and Gerber files. Native KiCad, Altium and EAGLE import and export. Free on macOS, Windows and Linux.

Get for Mac

Free to start. No card required.