Resistor Divider into an ADC: Leakage, Settling and Drain
Large resistors save battery but turn pin leakage and sampling charge into error. Enter the divider and the ADC to see where the limits are.
Take the leakage from the datasheet at your highest temperature. A capacitor across R2 supplies the sampling charge, so the divider only replaces the average.
How it works
The ADC pin sees the divider as a source of R1‖R2. Any current the pin draws, leakage or the average current of the switched sampling capacitor, drops across that resistance as error. A capacitor across R2 keeps each sampling kick small, but it also makes the divider slow to settle when you switch it on to save power. Resistor tolerances add directly to the ratio error.
- Ratio k = R2 / (R1 + R2), R_th = R1 ‖ R2
- Leakage error = I_leak · R_th, at the input ÷ k
- Switched-cap load R_eq = 1 / (fs · Cs), error ≈ R_th / (R_th + R_eq)
- Wake-up settling = (N + 1)·ln 2 · R_th · C
- Ratio error from tolerance ≈ (1 − k)·(tol1 + tol2)
Worked example
12.6 V into a 12-bit, 3.3 V ADC through 300 kΩ over 100 kΩ: R_th = 75 kΩ and 100 nA of leakage gives 7.5 mV, 9.3 LSB. The divider draws 31.5 µA. Two 1% resistors can move the ratio 1.5%, more than the leakage does.
Assumptions
- Leakage is a constant current at the worst-case temperature.
- The sampling capacitor is fully reset each sample (the worst case for the switched-cap load).
- Switch the top of the divider when you power-gate it; a low-side switch lets R1 pull the pin above the supply.
Sources
- Your MCU's ADC chapter: input leakage, sampling capacitance and recommended source impedance.
Tool v1.0 · 21 Nov 2026 · formulas checked by automated tests against independent Python values.
The interview questions behind this tool
BX-02: Divider values for an ADC input · AN-11: NTC front end for a battery pack · BX-03: Resistor technologies and their limits