Exponential backoff schedule calculator

Retry i uses min(cap, initial × multiplier^(i−1)).

Your inputs

Use the units shown.

Retry waits (ms)
100, 200, 400, 500
Retry times after initial attempt (ms)
100, 300, 700, 1200
Total waiting (ms)
1,200

Your calculation
How is this calculated?

Generate capped exponential delays. With full jitter, advance seed = seed × 16807 mod 2147483647 and take floor(floor(delay) × seed / 2147483647).

Cumulative sum of waits, measured from the initial attempt; listed times round to six decimals.

Sum the unrounded waits; no execution or response time is included.

Retry i uses min(cap, initial × multiplier^(i−1)). Optional full jitter chooses whole milliseconds from zero through one less than the capped whole-millisecond bound using a reproducible Park–Miller sequence. Timings exclude request execution. This educational seed is not cryptographic randomness.

AWS: retry and backoff assumptions ↗

Try an example

Worked example

Retry waits (ms): 100, 200, 400, 500

Inputs
  • Initial retry delay (ms): 100
  • Backoff multiplier: 2
  • Delay cap (ms): 500
  • Retries after the initial attempt: 4
  • No jitter (0) or seeded full jitter (1): 0
  • Seed (1–2147483646): 1

Compare inputs

Retry waits (ms): 50, 100, 100

Inputs
  • Initial retry delay (ms): 50
  • Backoff multiplier: 3
  • Delay cap (ms): 100
  • Retries after the initial attempt: 3
  • No jitter (0) or seeded full jitter (1): 0
  • Seed (1–2147483646): 1
Share this page
Share this calculator

Leave unchecked to share the page without your entered values.