Skip to main content
KalkuNet

API Capacity Calculator: RPS, CPU Cores & Bandwidth

Average, busy-hour and burst RPS from your users, requests in flight, CPU cores and bandwidth.

Calculated in your browserServer & Storage
%
Spread evenly over the day = 4.17% (1/24); office-hours services run higher.
×
ms
From a load test of your application; it differs for every language and framework.
%
KB
Requests per second at burst
200 RPS
CPU cores needed
4
Average over the day
23.15 RPS
Busy-hour average
66.7 RPS
Requests in flight at burst (L = λW)
24
Requests per day
2,000,000
Egress bandwidth at burst
24 Mbps
Data out per month (30 days)
900 GB
Average requests per user per minute in the busy hour
0.08

Formula and sources

Average RPS = users × requests per user ÷ 86,400; busy hour = requests per day × busy-hour share ÷ 3,600; burst = busy hour × burst factor Requests in flight L = λ × W (Little's law: arrival rate × response time) Cores = ⌈L ÷ concurrent requests per core ÷ target utilisation⌉; bandwidth = RPS × response size × 8

When to use the API Capacity & RPS

  • From users to requests per second

    50,000 active users making 40 requests a day produce 2 million requests, 23 RPS on average. Traffic is uneven: if 12% falls in the busiest hour that hour averages 67 RPS, and a threefold burst reaches about 200 RPS.

  • Little's law

    The number of requests in progress equals the arrival rate times the response time. 200 RPS at 120 ms means about 24 requests in flight. Faster responses directly cut the servers you need.

  • CPU cores from a load test

    How many concurrent requests one core handles depends on the application, language and framework. Measure it with a load test and enter the figure. A 60–70% utilisation target leaves room for bursts and deployments.

  • A basis for rate limits

    The average requests per user per minute in the busy hour helps set a sensible rate limit: a cap several times above it protects the servers without bothering normal users.

Frequently asked questions

How do I find the busy-hour share?

Check your logs or monitoring: divide the requests in the busiest hour by that day's total. Without data, services used during working hours usually sit well above 4.17%.

Why plan for bursts, not the average?

Averages hide peaks. Push notifications, the start of the working day or a promotion can make requests arrive together, so capacity must follow the bursts.

How much bandwidth does the server need?

Egress at burst shows the minimum link speed. Add room for headers, TLS and growth, and check the hosting provider's monthly data allowance.

Related calculators