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

SymbolMeaning
RMaximum pull-up resistance (Ω)
t_riseMaximum allowed rise time (s)
C_busTotal 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

SymbolDefault unitAccepted units
Pull-up ResistanceΩmΩ, Ω, kΩ, MΩ
Rise Timensps, ns, µs, ms, s, min, h
Bus CapacitancepFpF, nF, µF, mF, F

Worked examples

GivenResult
Minimum rangeRise Time 100 ps, Bus Capacitance 1 pFPull-up Resistance = 118 Ω
Low rangeRise Time 1 ns, Bus Capacitance 10 pFPull-up Resistance = 118 Ω
TypicalRise Time 10 ns, Bus Capacitance 100 pFPull-up Resistance = 118 Ω
High rangeRise Time 100 ns, Bus Capacitance 1 nFPull-up Resistance = 118 Ω
Maximum rangeRise Time 1 µs, Bus Capacitance 10 nFPull-up Resistance = 118 Ω

Solving for each variable

Solve for GivenResult
Pull-up ResistanceRise Time 100 ps, Bus Capacitance 1 pF118 Ω
Rise TimePull-up Resistance 1 Ω, Bus Capacitance 1 pF0.8473 ps
Bus CapacitancePull-up Resistance 1 Ω, Rise Time 100 ps118 pF

How Pull-up Resistance changes with Rise Time

Rise Time (input)Pull-up Resistance (result)
1 ns11.8 Ω
2.5 ns29.51 Ω
5 ns59.01 Ω
7.5 ns88.52 Ω
10 ns118 Ω
15 ns0.177 kΩ
20 ns0.236 kΩ
40 ns0.4721 kΩ
70 ns0.8262 kΩ
100 ns1.18 kΩ

The same result in other units

UnitValue
mΩ118000
Ω118
kΩ0.118
MΩ0.000118

Nearest standard component values

SeriesNearest valueError
E12120 Ω1.7
E24120 Ω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.