the input bias current
The op-amp golden rule says no current flows into the inputs, but a real op-amp is not quite that polite — each input sips a tiny trickle of current to keep its internal transistors alive. The input bias current is that small unavoidable current that the inputs draw. It is usually invisible, but the moment that current has to flow through a resistor, it creates a voltage drop, and that drop is an error.
Ib is the average DC current flowing into (or out of) each input. Its size depends on the input technology: op-amps with bipolar (BJT) inputs draw tens of nanoamps to microamps; op-amps with FET or CMOS inputs draw picoamps — thousands of times less. The error appears when this current flows through your source and feedback resistances. Example: Ib of 100 nA flowing through a 1 MΩ source resistance produces 100 nA times 1 MΩ = 100 mV of error. A classic fix is to put a matching resistor in the other input so that the equal bias currents create equal drops that cancel.
Why this matters: bias current dominates the error budget whenever the source impedance is high — photodiodes, pH probes, charge amplifiers, high-value feedback resistors. For those, you reach for a FET-input op-amp with picoamp bias current. An honest warning: FET-input bias current is tiny at room temperature but roughly doubles every 10 degrees C, so a part that looks superb on the bench can drift badly in a hot enclosure.
Reading a photodiode through a 1 MΩ transimpedance resistor with a bipolar op-amp (Ib = 200 nA) adds 200 mV of dark error. Switch to a FET-input op-amp (Ib = 2 pA) and that error drops to 2 microvolts — a hundred-thousand-fold improvement.
High source impedance + bias current = voltage error; FET inputs almost erase it.
The matching-resistor trick cancels the AVERAGE bias current, but the two inputs are never identical — what is left over is the input offset current, which sets the real floor.