Skip to content
TheCalcUniverse

API Rate Limit & Throughput Calculator — RPS, Bandwidth & Burst

Calculate API throughput including requests per second, bandwidth requirements, daily capacity, and burst limits. Free, instant, and accurate.

✓ Tested formula & cited sources Formula verified 2026-01-15 Runs in your browser — inputs never sent anywhere

See it worked out

Example — Maximum Requests Per Minute (RPM) 60000 req/min, Average Payload Size 50 KB, Peak Concurrent Users (optional) 1000 users:

Requests Per Second (RPS)

1,000 req/s

Bandwidth Required

50,000 KB/s

Bandwidth (Mbps)

48.83 Mbps

Daily Request Capacity

86,400,000 req/day

Burst Capacity (AWS API Gateway)

10,000 RPM

Max Recommended Concurrent Users

5,000 users

Server Type

AWS API Gateway

Requests Per Minute

60,000 RPM

RPM Per User

60.00 RPM/user

The formula

RPS = RPM / 60 Bandwidth = RPS × Payload Size Daily Capacity = RPM × 60 × 24 Per-User RPM = RPM / Peak Users

RPM
Requests Per Minute
RPS
Requests Per Second
Burst
Burst Capacity
429
HTTP 429 Too Many Requests

Worked example — Maximum Requests Per Minute (RPM) 60000 req/min, Average Payload Size 50 KB, Peak Concurrent Users (optional) 1000 users

Requests Per Second (RPS) = 1,000 req/s

Full explanation ↓

How Rate Limit Calculator Works

RPS = RPM / 60 Bandwidth = RPS × Payload Size Daily Capacity = RPM × 60 × 24 Per-User RPM = RPM / Peak Users

Rate limiting controls how many requests a client can make to an API within a given time window. Understanding your throughput helps you plan capacity and avoid 429 (Too Many Requests) errors.

RPM
Requests Per MinuteThe maximum number of API requests allowed per minute.
RPS
Requests Per SecondThroughput in requests per second — the steady-state rate your API serves.
Burst
Burst CapacityThe maximum short-term throughput your API can handle before rate limiting kicks in.
429
HTTP 429 Too Many RequestsThe HTTP status code returned when a client exceeds the rate limit.
Rate limiting — requests per time window with a maximum limit threshold

How to Use

  1. Enter your API's maximum requests per minute (RPM).
  2. Enter the average payload size in KB to calculate bandwidth requirements.
  3. Optionally enter peak concurrent users to see per-user allocation.
  4. Select your server type to see burst capacity defaults.
  5. Use the results to plan infrastructure scaling and set appropriate rate limits.

Quick Reference

AWS API Gateway10,000 burst RPM · 5,000 max concurrent
CloudflareUnlimited burst · 15,000 max concurrent
Nginx5,000 burst RPM · 3,000 max concurrent
HTTP 429Too Many Requests — retry after Retry-After seconds
RPS FormulaRPS = RPM ÷ 60
Bandwidth FormulaMbps = (RPS × KB) ÷ 1024
Daily CapacityDaily = RPM × 60 × 24
Exponential Backoff1s → 2s → 4s → 8s → 16s (max 5 retries)
Token BucketTokens refill at sustained rate; bucket depth = burst capacity
Leaky BucketRequests processed at fixed rate; excess queued or dropped

Common Uses

  • Planning API infrastructure capacity by calculating requests per second, bandwidth requirements, and daily throughput
  • Setting appropriate rate limits for public APIs to protect backend services from abuse and unexpected traffic spikes
  • Determining burst capacity and per-user rate limits when designing API pricing tiers or usage plans
  • Estimating bandwidth costs and infrastructure needs for high-traffic web applications and microservices deployments

Understanding the Result

Rate limiting is a critical API management strategy that protects your backend from being overwhelmed by too many requests. When a client exceeds the allowed rate, the server returns HTTP 429 (Too Many Requests). The difference between burst and steady-state capacity is key: burst allows short spikes above the sustained limit, while the sustained rate is what your infrastructure can handle long-term. AWS API Gateway has a default burst limit of 10,000 RPM. Cloudflare offers effectively unlimited burst. Nginx burst depends on worker configurations. For production APIs, set rate limits at 2-3x your expected peak traffic to handle spikes while protecting your backend.

Worked Examples

AcmeTech runs a public REST API behind AWS API Gateway with a 60,000 RPM rate limit, serving 50 KB average payload responses to an estimated 1,000 peak concurrent users. Their DevOps team needs to plan bandwidth provisioning and understand per-user allocation.

Max RPM = 60000 · Avg Payload Size = 50 KB · Peak Concurrent Users = 1000 · Server Type = AWS API Gateway

RPS: 1,000 req/s. Bandwidth: 48.83 Mbps. Daily Capacity: 86,400,000 req/day. Burst: 10,000 RPM (AWS default). Max Concurrent: 5,000 users. Per-User RPM: 60 RPM/user.

