---
title: Offsets, bias currents and noise
heading: The small errors that set an amplifier's floor
eyebrow: C6 · Lesson 37 · Offsets and noise
xp: 40
---

::: hook
Ground the input of a gain-of-100 amplifier and its output still sits a few hundred millivolts off zero, and hisses. The first is **offset**: the input transistors never match perfectly, so the op amp behaves as if a small voltage were in series with its input, and its inputs draw small bias currents through whatever resistors surround them. The second is **noise**: random motion of charge in every transistor and resistor. Both are tiny at the input and both are multiplied by the circuit's gain, so they set the smallest signal an amplifier can handle. This lesson shows how to estimate them and how to keep them down.
:::

::: play
- The noise of an amplifier and its source, against the source's resistance (all as input-referred densities, nV/√Hz).
- At low source resistance the op amp's own voltage noise $e_n$ dominates; at high resistance its current noise $i_n$, flowing through the source, takes over. In between, the source's own thermal noise is all you can hope for.
- Change $e_n$ and $i_n$: the quietest source resistance for this op amp is where the two meet, $e_n/i_n$.
:::
:::

```sim plot
view: graph
x: Rs = 10..10M Ω log
y: e = 0.1..10000 log
slider: en = 1..50 = 10 log
slider: inn = 0.001..10 = 1 log
plot: en + 0*Rs | label: op amp voltage noise, nV/√Hz | dashed | color: ch2
plot: inn*1e-12*Rs*1e9 | label: current noise in the source | dashed | color: ch3
plot: sqrt(4*1.381e-23*300*Rs)*1e9 | label: source thermal noise
plot: sqrt(en^2 + (inn*1e-3*Rs)^2 + 4*1.381e-23*300*Rs*1e18) | label: total
readout: best source resistance, kΩ = en/inn | digits: 3
```

::: predict
## A gain-of-101 non-inverting amplifier uses an op amp with a 1 mV input offset voltage. With its input grounded, what does the output read?

- [ ] 1 mV
- [ ] 10 mV
- [x] About 101 mV
- [ ] 0: feedback removes it

::: reveal
About 101 mV. The offset acts like a 1 mV source in series with the non-inverting input, and the circuit amplifies it by its noise gain, $1 + R_f/R_g$, exactly as it would a signal. Feedback reduces errors that arise inside the loop's gain, but an input offset is indistinguishable from the input.
:::
:::

::: nameit
## Offset voltage

The input offset $V_{OS}$ (microvolts for precision op amps, millivolts for general ones) appears at the output multiplied by the **noise gain** $1 + R_f/R_g$, for inverting and non-inverting circuits alike. It drifts with temperature, typically 1 to 10 µV/°C.

## Bias and offset currents

Each input draws a bias current $I_B$ (picoamps for MOSFET inputs, nanoamps for bipolar). Flowing through $R_f$ it gives an output error of $I_BR_f$. Putting a resistor $R_p = R_f \parallel R_g$ in series with the non-inverting input makes both inputs see the same resistance, so the two errors cancel except for the difference between the bias currents, the **offset current** $I_{OS}$: the error becomes $I_{OS}R_f$.

## Noise

Noise is described by densities, in V/√Hz or A/√Hz; uncorrelated sources add as root-sum-squares, and an RMS noise is the density times the square root of the noise bandwidth (C4 lesson 21).

- **Resistor (thermal) noise:** $e_R = \sqrt{4kTR}$: 4 nV/√Hz for 1 kΩ at room temperature.
- **Op amp voltage noise** $e_n$ (1 to 50 nV/√Hz), referred to the input.
- **Op amp current noise** $i_n$, which flows through the source resistance: $i_nR_s$.

$$e_\text{total} = \sqrt{e_n^2 + (i_nR_s)^2 + 4kTR_s}$$

and the output noise is the noise gain times $e_\text{total}\sqrt{B_n}$. Below a **1/f corner** of a few hertz to kilohertz the densities rise further.

**Noise figure** compares the total with the source's own noise: $NF = 10\log_{10}\frac{e_\text{total}^2}{4kTR_s}$. It's lowest near $R_s = e_n/i_n$: bipolar op amps suit low source resistances, MOSFET ones high.
:::

::: example
## A non-inverting amplifier has $R_f$ = 100 kΩ and $R_g$ = 1 kΩ, and its op amp has $V_{OS}$ = 1 mV, $I_B$ = 100 nA and $I_{OS}$ = 10 nA. Find the output errors, and what a compensating resistor does.

::: solution
1. **Offset voltage.** It sees the full noise gain:
   $$1\ \text{mV} \times 101 = 101\ \text{mV}$$
2. **Bias current.** It flows through $R_f$:
   $$100\ \text{nA} \times 100\ \text{k}\Omega = 10\ \text{mV}$$
3. **Compensating resistor.** With $R_p = 100\ \text{k} \parallel 1\ \text{k}$ = 990 Ω in the non-inverting input, the bias error falls to
   $$I_{OS}R_f = 1\ \text{mV}$$
