Calculators
Back-of-the-envelope estimates for capacity planning and design interviews. Each calculator shows its formula, assumptions and a worked example, and every result can be shared as a link.

Requests per Second
Turn daily active users and requests per user into average and peak requests per second, split into reads and writes.
average RPS = requests per day ÷ 86,400

Bandwidth
Estimate ingress and egress bandwidth in Mbps from request rate and payload sizes, plus daily and monthly data transfer.
bytes per second in = RPS × request size × (1 + overhead)

Storage Estimation
Estimate total storage from records per day, record size, index overhead, replication and retention, with optional yearly growth.
stored per day = raw per day × (1 + overhead) × replication factor

Availability and Downtime
Convert an availability percentage into allowed downtime per year, month, week and day, including redundancy and serial dependencies.
tier availability = 1 − (1 − A)^replicas

Server Capacity
Estimate how many servers a peak request rate needs from CPU time per request, cores per server, target utilisation and spare capacity.
max RPS per server = max RPS per core × cores
How to use these estimates
- Aim for the right order of magnitude, not precision. An estimate that is within a factor of two is enough to choose an architecture.
- Chain them: requests per second feeds bandwidth and server capacity; write rate feeds storage.
- State your assumptions out loud. In an interview the reasoning matters more than the final number.
- Replace estimates with measurements as soon as you have them: CPU time per request, real payload sizes, real peak factors.