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.
Use the Pull-Up Resistor Calculator
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
Standard Preset Values
Green = inside the valid range. The value closest to the recommended R is marked Best.
Summary
This calculator finds the resistor range for a pull-up or pull-down on a digital logic input. The lower bound keeps the current draw within the driving device's sink or source rating when the line is actively pulled. The upper bound keeps the released line above (or below) the logic threshold despite input leakage current. It also flags which standard E12 resistor values fall inside that range.
How it works
- Choose pull-up (resistor to supply) or pull-down (resistor to ground).
- Enter the supply voltage and the max current the driving device can sink or source.
- Enter the logic threshold voltage (or pick a TTL/CMOS preset) and the expected input leakage current.
- Optionally enter a target current to get a single recommended resistor value.
- 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).