Embedded I2C bus transaction time calculator

Calculate estimated I2C wire time with your own figures.

Your numbers

Use the units shown. Results update as you change valid inputs.

Use estimated I2C wire time to compare changes to your inputs. The method and limits below explain the scope.

Examples

Examples

Try the starting example

I2C clock (Hz)
400000
Address bytes transmitted
1
Data bytes transmitted
16
Acknowledgement bits per byte
1
Start-stop equivalent extra clock cycles
2
Supplied clock stretch total (seconds)
0
Estimated I2C wire time (seconds)
0.000387

Try another scenario

I2C clock (Hz)
440000.00000000006
Address bytes transmitted
1
Data bytes transmitted
16
Acknowledgement bits per byte
1
Start-stop equivalent extra clock cycles
2
Supplied clock stretch total (seconds)
0
Estimated I2C wire time (seconds)
0.000352
Calculation method

Calculation method

Estimated I2C wire time (seconds)

((address+data)×(8+ACK bits)+start-stop cycles)/clock + stretch.

Symbols and units
a
I2C clock (Hz)
b
Address bytes transmitted
c
Data bytes transmitted
d
Acknowledgement bits per byte
e
Start-stop equivalent extra clock cycles
f
Supplied clock stretch total (seconds)

Use the units shown. A list keeps the order in which you enter its values. The symbol ^ means “raised to the power of”.

Assumptions & limits

Assumptions & limits

  • Clock, address-data bytes, acknowledgements, stretch assumption. Returns Wire-time estimate. All coefficients and observations are user supplied; results describe only the stated mathematical model. Quantities are deterministic calculations from supplied observations and assumptions; no external data is fetched. Supported limits: Finite inputs only; numeric fields bounded as labelled. Lists and JSON records are limited to 256 entries unless a stricter tool bound is stated. No automatic design approval, legal conclusion, treatment recommendation or safety certification. I2C clock (Hz): minimum 1e-12, maximum 1000000000000.0. Address bytes transmitted: minimum 1, maximum 4. Data bytes transmitted: minimum 0, maximum 1000000. Acknowledgement bits per byte: minimum 0, maximum 1. Start-stop equivalent extra clock cycles: minimum 0, maximum 100. Supplied clock stretch total (seconds): minimum 0, maximum 1000000000000.0.
Are these inputs private?

These calculations run in your browser. A shared link contains the values you choose to share. Only questions submitted to the separate AI finder are sent to OpenAI.

Share this page
Share this calculator

Leave unchecked to share the page without your entered values.