Calculator: I²C payload clock time

Enter the labelled inputs to calculate: Clock pulses SCL; Time (ms).

Clock pulses SCL
99
Time (ms)
0.99

How the calculation works

Nc=9(NB+NA); t=Nc/fSCL

I²C counts nine clock pulses per data or address byte, including acknowledgement. Start/stop timing, clock stretching and gaps between transfers are excluded.

Values must satisfy the formula’s domain. Nonzero results too small or too large for reliable representation are rejected.

Frequently asked questions

How is the result calculated?

Nc=9(NB+NA); t=Nc/fSCL

What assumptions apply?

I²C counts nine clock pulses per data or address byte, including acknowledgement. Start/stop timing, clock stretching and gaps between transfers are excluded.

How precise are the displayed results?

Numerical results show up to ten significant digits. Rounding does not improve the accuracy of the input measurements or the model. Values must satisfy the formula’s domain. Nonzero results too small or too large for reliable representation are rejected.

How we verified this calculator

The calculator is checked against 3 reference cases computed independently of its code. Last passed: .

# Inputs Expected result
1
Frequency (kHz) = 100
Data bytes = 16
Address bytes = 1
Clock pulses SCL: 153
Time (ms): 1.53
2
Frequency (kHz) = 400
Data bytes = 256
Address bytes = 2
Clock pulses SCL: 2322
Time (ms): 5.805
3
Frequency (kHz) = 1000
Data bytes = 32
Address bytes = 1
Clock pulses SCL: 297
Time (ms): 0.297

How we test our calculators →

Also try:

Back to category →