4. **What's left.** The offset voltage dominates; a trim or a precision op amp would be next.

**Answer:** the offset voltage gives 101 mV at the output and the bias current 10 mV; a 990 Ω compensating resistor cuts the bias error to 1 mV.
:::
:::

::: example
## An op amp with $e_n$ = 10 nV/√Hz and $i_n$ = 1 pA/√Hz amplifies a 10 kΩ source over 20 kHz. Find the input-referred noise and the noise figure.

::: solution
1. **Source noise.** The source's thermal noise is
   $$\sqrt{4kT \times 10^4} = 12.9\ \text{nV}/\sqrt{\text{Hz}}$$
   and the current noise across it is $i_nR_s$ = 10 nV/√Hz.
2. **Total input-referred density.**
   $$\begin{aligned} e_\text{total} &= \sqrt{100 + 100 + 166} \\ &= 19.1\ \text{nV}/\sqrt{\text{Hz}} \end{aligned}$$
3. **Over 20 kHz.**
   $$19.1 \times \sqrt{20{,}000} = 2.7\ \mu\text{V RMS}$$
4. **Noise figure.**
   $$\begin{aligned} NF &= 10\log_{10}\frac{366}{166} \\ &= 3.4\ \text{dB} \end{aligned}$$

**Answer:** the input-referred noise is 19.1 nV/√Hz, 2.7 µV RMS over 20 kHz, and the noise figure is 3.4 dB.
:::
:::

::: example
## A non-inverting amplifier with $R_g$ = 100 Ω and $R_f$ = 10 kΩ uses an op amp with $e_n$ = 5 nV/√Hz (ignore $i_n$). What noise does it put out over 20 kHz at 300 K?

::: solution
1. **Resistor noise.** Referred to the input, it's that of $R_g \parallel R_f$ = 99 Ω:
   $$\sqrt{4kT \times 99} = 1.28\ \text{nV}/\sqrt{\text{Hz}}$$
2. **Total at the input.** Add it to the op amp's in quadrature:
   $$\begin{aligned} e_\text{in} &= \sqrt{5^2 + 1.28^2} \\ &= 5.16\ \text{nV}/\sqrt{\text{Hz}} \end{aligned}$$
3. **At the output.** The noise gain of 101 makes 521 nV/√Hz, or over 20 kHz,
   $$521 \times \sqrt{20{,}000} = 73.7\ \mu\text{V RMS}$$
4. **Why low-value resistors.** They keep their noise below the op amp's; with $R_g$ = 10 kΩ and $R_f$ = 1 MΩ, they'd add 12.8 nV/√Hz and dominate.

**Answer:** it puts out 521 nV/√Hz, or 73.7 µV RMS over 20 kHz.
:::
:::

::: check
given: Vos = 0.05 | 1 | 5; Rf = 9 | 99
answer: Vos*(1 + Rf)
unit: mV
tolerance: 0.5%

## An op amp with a {Vos} mV offset is in an inverting amplifier with $R_f$ = {Rf} kΩ and $R_g$ = 1 kΩ, its input grounded. What output offset results?

::: right
Right. $V_{OS}(1 + R_f/R_g)$ = {answer}: the noise gain, even though the signal gain is $-R_f/R_g$.
:::

::: misses
- [Vos*Rf] Offsets see the noise gain, $1 + R_f/R_g$, not the signal gain.
- [any] Not yet. Multiply by the noise gain.
:::
:::

::: check
given: IB = 0.01 | 50 | 500; Rf = 10 | 1000
answer: IB*Rf/1000
unit: mV
tolerance: 0.5%

## An op amp's bias current is {IB} nA, and $R_f$ = {Rf} kΩ with no compensation. What output error does it cause?

::: right
Right. $I_BR_f$ = {answer}.
:::

::: misses
- [any] Not yet. The bias current flows through $R_f$.
:::
:::

::: check
given: Rf = 10 | 100 | 470; Rg = 1 | 10
answer: Rf*Rg/(Rf + Rg)
unit: kΩ
tolerance: 0.5%

## What compensating resistor should sit in the non-inverting input of an amplifier with $R_f$ = {Rf} kΩ and $R_g$ = {Rg} kΩ?

::: right
Right. $R_f \parallel R_g$ = {answer}.
:::

::: misses
- [Rf + Rg] The inverting input sees $R_f$ and $R_g$ in parallel.
- [any] Not yet. Match the resistance the inverting input sees.
:::
:::

::: check
given: R = 0.05 | 1 | 100; T = 77 | 300
answer: sqrt(4*1.381e-23*T*R*1000)*1e9
unit: nV/√Hz
tolerance: 0.5%

## What is the thermal noise density of {R} kΩ at {T} K?

::: right
Right. $\sqrt{4kTR}$ = {answer}.
:::

::: misses
- [any] Not yet. $\sqrt{4kTR}$.
:::
:::

::: check
given: en = 1 | 10; inn = 0.1 | 2; Rs = 0.5 | 20
answer: sqrt(en^2 + (inn*Rs)^2 + 4*1.381e-23*300*Rs*1000*1e18)
unit: nV/√Hz
tolerance: 0.5%

