I2C Pull-Up Resistors: Size by Bus Capacitance, Not Habit

I2C Pull-Up Resistors: Size by Bus Capacitance, Not Habit

Quick answer

An I2C pull-up is sized from two limits, not one habit. The smallest legal resistor is set by how much current the driving pin can sink while still holding a valid logic low: RMIN = (VCC − VOL) / IOL. The largest legal resistor is set by the rise time the bus standard allows for the capacitance you actually have: RMAX = tr / (0.8473 × Cb). At 3.3 V with a 3 mA driver and 400 pF of bus capacitance in Fast mode, those two limits cross: 885 Ω maximum against 967 Ω minimum. There is no legal resistor, and no amount of trial and error on the bench will produce one.

Executive takeaways

  • The two equations are independent. One comes from the driver's sink current, the other from the bus standard's rise time. Neither knows about the other, which is why the window can close.
  • 10 kΩ is a habit, not a selection. With 200 pF, 10 kΩ gives a 1.69 µs rise time — nearly double the 1 µs that Standard mode allows and more than five times the 300 ns Fast mode allows.
  • Bus capacitance is shared, not per device. Every pin, every centimetre of trace and every connector in the chain spends from the same budget.
  • When the window closes, the fix is not a resistor. Slow the bus down, split it with a buffer, or reduce capacitance. Changing 1.77 kΩ to 1.5 kΩ fixes nothing because the minimum was already violated.

1. The pull-up is a timing component

I2C is open-drain. Every device can pull a line low; nobody can drive it high. The high level is produced entirely by the pull-up resistor charging the bus capacitance, and that is an RC curve, not a step. The time it takes is the rise time, and the rise time is the only thing standing between a 400 kHz bus and a 400 kHz bus that produces errors at temperature.

Because the transition is exponential, the standard quotes rise time between the 30% and 70% points of VCC. Solving the RC equation at both points and subtracting gives the well-known factor:

tr = 0.8473 × RP × Cb

The 0.8473 is not a fudge. Time to reach 30% is 0.3567 × RC; time to reach 70% is 1.2040 × RC; the difference is 0.8473 × RC. That means for a 300 ns budget and 200 pF, the largest resistor is 300 ns / (0.8473 × 200 pF) = 1.77 kΩ. That is the whole calculation, and it is the one most designs skip.

2. Two limits, one window

Texas Instruments states both limits in SLVA689, the application note that answers this question most directly. The minimum comes from the low-level requirement; the maximum comes from the rise-time requirement. Everything else — speed versus power, cost, board space — is a choice made inside the window they define.

Parameter Standard mode Fast mode Fast mode plus
Rise time tr, maximum 1,000 ns 300 ns 120 ns
Bus capacitance Cb, maximum 400 pF 400 pF 550 pF
VOL at 3 mA sink (VCC > 2 V) 0.4 V 0.4 V 0.4 V
Typical sink current IOL 3 mA 3 mA 20 mA

Read the first two rows together and the design intent is visible: the standard allows the same 400 pF at 100 kHz and at 400 kHz, but cuts the rise time by a factor of 3.3. It does not lower the capacitance limit, so the resistor has to carry the whole burden — and at some point it cannot.

3. Minimum: the driver has to win

When a device pulls the line low, it sinks the pull-up current plus the current from any other pull-up on the bus. For the low level to be read correctly, the voltage across the driver must stay below VOL while it sinks IOL. A stronger pull-up means more current and a higher low level, so the resistor cannot be arbitrarily small:

RMIN = (VCC − VOL(MAX)) / IOL

At 3.3 V, with VOL = 0.4 V and IOL = 3 mA, that is (3.3 − 0.4) / 0.003 = 966.7 Ω. At 1.8 V the same 3 mA driver gives (1.8 − 0.4) / 0.003 = 466.7 Ω, which is a very different window — lower rails allow smaller resistors, which is one reason low-voltage I2C buses tolerate more capacitance.

This is also where mixed-voltage buses fail. A 5 V bus with a 3.3 V device on it is not two buses; it is one bus whose low level must satisfy every device. Take the largest VOL in the chain and the smallest IOL, and compute the minimum from those.

4. Maximum: rise time against capacitance

The upper limit is a direct consequence of section 1. Rearranged:

RMAX = tr / (0.8473 × Cb)

The table below is the whole design space for the common resistor values, computed rather than estimated. Red cells are outside the Fast-mode 300 ns limit.

Rise time in nanoseconds for 1 k, 2.2 k, 4.7 k and 10 k pull-ups at 100, 200 and 400 pF bus capacitance
Rise time (30–70%) for common pull-up values. Only the 1 kΩ column at 100 pF stays reliably inside Fast mode.

Two things stand out. First, 10 kΩ is only legal in Standard mode, and only below roughly 118 pF — 1,000 ns / (0.8473 × 10 kΩ) = 118 pF. Any real bus with a connector exceeds that. Second, the 400 pF column is red for every value except 1 kΩ, and 1 kΩ at 3.3 V sinks (3.3 − 0.4) / 1,000 = 2.9 mA, which just fits a 3 mA driver.

