NewAI Part GeneratorFree to get started
FREE TOOL

I2C pull-up resistor value calculator

Get the smallest and largest I2C pull-up resistor value for your supply, bus capacitance and speed, using the equations in the I2C specification. Check a part you already have, and see the rise time, sink current and how much capacitance it can drive.

Find
Examples
Bus speed
V

The highest value the rail can reach.

F

Pins (up to 10 pF each), traces, connectors and cable.

s

Optional: blank uses the mode maximum (1 µs, 300 ns, 120 ns).

V

Optional: from the part’s data sheet.

A

Optional: from the part’s data sheet.

Resistor series

Allowed pull-up range

967 Ω to 3.54 kΩ

Rp(min), from sink current
966.7 Ω 0.4 V at 3 mA
Rp(max), from rise time
3.541 kΩ 300 ns limit
Suggested E24 value
1.8 kΩ near the middle of the range
Rise time with 1.8 kΩ
153 ns
Sink current with it
1.61 mA guaranteed 3 mA (0.4 V at 3 mA)
Worst-case supply current per line
1.83 mA VDD ÷ Rp, line held at 0 V

Use the highest VDD the rail can reach for Rp(min): the specification’s own example takes 5.5 V for a 5 V ±10 % supply. Every pull-up on the bus adds in parallel, including those on breakout boards.

Allowed pull-up range against bus capacitance
1k2k5k10k20k50k5p10p20p50p100p200p500pBus capacitance (F)Pull-up (Ω)1.8 kΩCb 100 pF
Rp(max) from rise timeRp(min) from sink current

E24 values inside the range

Pull-upRise timeSink currentWorst-case supply current
1 kΩ84.7 ns2.9 mA3.3 mA
1.2 kΩ102 ns2.42 mA2.75 mA
1.5 kΩ127 ns1.93 mA2.2 mA
1.8 kΩ153 ns1.61 mA1.83 mA
2.2 kΩ186 ns1.32 mA1.5 mA
2.7 kΩ229 ns1.07 mA1.22 mA
3.3 kΩ280 ns879 µA1 mA

How to calculate I2C pull-up resistor values

Use Rp(min) = (VDD − VOL) ÷ IOL for the lower limit and Rp(max) = tr ÷ (0.8473 × Cb) for the upper limit. For Fast-mode at 3.3 V with 200 pF, that is 967 Ω to 1.77 kΩ, so a 1.3 kΩ resistor fits. Larger values save power, and smaller ones give faster edges.

I2C pull-up resistor formula: minimum and maximum Rp

SDA and SCL are open-drain, so a resistor has to raise each line. The driver's sink current sets the smallest value, and the bus capacitance and allowed rise time set the largest.

Rp(min) = (VDD − VOL(max)) ÷ IOL
VDD
pull-up supply in V; use its highest value
VOL(max)
highest allowed low level, 0.4 V above a 2 V supply
IOL
sink current guaranteed at VOL(max)
Rp(max) = tr ÷ (0.8473 × Cb)
tr
maximum rise time from 30 % to 70 % of VDD
Cb
total capacitance of one bus line, in F

The constant comes from the RC charging curve. A line reaches 30 % of VDD at 0.3567 RC and 70 % at 1.2040 RC, so the rise between the two thresholds takes 0.8473 RC.

I2C pull-up resistor calculation examples

Example 1: Fast-mode at 3.3 V with 200 pF

Rp(min) = (3.3 − 0.4) ÷ 3 mA = 967 Ω. Rp(max) = 300 ns ÷ (0.8473 × 200 pF) = 1.77 kΩ. A 1.3 kΩ resistor sits near the middle, with a rise time of 220 ns. The two limits match the worked example in TI’s SLVA689.

Example 2: a 5 V ±10 % rail at 400 kHz

Rp(min) has to use the highest supply: (5.5 − 0.4) ÷ 3 mA = 1.7 kΩ. With that resistor, the 300 ns limit allows at most 208 pF, which is why the specification says this limits the bus to about 200 pF. Above that, it suggests a switched pull-up circuit.

Example 3: Fast-mode Plus at 5 V with 400 pF

The 20 mA drivers allow a small Rp(min) = (5 − 0.4) ÷ 20 mA = 230 Ω, and Rp(max) = 120 ns ÷ (0.8473 × 400 pF) = 354 Ω. A 300 Ω resistor fits, but the line can draw up to 16.7 mA from the supply while low.

I2C specification limits by speed mode

From UM10204 Tables 10 and 11, for VDD above 2 V. Fast-mode parts driving a full 400 pF at 400 kHz also need 6 mA at 0.6 V.

ModeSCLtr (max)Cb (max)VOL at IOLRp(min), 3.3 VRp(min), 5 V
Standard-mode100 kHz1 µs400 pF0.4 V at 3 mA967 Ω1.53 kΩ
Fast-mode400 kHz300 ns400 pF0.4 V at 3 mA967 Ω1.53 kΩ
Fast-mode Plus1 MHz120 ns550 pF0.4 V at 20 mA145 Ω230 Ω

Maximum pull-up resistor value versus bus capacitance

Rp(max) = tr / (0.8473 × Cb). A dash means the capacitance is over the limit for that mode.

CbStandard-modeFast-modeFast-mode Plus
10 pF118 kΩ35.4 kΩ14.2 kΩ
20 pF59 kΩ17.7 kΩ7.08 kΩ
50 pF23.6 kΩ7.08 kΩ2.83 kΩ
100 pF11.8 kΩ3.54 kΩ1.42 kΩ
200 pF5.9 kΩ1.77 kΩ708 Ω
400 pF2.95 kΩ885 Ω354 Ω
550 pF––258 Ω

