I²C Pull-up Resistor Calculator
R_max = t_rise / (0.8473 × C_bus)
Quick answer: This calculator solves R_max = t_rise / (0.8473 × C_bus) for Pull-up Resistance. With Rise Time 10 ns, Bus Capacitance 100 pF, the result is 118 Ω. It solves in 3 directions, so you can enter the values you have and get the one you need.
Calculator
Loading calculator…
Formula
R_max = t_rise / (0.8473 × C_bus)
Description
I²C uses open-drain outputs with external pull-up resistors to drive the SDA and SCL lines high. The rise time depends on the RC time constant formed by the pull-up resistor and the total bus capacitance, which includes pin capacitance of all connected devices, trace capacitance, and any protection circuitry. The 0.8473 factor comes from the RC charging equation solved for the time to reach the 0.7×Vdd logic high threshold from 0.3×Vdd. Too large a resistor gives slow rise times that violate the I²C specification, while too small a resistor exceeds the sink current capability of the open-drain outputs.
Variables
| Symbol | Meaning |
|---|---|
| R | Maximum pull-up resistance (Ω) |
| t_rise | Maximum allowed rise time (s) |
| C_bus | Total bus capacitance (F) |
Practical Notes
I²C standard mode allows 1000 ns rise time with 400 pF max bus capacitance, yielding ~2.95 kΩ max pull-up. Fast mode (400 kHz) allows 300 ns, yielding ~880Ω. A typical starting point is 4.7 kΩ for standard mode and 2.2 kΩ for fast mode. The minimum pull-up resistance is limited by the 3 mA sink current specification.
Symbols and units
| Symbol | Default unit | Accepted units |
|---|---|---|
| Pull-up Resistance | Ω | mΩ, Ω, kΩ, MΩ |
| Rise Time | ns | ps, ns, µs, ms, s, min, h |
| Bus Capacitance | pF | pF, nF, µF, mF, F |
Worked examples
| Given | Result | |
|---|---|---|
| Minimum range | Rise Time 100 ps, Bus Capacitance 1 pF | Pull-up Resistance = 118 Ω |
| Low range | Rise Time 1 ns, Bus Capacitance 10 pF | Pull-up Resistance = 118 Ω |
| Typical | Rise Time 10 ns, Bus Capacitance 100 pF | Pull-up Resistance = 118 Ω |
| High range | Rise Time 100 ns, Bus Capacitance 1 nF | Pull-up Resistance = 118 Ω |
| Maximum range | Rise Time 1 µs, Bus Capacitance 10 nF | Pull-up Resistance = 118 Ω |
Solving for each variable
| Solve for | Given | Result |
|---|---|---|
| Pull-up Resistance | Rise Time 100 ps, Bus Capacitance 1 pF | 118 Ω |
| Rise Time | Pull-up Resistance 1 Ω, Bus Capacitance 1 pF | 0.8473 ps |
| Bus Capacitance | Pull-up Resistance 1 Ω, Rise Time 100 ps | 118 pF |
How Pull-up Resistance changes with Rise Time
| Rise Time (input) | Pull-up Resistance (result) |
|---|---|
| 1 ns | 11.8 Ω |
| 2.5 ns | 29.51 Ω |
| 5 ns | 59.01 Ω |
| 7.5 ns | 88.52 Ω |
| 10 ns | 118 Ω |
| 15 ns | 0.177 kΩ |
| 20 ns | 0.236 kΩ |
| 40 ns | 0.4721 kΩ |
| 70 ns | 0.8262 kΩ |
| 100 ns | 1.18 kΩ |
The same result in other units
| Unit | Value |
|---|---|
| mΩ | 118000 |
| Ω | 118 |
| kΩ | 0.118 |
| MΩ | 0.000118 |
Nearest standard component values
| Series | Nearest value | Error |
|---|---|---|
| E12 | 120 Ω | 1.7 |
| E24 | 120 Ω | 1.7 |
Embed this calculator
Paste this into any page. It keeps working when this page updates, and credits the source.
Frequently asked questions
How do you calculate I²C Pull-up Resistor?
Use R_max = t_rise / (0.8473 × C_bus). With Rise Time 10 ns, Bus Capacitance 100 pF, Pull-up Resistance works out to 118 Ω.
What is the formula for I²C Pull-up Resistor?
The formula is R_max = t_rise / (0.8473 × C_bus). I²C uses open-drain outputs with external pull-up resistors to drive the SDA and SCL lines high.
How do you find Rise Time when you know the other values?
Rearrange for Rise Time: with Pull-up Resistance 1 Ω, Bus Capacitance 1 pF, Rise Time is 0.8473 ps.
How do you find Bus Capacitance when you know the other values?
Rearrange for Bus Capacitance: with Pull-up Resistance 1 Ω, Rise Time 100 ps, Bus Capacitance is 118 pF.
What units does I²C Pull-up Resistor use?
Pull-up Resistance is shown in mΩ, Ω, kΩ, MΩ. Values are held in SI base units internally, so you can mix prefixes without converting by hand.
What does R mean in the I²C Pull-up Resistor formula?
R is Maximum pull-up resistance (Ω).
What should I watch out for when using I²C Pull-up Resistor?
I²C standard mode allows 1000 ns rise time with 400 pF max bus capacitance, yielding ~2.95 kΩ max pull-up. Fast mode (400 kHz) allows 300 ns, yielding ~880Ω. A typical starting point is 4.7 kΩ for standard mode and 2.2 kΩ for fast mode. The minimum pull-up resistance is limited by the 3 mA sink current specification.