Calculator

Requests per Second Calculator

Turn daily active users and requests per user into average and peak requests per second, split into reads and writes.

Inputs

Page views, API calls and background syncs all count.

How much busier the busiest second is than the daily average.

The rest are writes.

Results

Peak RPS

1,736 req/s

Size servers and databases for this.

Average RPS
578.7 req/s
Peak read RPS
1,563 req/s
Peak write RPS
173.6 req/s
Requests per day
50,000,000
Requests per month
1,500,000,000

How it works

Most capacity estimates start with traffic. Product numbers usually arrive as daily active users and how often each user does something; infrastructure is sized in requests per second. This calculator bridges the two.

The average rate spreads a day of traffic evenly over 86,400 seconds, which real traffic never does. Users cluster around working hours, launches and time zones, so you multiply by a peak factor and size for the peak, not the average. A factor of 2 to 3 is common for consumer products used across a few time zones; a single-region business tool or a flash sale can reach 5 to 10.

Splitting reads from writes matters because they scale differently. Reads can be served by caches and replicas; writes usually go to one primary per shard. A 90/10 read/write mix means the write path sees a tenth of the traffic, and that is often the part that decides the database design.

Formula

  1. requests per day = daily active users × requests per user per day
  2. average RPS = requests per day ÷ 86,400
  3. peak RPS = average RPS × peak factor
  4. peak read RPS = peak RPS × read share
  5. peak write RPS = peak RPS × (1 − read share)
  6. requests per month = requests per day × 30

Inputs

Every input with its unit, allowed range and default.
InputUnitRangeDefault
Daily active usersusers1 – 10,000,000,0001,000,000
Requests per user per dayPage views, API calls and background syncs all count.req0.01 – 100,00050
Peak-to-average factorHow much busier the busiest second is than the daily average.×1 – 503
Share of readsThe rest are writes.%0 – 10090

Assumptions

  • A day has 86,400 seconds and a month 30 days.
  • The peak factor describes the busiest sustained period (minutes, not single milliseconds). Sub-second bursts are absorbed by queues and connection backlogs and need separate headroom.
  • Every request costs the same. In practice weight expensive endpoints separately (a search may cost 50 times a profile read).
  • Retries, health checks and bot traffic are not included; add them if they are a meaningful share of your traffic.

Worked example

A social app has 1 million daily active users. Each user makes about 50 requests a day, the evening peak is three times the average, and 90% of requests are reads.

Inputs
Daily active users1,000,000 users
Requests per user per day50 req
Peak-to-average factor3 ×
Share of reads90 %
Results
Peak RPS1,736 req/s
Average RPS578.7 req/s
Peak read RPS1,563 req/s
Peak write RPS173.6 req/s
Requests per day50,000,000
Requests per month1,500,000,000

50 million requests a day sounds large, but it is under 600 requests per second on average and about 1,740 at peak: a handful of application servers. The write path at peak is roughly 174 writes per second, well within one relational primary.

Load this example into the calculator