Data pipeline retry budget calculator

Stop after first success or the cap.

Your inputs

Currency changes the labels, not the amounts. No exchange-rate conversion.

Expected attempts (count)
1.75
Success by attempt cap (%)
87.5
Expected compute cost (currency)
3.5

Your calculation
How is this calculated?

Sum the probability that each permitted attempt is reached.

Subtract the probability all allowed attempts fail from one.

Multiply expected attempts by per-attempt cost.

Stop after first success or the cap. Each attempt has equal independent failure probability and equal compute cost; backoff time is excluded.

OpenStax Algebra and Trigonometry — Series and Their Notations ↗

Try an example

Worked example

Expected attempts (count): 1.75

Inputs
  • Independent attempt failure probability (fraction): 0.5
  • Maximum attempts including first (count): 3
  • Compute cost per attempt (currency): 2

Compare inputs

Expected attempts (count): 1.5

Inputs
  • Independent attempt failure probability (fraction): 0.5
  • Maximum attempts including first (count): 2
  • Compute cost per attempt (currency): 2
Share this page
Share this calculator

Leave unchecked to share the page without your entered values.