Retry amplification model calculator

Assumes identical independent failures, immediate failure detection and retries only after failure.

Your inputs

Separate numbers with commas or spaces.
Input format

Use this format with your own values:

100,200

Use the units shown.

Expected attempts
1.75
Success probability (%)
87.5
Expected total waiting (ms)
100
Maximum total waiting (ms)
300

Your calculation
How is this calculated?

Add 1 + p + p² through p^(maximum attempts−1), with p the failure fraction.

100 × (1−p^maximum attempts).

Wait before retry i is incurred with probability p^i; sum probability × wait.

Add all configured waits.

Assumes identical independent failures, immediate failure detection and retries only after failure. Waits exclude request execution time. Maximum attempts includes the first request; a retry policy can amplify an overloaded service, so this is only a stated-probability model.

AWS: retry and backoff assumptions ↗

Try an example

Worked example

Expected attempts: 1.75

Inputs
  • Independent failure probability per attempt (%): 50
  • Maximum attempts including the first: 3
  • Waits before retries (ms; 0 for one attempt): 100,200

Compare inputs

Expected attempts: 2

Inputs
  • Independent failure probability per attempt (%): 100
  • Maximum attempts including the first: 2
  • Waits before retries (ms; 0 for one attempt): 50
Share this page
Share this calculator

Leave unchecked to share the page without your entered values.