## An op amp ($e_n$ = {en} nV/√Hz, $i_n$ = {inn} pA/√Hz) amplifies a {Rs} kΩ source at 300 K. What is the total input-referred noise density?

::: right
Right. $\sqrt{e_n^2 + (i_nR_s)^2 + 4kTR_s}$ = {answer}.
:::

::: misses
- [en + inn*Rs + sqrt(4*1.381e-23*300*Rs*1000)*1e9] Uncorrelated noise adds as root-sum-squares, not directly.
- [any] Not yet. Add the three as squares.
:::
:::

::: check
given: e = 5 | 50; fc = 1 | 20; G = 10 | 100
answer: G*e*sqrt(pi/2*fc*1000)/1000
unit: µV
tolerance: 0.5%

## An amplifier of noise gain {G} with {e} nV/√Hz at its input is followed by a single-pole filter with a {fc} kHz corner. What RMS noise appears at the output?

::: right
Right. $G e\sqrt{\frac{\pi}{2}f_c}$ = {answer}.
:::

::: misses
- [G*e*sqrt(fc*1000)/1000] A single pole's noise bandwidth is $\frac{\pi}{2}f_c$.
- [any] Not yet. Density times $\sqrt{B_n}$, times the gain.
:::
:::

::: check
given: en = 1 | 20; inn = 0.01 | 3
answer: en/inn
unit: kΩ
tolerance: 0.5%

## For an op amp with $e_n$ = {en} nV/√Hz and $i_n$ = {inn} pA/√Hz, what source resistance gives the lowest noise figure?

::: right
Right. $e_n/i_n$ = {answer}.
:::

::: misses
- [any] Not yet. Where the voltage and current noise contributions are equal.
:::
:::

::: check
kind: parts
given: en = 1 | 4 | 10; Rg = 0.1 | 1 | 10; G = 10 | 100; B = 10 | 100

## A non-inverting amplifier with $R_g$ = {Rg} kΩ and $R_f$ = ({G} − 1) × $R_g$ uses an op amp with $e_n$ = {en} nV/√Hz, at 300 K.

::: part
answer: sqrt(en^2 + 4*1.380649e-23*300*(Rg*1000*(G - 1)/G)*1e18)
unit: nV/√Hz
tolerance: 0.5%

### What's its input-referred noise density, op amp and resistors together?

::: misses
- [any] $\sqrt{e_n^2 + 4kT(R_g \parallel R_f)}$.
:::
:::

::: part
answer: G*sqrt(en^2 + 4*1.380649e-23*300*(Rg*1000*(G - 1)/G)*1e18)*sqrt(B*1000)/1000
unit: µV
tolerance: 0.5%

### What RMS noise does it put out over {B} kHz?

::: misses
- [any] Noise gain × density × $\sqrt{B}$.
:::
:::
:::

::: check
kind: derivation
vars: G = 1..10000, V = 0.000001..0.01, I = 0.000000001..0.000001, R = 10..1000000

## A non-inverting amplifier with noise gain G uses an op amp with offset V and bias current I, with feedback resistor R and no bias compensation.

::: step
answer: G*V

### What output error does the offset cause?
:::

::: step
answer: I*R

### What output error does the bias current cause?
:::

::: right
Right. The offset is multiplied by the noise gain; the bias current by the feedback resistor.
:::
:::

::: explain
## Why does an op amp's input offset get multiplied by the noise gain even in an inverting amplifier?

::: model
An offset voltage behaves like a small source in series with the op amp's non-inverting input. In an inverting amplifier that input is grounded, so the offset is effectively a signal applied to the non-inverting input, and to a signal there the circuit is a non-inverting amplifier with gain $1 + R_f/R_g$. The signal you care about enters through $R_g$ and sees $-R_f/R_g$, but the offset doesn't take that path. That's why the gain applied to offsets and noise is called the noise gain, and why it's always at least 1.
:::
:::

::: practice

::: check
given: e1 = 3 | 10; e2 = 4 | 20
answer: sqrt(e1^2 + e2^2)
unit: nV/√Hz
tolerance: 0.5%

## Two uncorrelated noise sources of {e1} and {e2} nV/√Hz add to what?

::: misses
- [any] Root-sum-squares.
:::
:::

::: check
given: e = 4 | 40; B = 1 | 100
answer: e*sqrt(B*1000)/1000
unit: µV
tolerance: 0.5%

## What RMS noise does {e} nV/√Hz give over a {B} kHz noise bandwidth?

::: misses
- [any] Density times $\sqrt{B}$.
:::
:::

::: check
given: drift = 1 | 10; dT = 20 | 60; G = 10 | 100
answer: drift*dT*G/1000
unit: mV
tolerance: 0.5%

## An offset drifts {drift} µV/°C. How much does the output of a noise-gain-{G} circuit move over {dT} °C?

::: misses
- [any] Drift times temperature change times gain.
:::
:::
:::