5. Where 400 pF comes from

The 400 pF figure is a standard limit, not a suggestion, and it is spent faster than most people expect. A device pin is typically 5–15 pF. A PCB trace is roughly 1–2 pF per centimetre. A connector and a short cable can be 20–80 pF on its own. A level translator or a bus switch adds 10–30 pF.

Table of bus capacitance contributors: device pins, PCB trace, connectors, translators and ESD parts
Bus capacitance is a budget shared by every device, trace and connector on the line.

Six devices at 10 pF is 60 pF. Ten centimetres of trace at 1.5 pF/cm is 15 pF. A board-to-board connector and 20 cm of ribbon is 60 pF. That is 135 pF before any protection parts, and it is not unusual for a real product to land at 180–220 pF. Above 400 pF in Fast mode the calculation stops producing a legal answer, which is exactly what the next section shows.

6. Worked example: 3.3 V, Fast mode, 200 pF

Take a 3.3 V Fast-mode bus with eight devices, 15 cm of routing and one connector, with Cb estimated at 200 pF.

  • Minimum: (3.3 − 0.4) / 0.003 = 966.7 Ω.
  • Maximum: 300 ns / (0.8473 × 200 pF) = 1.77 kΩ.
  • Legal range: 967 Ω to 1.77 kΩ. Anything in that band works; the geometric middle is around 1.3 kΩ, which is why 1.3 kΩ and 1.5 kΩ are common choices.
  • Static current when low: 3.3 V / 1,300 Ω = 2.54 mA per line, so 5.1 mA with both SDA and SCL low — not the 3 mA that "IOL = 3 mA" might suggest, because that is the sink capability, not the operating point.
  • Power in the resistor: 2.54 mA² × 1,300 Ω = 8.4 mW per line while low. Over a 50% duty cycle that is a few milliwatts — irrelevant on a mains supply and very relevant on a coin cell.

Choosing 2.2 kΩ instead would give 373 ns of rise time at 200 pF, which fails Fast mode by 24%. It would look perfect on a bench with short wires and a single device, and fail on the assembled unit. That gap between the bench and the product is the most common I2C reliability story there is.

7. The 400 pF trap

Here is where the arithmetic stops cooperating. At 400 pF in Fast mode:

RMAX = 300 ns / (0.8473 × 400 pF) = 885 Ω

But RMIN at 3.3 V and 3 mA is 966.7 Ω. The maximum is below the minimum. There is no resistor value that satisfies both, and a 1 kΩ part does not "work well enough" — it violates the sink-current limit while still being too slow.

There are only four honest ways out, and only one of them is a resistor:

  • Slow the bus to 100 kHz. The rise-time budget becomes 1,000 ns, RMAX becomes 2.95 kΩ at 400 pF, and the window 967 Ω–2.95 kΩ is comfortable.
  • Split the bus. A bus buffer or repeater presents a small capacitance to each segment, so each segment gets its own 400 pF.
  • Reduce real capacitance. Fewer devices per segment, shorter routing, no ribbon cable, fewer protection parts.
  • Use Fast mode plus devices. Fm+ allows 20 mA sink current, so RMIN drops to (3.3 − 0.4) / 0.02 = 145 Ω, and at 550 pF RMAX is 120 ns / (0.8473 × 550 pF) = 257 Ω. The window 145–257 Ω exists — but only if every device on the bus is rated for 20 mA.

That last condition is the one that bites. A single legacy 3 mA device on an Fm+ bus re-imposes the 967 Ω minimum, and then 550 pF cannot be driven at 1 MHz at all.

8. Power, speed and the duty cycle you do not have

Smaller resistors are faster and burn more current. The trade is easy to compute: with the line low, current is VCC / RP and power is VCC² / RP. At 3.3 V, a 1 kΩ pull-up costs 3.3 mA and 10.9 mW while low; a 10 kΩ pull-up costs 0.33 mA and 1.1 mW, and is too slow for anything except a short Standard-mode bus.

On a battery product the average matters more than the peak. I2C traffic is bursty, so the realistic figure is (current when low) × (duty cycle) × (number of lines). A sensor polled once per second, holding SDA low for perhaps 200 µs per transaction, sits near 0.02% duty — the resistor power is then negligible and the real cost is the idle leakage of the devices, not the pull-ups.

The one case where pull-up power is not negligible is a bus held low for long periods, such as a clock-stretching device or a stuck bus. At 3.3 V and 1 kΩ that is 10.9 mW per line, continuous, inside a small enclosure.

9. Mixed voltages and level translation

Devices on different rails cannot share a pull-up to the higher rail unless every device tolerates it. Two arrangements are common:

  • Pull up to the lower rail if the higher-voltage device accepts VIH at that level. This costs nothing but limits which parts you can use.
  • Use a dedicated translator. A translator adds capacitance (10–30 pF typically) and has its own pull-up requirements, so it both spends budget and adds a second window to check.

