Skip to main content

Rate Limit Calculator

v1.1.0

Calculate token bucket and sliding window rate limit parameters.

Calculates token bucket and sliding window rate limit parameters — given a target RPS limit and burst allowance, outputs the correct bucket size, refill rate, and window duration.

How to use
  • Enter your desired requests-per-second limit and maximum burst size.
  • The tool shows the corresponding token bucket (capacity and refill rate) and window parameters.
  • Use to configure nginx limit_req_zone, Redis rate limiter, or API gateway throttle settings.