← All tools
Rate Limit Calculator
Work out the per-key behaviour of common API rate-limiting algorithms — token bucket, fixed window, sliding window, and leaky bucket — from a target request rate and burst capacity. See the refill rate, the effective sustained requests-per-second, the spacing enforced between bursts, and a timeline showing how the bucket recovers over time. Pure arithmetic, runs locally in your browser.
Result
Bucket timeline (tokens over 10 s)
Enter values and press Calculate.