A resistor divider is not a translator. It raises the effective pull-up resistance and therefore the rise time, and it loads the low level. If a divider appears in an I2C schematic, the numbers in sections 3 and 4 both have to be recomputed with the divider's Thevenin equivalent, and the result is almost never inside the window.

10. Long cables and the parts that are not I2C

Beyond about a metre, capacitance per unit length dominates. A twisted-pair cable at 50–100 pF/m means 3 m of cable is 150–300 pF before any device is counted. At that point the design is no longer an I2C bus; it is a transmission line with an RC problem, and the answer is a differential bus (RS-485, CAN) or an I2C extender that converts to differential and back.

The same logic applies to connectors. A 2.54 mm header is cheap and adds perhaps 5 pF; a ribbon cable with an IDC connector adds tens of picofarads and a few nanohenries, and the inductance is what turns a fast edge into ringing that a slow device misreads. If a long cable is unavoidable, put the pull-ups at the far end of the dominant capacitance, not at the master, and verify the waveform at both ends.

11. Five mistakes we see

1. Copying 4.7 kΩ from a reference design. The reference had two devices on 20 mm of trace; the product has eight on a connector. The resistor did not change, the capacitance did.

2. Computing only the maximum. Checking rise time alone produces a value that may be lower than the driver can sink. Both ends of the window have to be evaluated.

3. Ignoring temperature. Driver sink capability and VOL are specified over temperature, and bus capacitance changes slightly with dielectric and humidity. A design with 5% margin at 25 °C is a design with no margin at 85 °C.

4. Adding a series resistor to "fix" ringing. A series resistor in an open-drain bus adds to the pull-up and slows the rise further. It can damp an edge on a long cable, but it does not repair a rise-time violation.

5. Trusting the scope on a short bench cable. Measure at the far end of the real harness, at the slowest corner, with the worst device populated.

12. Selection checklist

  • Bus speed: 100 kHz, 400 kHz or 1 MHz — and the rise-time limit that goes with it.
  • Supply rail and the largest VOL among all devices.
  • Smallest IOL among all devices; note whether any device is Fm+ rated.
  • Estimated Cb: device pins + trace + connectors + translators + protection parts.
  • Compute RMIN and RMAX; confirm RMIN < RMAX before choosing a value.
  • Pick a standard value near the geometric middle of the window.
  • Check static current and resistor power if the product is battery powered.
  • Verify rise time on the real harness at the worst-case temperature.

FAQ

Can I use 10 kΩ pull-ups on a 400 kHz bus?

Only if the total bus capacitance is under about 35 pF, which in practice means two devices on a very short trace. At 200 pF the rise time is 1.69 µs against a 300 ns limit.

Why does the bus work on my bench but fail in the enclosure?

Because the bench had a short cable, fewer devices and 25 °C. Capacitance rises with the real harness, and driver strength and VOL degrade with temperature. Both effects shrink the same window from opposite sides.

Is a smaller pull-up always better for speed?

No. Below RMIN the driver cannot hold a valid low level, so smaller values make the bus fail in a different way — usually as NACKs or arbitration loss rather than as a clean timing error.

Do I need a pull-up on both sides of a level translator?

It depends on the translator. Auto-direction types often include weak internal pull-ups and need external ones on the higher-voltage side only. Read the specific datasheet; adding external pull-ups to both sides of a translator with internal ones can violate its minimum resistance.

What happens if I exceed 400 pF?

The rise time exceeds the standard, so the high level may not be reached before the next clock edge. Symptoms are intermittent: a device that works at room temperature and fails warm, or a bus that fails only when a particular board is plugged in.

Can I put two pull-ups in parallel to halve the value?

Electrically yes, but it is a bad habit: the two resistors are in different places, so the effective capacitance they charge is not the same, and the current splits unpredictably. Use one resistor per bus segment.

Does the pull-up value affect bus arbitration?

Only indirectly. Arbitration compares driven-low against released-high, so a slow rise delays when a released line is recognised as high. With marginal rise times, two masters can both believe they won.

Glossary

Cb
Total capacitance of one bus line, including every device pin, trace, connector and protection part.
VOL
Maximum voltage a device may present while sinking IOL, still read as a logic low.
IOL
Current a device is specified to sink at VOL; 3 mA for Standard and Fast mode, 20 mA for Fast mode plus.
tr
Rise time measured between 30% and 70% of VCC.
RP
Pull-up resistance from SDA or SCL to the bus supply.
Fm+
Fast mode plus, 1 MHz with a 120 ns rise-time limit and 20 mA sink current.

Sources

Need I2C devices that tolerate a real bus?

Browse integrated circuits and memory ICs, or send your bus speed, device count and harness length and we will check the pull-up window for the parts you plan to use.

Browse In-Stock Components  ·  Submit Your BOM

Related reading: EEPROM vs Flash: endurance, granularity and write time, TVS selection for bus protection, and crystal or oscillator: choosing the clock source.

Check stock by part number

Turn this insight into a sourcing decision.

Need pricing or a drop-in alternative? Submit a BOM / RFQ or talk to our team.