Skip to content

Menu

Request Timing Calculator

Calculate request timing and percentiles

Runs entirely in your browserNetworkFree, no sign-up
Loading tool

01What is Request Timing Calculator?

A page that waits on several API calls is only as fast as the way those calls are arranged. Await them one after another and the times add up. Fire them together with Promise.all and you wait for the slowest one. Add retries and the picture gets fuzzier, because a flaky call is usually fast and occasionally very slow. This calculator puts numbers on all of that from a small, explicit model. You list requests, each with a name, a latency in milliseconds, a retry count and a failure percentage. The model assumes every attempt takes exactly that latency and fails independently at that rate. A failed attempt is retried straight away, with no backoff, until it succeeds or runs out of retries. That gives each request an exact probability distribution instead of a single guess. Here is the built-in With retries example worked through. A 200 ms call with a 30% failure rate and 3 retries takes 200 ms 70% of the time, 400 ms 21% of the time, 600 ms 6.3% and 800 ms 2.7%. The expected time is 283.4 ms, but P95 is 600 ms and P99 is 800 ms. All four attempts fail 0.81% of the time, so the tool reports a 99.19% chance of success. For several requests, sequential mode adds the distributions together and parallel mode takes the maximum of them. The P50, P95 and P99 figures are then read exactly from the combined distribution, with no sampling noise. The cards always show both expected totals, Sequential and Parallel, and the percentile cards follow whichever mode the Parallel execution checkbox selects. Copy gives you a plain-text report with the mode, totals, percentiles, overall success chance and a per-request line showing expected, first-try, all-retries and give-up figures. The limits are real and worth stating plainly. Real latency varies from one attempt to the next, so your measured percentiles will sit higher than these. Real retry logic usually waits with exponential backoff, which this model leaves out. Failures in production are often correlated, such as a whole dependency going down, while the model treats them as independent. And it has no notion of dependencies between calls, so you decide which requests can truly run in parallel. Use it as a planning tool for design reviews and latency budgets, then check the actual numbers in your tracing or APM. The calculation runs entirely in the page, so your endpoint names and timings stay in your browser tab.

Front-end and backend developers who need rough P95 and P99 numbers for a chain of API calls before a design review or load test. The tool runs entirely in your browser, so your data never leaves your device.

02How to use Request Timing Calculator

  1. Load an example (API call chain, Parallel fetch or With retries) or start from the default Auth, User Data and Dashboard requests.
  2. Adjust each request's ms, retries and fail% fields, and remove rows with the × button.
  3. Add a call by typing a Request name and a latency in milliseconds, then click + Add. New rows start with 1 retry and 5% fail.
  4. Tick Parallel execution to base the P50, P95 and P99 figures on concurrent calls.
  5. Compare the Sequential (expected) and Parallel (expected) cards with P95 and P99, then click Copy for the full breakdown.

03Worked examples

Input: A 100 ms, B 200 ms, C 300 ms; no retries, 0% fail; Sequential
Result: Sequential 600 ms, Parallel 300 ms; P50/P95/P99 600 ms; success 100%
Input: Same three requests; Parallel execution ticked
Result: P50/P95/P99 300 ms
Run in parallel, the total is set by the slowest request.
Input: One request 200 ms, 2 retries, 10% fail
Result: Expected 222 ms; first try 200 ms, all retries 600 ms; P50 200 ms, P95 400 ms, P99 400 ms; success 99.90%
All three attempts fail with probability 0.1³ = 0.001. P99 stays at 400 ms because a third attempt is needed only 1% of the time.
Input: Flaky API 200 ms, 3 retries, 30% fail (the With retries example)
Result: Expected 283 ms; P50 200 ms, P95 600 ms, P99 800 ms; success 99.19%
Input: Two requests 100 ms each, 1 retry, 5% fail; Parallel
Result: Parallel expected 110 ms (109.75); Sequential expected 210 ms; P50 100 ms, P95 200 ms, P99 200 ms; success 99.50%
At least one of the two retries 9.75% of the time, which pushes P95 to 200 ms.
Input: Default requests: Auth 50 ms, User Data 80 ms (2 retries, 10%), Dashboard 120 ms; Sequential
Result: Sequential 267 ms, Parallel 131 ms; P50 250 ms, P95 370 ms, P99 410 ms; success 99.40%
Auth and Dashboard use 1 retry at 5%. Tick Parallel and the percentiles become P50 120 ms, P95 240 ms, P99 240 ms.

04Common use cases

  • Showing a teammate why a React page that awaits three API calls in sequence feels slower than one using Promise.all
  • Estimating a latency budget for a backend-for-frontend that fans out to several microservices
  • Judging how much tail latency you add by giving a flaky payment or shipping API three retries instead of one
  • Seeing how P99 moves when one slow dependency is added to an otherwise fast parallel fan-out
  • Preparing rough numbers for a design review before load testing with k6 or JMeter
  • Checking whether a page can still meet a 300 ms target once realistic failure rates are included

05Tips

  • Parallelize only independent calls. If one request needs another's result, that pair stays sequential no matter what the checkbox says.
  • Retries move the tail more than the average. In the default three-request chain, expected time is about 267 ms but P99 is 410 ms.
  • Fan-out amplifies tails. Two parallel calls that each retry 5% of the time push P95 to the retry time, because at least one of them retries 9.75% of the time.
  • The model retries immediately. If your client uses exponential backoff with jitter, add those waits to the worst-case figures yourself.
  • Set fail% to the rate you see in your own error dashboards, not a guess. Small changes there shift P99 a lot.

06Related concepts

Latency budget, Tail latency, Percentiles, Retry strategies, Promise.all, Fan-out.

Frequently Asked Questions

What is Request Timing Calculator?

Request Timing Calculator is a free, browser-based developer tool on AIDToolStack. Calculate request timing and percentiles It requires no installation or sign-up and works entirely in your browser.

Is Request Timing Calculator free to use?

Yes. No sign-up, no fees and no usage cap.

Does Request Timing Calculator store my data?

No. It runs in your browser; nothing is uploaded.

Reviews and commentsShow

Reviews

Sign in to leave a review.

Loading reviews…

Comments

Sign in to leave a comment.

Loading comments…

What changed in AI dev tools, once a month

Renames, shutdowns, pricing changes and new MCP setups, each with a source.

Subscribe