Minimum pull-up resistor value versus supply voltage

Rp(min) from the output levels in Table 10: 3 mA for Standard and Fast, 20 mA for Fast-mode Plus. At 2 V and below, all three use 0.2 × VDD at 2 mA.

VDDStandard, FastFast, 6 mA at 0.6 VFast-mode Plus
1.8 V720 Ω–720 Ω
2.5 V700 Ω317 Ω105 Ω
3 V867 Ω400 Ω130 Ω
3.3 V967 Ω450 Ω145 Ω
5 V1.53 kΩ733 Ω230 Ω
5.5 V1.7 kΩ817 Ω255 Ω

What goes wrong on real buses

Bus capacitance is usually underestimated. Each device pin can be up to 10 pF, and long traces, connectors and cables add more. Every breakout board with its own pull-ups adds another parallel path, which pushes the bus toward or below Rp(min). Rising edges from a plain resistor are exponential, so the model is accurate; if you need more speed than the resistor allows, the specification lists lower clock rates, higher-drive parts, bus buffers and switched pull-ups. At or below 2 V, the specification’s low-level limit becomes 0.2 × VDD at 2 mA, and this calculator uses that. Standard-mode at 2 V or below is not listed in the table, so check the part’s data sheet. Hs-mode and Ultra Fast-mode are outside this calculator: Hs-mode has its own current-source pull-up scheme, and Ultra Fast-mode is push-pull. On a very light Fast-mode bus (under 24.4 pF at 3.3 V), the 20 ns minimum rise time in Table 11 becomes the lower limit, and the I2C pull-up calculator raises its range to match.

Glossary

Pull-up resistor (Rp)
The resistor from SDA or SCL to the supply. Devices only pull the line low; the resistor brings it back high.
Open-drain output
An output that can only sink current, so the line needs a pull-up to go high.
Bus capacitance (Cb)
The total capacitance of one bus line: pins, traces, connectors and cable.
Rise time (tr)
The time for a line to go from 30 % to 70 % of VDD, the VIL and VIH thresholds.
VOL
The highest voltage a device may show at its pin when driving the line low.
IOL
The current a device can sink while meeting VOL.
Fast-mode Plus
A 1 MHz I2C mode with 20 mA drivers.

Related guides

Frequently asked questions

Why does I2C need pull-up resistors?

SDA and SCL are open-drain outputs. Devices can only pull a line low, so a resistor has to bring it back high.

What SDA/SCL pull-up resistor value should I use for I2C?

It depends on the supply, bus capacitance and speed. At 3.3 V and 100 pF, Fast-mode allows 967 Ω to 3.54 kΩ, and 1.8 kΩ sits near the middle. Standard-mode allows 967 Ω to 11.8 kΩ, and 3.3 kΩ is a sensible choice.

What is a good I2C pull-up resistor for 3.3 V?

The 3 mA sink current sets a minimum of 967 Ω for Standard-mode and Fast-mode at 3.3 V. The maximum depends on the bus: at 200 pF in Fast-mode it is 1.77 kΩ, so 1.3 kΩ fits.

Is 4.7 kΩ OK for I2C?

At 100 kHz it usually is. At 400 kHz, 4.7 kΩ only meets the 300 ns rise time up to 75.3 pF of bus capacitance, so it works on short buses with few devices and fails beyond that.

What is the formula for the I2C pull-up resistor?

The minimum is Rp(min) = (VDD − VOL(max)) ÷ IOL, and the maximum is Rp(max) = tr ÷ (0.8473 × Cb). Fast-mode also has a 20 ns minimum rise time, which raises the minimum on a very light bus (under 24.4 pF at 3.3 V).

What happens if the I2C pull-up is too strong or too weak?

Too small, and a driver cannot sink enough current to bring the line down to a valid low. Too large, and the line rises too slowly to reach a valid high in time, which shows up as rounded edges and errors at higher speeds.

How do I estimate I2C bus capacitance?

Add the capacitance of every pin (the specification allows up to 10 pF each), the traces, connectors and any cable. Measure it if you can: time the 30 % to 70 % rise on an oscilloscope and divide by 0.8473 × Rp.

Can I use the internal pull-ups of a microcontroller for I2C?

Rarely. An ATmega328P pull-up is specified at 20 kΩ to 50 kΩ. Even 20 kΩ only meets the Standard-mode rise time up to 59 pF, and a Fast-mode bus would need 17.7 pF or less, about two device pins.

What if no resistor value meets both limits?

That happens on heavily loaded buses: at 3.3 V and the full 400 pF, Fast-mode needs 885 Ω or less, but 3 mA drive needs 967 Ω or more. Use drivers that sink 6 mA, lower the clock, split the bus with a buffer, or use a switched pull-up.

Do multiple pull-up resistors on a bus add up?

Yes, they combine in parallel, and breakout boards often carry their own. Two 4.7 kΩ pull-ups on a line act like 2.35 kΩ, which raises the sink current. Include all of them when you check Rp(min).

More free PCB tools

See all free electronics tools →

Sources

Design the whole board, not one number

ProtoFlow is free AI PCB design software: describe a circuit and get a schematic with real parts, PCB layout with an autorouter, SPICE simulation and Gerber files. Native KiCad, Altium and EAGLE import and export. Free on macOS, Windows and Linux.

Get for Mac

Free to start. No card required.