Pull-Up Resistor Calculator

Enter supply voltage, max sink current, and the logic threshold to get a valid pull resistor range plus a recommended value.

Circuit Parameters

Max current the driving device (GPIO, open-drain output, switch) can safely sink or source.

Sum leakage current across all inputs sharing this line.

Used to compute a single recommended resistor value.

Results

Minimum R
--
Recommended R
--
Maximum R
--
Power at Recommended R (worst case) --

Standard Preset Values

Green = inside the valid range. The value closest to the recommended R is marked Best.

Summary

Enter supply voltage, max sink current, and the logic threshold to get a valid pull resistor range plus a recommended value.

How it works

  1. Choose pull-up (resistor to supply) or pull-down (resistor to ground).
  2. Enter the supply voltage and the max current the driving device can sink or source.
  3. Enter the logic threshold voltage (or pick a TTL/CMOS preset) and the expected input leakage current.
  4. Optionally enter a target current to get a single recommended resistor value.
  5. Read the valid resistor range and check which standard preset values fall inside it.

Use cases

  • Size a pull-up for an open-drain output like I2C SDA/SCL.
  • Choose a pull-up for a button or switch wired to a microcontroller GPIO pin.
  • Pick a pull-down so an unconnected input reads a defined logic low at power-up.
  • Check whether a common 4.7k or 10k resistor is actually valid for a given supply and current budget.
  • Estimate resistor power dissipation before committing to a value in a design.
  • Verify a pull resistor design still meets the logic threshold with multiple fan-out inputs (higher leakage).

Frequently Asked Questions

Last updated: 2026-07-24 · Reviewed by Nham Vu