Match E24 / E96 resistor dividers to MCU ADC source impedance and resolution
Scaling a 12 V, 24 V or 48 V bus down to a 3.3 V microcontroller ADC pin requires more than matching a voltage ratio. SAR ADCs charge an internal sampling capacitor through the divider’s Thevenin equivalent resistance R_th = R1 ∥ R2; if R_th exceeds the MCU’s maximum source impedance (commonly 10 kΩ), conversion accuracy degrades.
This tool searches standard E24 and E96 resistor decades to find the closest real-world pair that respects your maximum R_th, accounts for ADC pin leakage loading, computes worst-case resistor tolerance error, and reports exact mV/LSB sensitivity referred back to the input voltage.
Formulas
V_out = V_in × (R2 ∥ R_load) ÷ [R1 + (R2 ∥ R_load)]R_th = (R1 × R2_eff) ÷ (R1 + R2_eff)Input Resolution (mV/LSB) = (V_ref × 1,000) ÷ (2^bits × Ratio_actual)
Worked example
Scaling 24 V to a 3.0 V target on a 3.3 V 12-bit ADC with R_th ≤ 10 kΩ selects E24 standard values R1 = 68 kΩ and R2 = 10 kΩ (R_th = 8.71 kΩ), yielding 3.077 V (or E96 69.8 kΩ / 10 kΩ for 3.005 V, +0.16% error) with ~6.4 mV/LSB input resolution.