At 60,000 RPM (1,000 RPS) and 50 KB per response, AcmeTech needs ~49 Mbps of sustained egress bandwidth. A typical AWS NAT gateway supports up to 4.5 Gbps, so bandwidth is not the bottleneck here. The more important finding is the burst limit: AWS API Gateway caps burst at 10,000 RPM, meaning AcmeTech's configured 60,000 RPM limit can only sustain that rate — burst capacity is actually lower than the sustained limit due to the AWS default. With 1,000 concurrent users, each user gets 60 RPM (1 RPS), which is reasonable for most client applications. If AcmeTech expects traffic spikes beyond 10,000 burst RPM, they need to either raise the AWS burst quota or implement client-side throttling with exponential backoff to avoid 429 errors during surges.

A small startup runs an Nginx-reverse-proxied microservice with a modest 5,000 RPM capacity and lightweight 2 KB JSON responses. They don't yet have concurrent user data but want to understand their daily throughput headroom and bandwidth costs.

Max RPM = 5000 · Avg Payload Size = 2 KB · Peak Concurrent Users = · Server Type = Nginx

RPS: 83.3 req/s. Bandwidth: 0.16 Mbps. Daily Capacity: 7,200,000 req/day. Burst: 5,000 RPM (Nginx). Max Concurrent: 3,000 users. Per-User RPM: N/A.

With only 83 RPS and 0.16 Mbps bandwidth, this microservice can run on minimal infrastructure — even a $5/month VPS with 1 TB transfer could serve ~500 million requests before hitting bandwidth limits. The 7.2 million daily request capacity is generous for a small startup. The Nginx burst limit matching the sustained RPM (5,000) means there is no additional burst headroom beyond the steady-state rate — any traffic spike above 5,000 RPM will immediately trigger rate limiting. The startup should configure Nginx's rate-limiting module (`limit_req_zone`) to enforce this limit and return 429 with a `Retry-After` header rather than letting the server crash under unexpected load. Without concurrent user data, per-user allocation cannot be estimated — the team should instrument their app to collect this data before designing per-user rate tiers.

Frequently Asked Questions

What happens when a user exceeds the rate limit?
The server returns HTTP 429 (Too Many Requests) with a Retry-After header indicating how long the client should wait before retrying. Well-designed clients should implement exponential backoff.
What is the difference between burst and sustained rate limits?
Burst allows short-term spikes above the sustained limit (e.g., 10,000 RPM burst on a 1,000 RPM sustained limit). Sustained is the average rate your system can handle over longer periods.
What is a reasonable rate limit for my API?
A common approach is to set the rate limit at 2-3x your expected peak traffic. For a public API, 1000-10000 RPM per user is typical. Adjust based on your infrastructure and user base.
How should clients handle 429 errors?
Clients should implement exponential backoff: wait 1 second on first retry, 2 seconds on second, 4 seconds on third, etc., up to a maximum. This prevents thundering herd problems.
Which rate-limiting algorithm should I use?
The token bucket algorithm (used by AWS and most API gateways) is ideal for most APIs — it allows short bursts while enforcing a long-term average rate. The leaky bucket smooths traffic to a fixed rate (better for bandwidth shaping). The fixed window counter is simplest but can allow double the rate at window boundaries. Sliding window log provides the most accurate enforcement at the cost of more memory.

Pro Tips

  • Set your API rate limit at 2–3× expected peak traffic, not at your infrastructure's breaking point. This gives you headroom for organic growth and unexpected traffic while still protecting the backend. A limit that is exactly at peak means your users will hit 429s during normal usage.
  • Always pair rate-limited APIs with exponential-backoff client libraries. A well-behaved client that retries with 1s → 2s → 4s → 8s delays can reduce perceived downtime from seconds to unnoticeable milliseconds. Return the `Retry-After` header to guide client behavior.
  • Per-user RPM allocation is a critical metric for API pricing tiers. If your per-user RPM drops below 10, interactive use (e.g., a dashboard polling an endpoint) becomes sluggish. Aim for 30–60 RPM/user for a responsive experience, and 10+ RPM/user for background/batch operations.
  • Bandwidth costs scale with payload size, not request count. If your 50 KB responses are at 1,000 RPS, that's ~126 TB/month of egress. At AWS's ~$0.09/GB egress rate, that's roughly $11,340/month just in data transfer. Consider response compression (gzip/brotli), pagination, and field filtering to reduce payload size before scaling infrastructure.

Limitations to Know

  • This calculator models steady-state throughput and does not account for traffic burst patterns, cold starts, cache hit ratios, database query latency, or downstream service bottlenecks — all of which affect real-world API capacity.
  • Burst capacity server defaults are approximations. Actual burst limits depend on your specific configuration (Nginx worker settings, AWS account quotas, Cloudflare plan tier). Always verify against your provider's actual limits.
  • Bandwidth estimates assume uncompressed payloads. Real-world bandwidth with gzip/brotli compression can be 50–80% lower for text-based responses (JSON, HTML, XML), making the calculator conservative for compressible payloads.
  • Per-user RPM assumes uniform load distribution across users, which is rarely true in practice. A small fraction of power users often generates the majority of requests. Use this calculator for aggregate planning, then instrument actual usage to identify your real per-user distribution.
Was this calculator helpful?
Cite this calculator

TheCalcUniverse. "API Rate Limit & Throughput Calculator — RPS, Bandwidth & Burst." TheCalcUniverse, 2026, https://thecalcuniverse.com/engineering/rate-limit-calculator/. Accessed July 24, 2026.

Embed this calculator on your site

Free to embed. Paste this into any HTML page — it stays up to date automatically.

Open embed ↗

You may also like