System design / Capacity planningSystem-design sizing calculator
Turn traffic assumptions into QPS, storage, bandwidth and server estimates. Change one input, explain the result, then challenge the assumption.
Free to use. Calculations run in your browser; input values are not sent to our analytics.
Your capacity estimate
Rounded for display. This is a starting model, not a production capacity guarantee.
- Daily requests
- Average request rate
- Peak request rate
- New writes
- Raw retained data
- Data across all copies
- Peak outbound payload bandwidth
- Average concurrency
- Peak concurrency approximation
- Servers for peak traffic
Explain every formula
- Daily requests: active users × requests per user. Divide by 86,400 seconds for average QPS; multiply average QPS by the peak factor for peak QPS.
- Daily writes: daily requests × write percentage / 100. This model assumes one new stored record per write request.
- Retained bytes: daily writes × new KB per write × 1,000 × retention days. Multiply by the total number of copies for replicated storage.
- Peak outbound Mbps: peak QPS × response KB × 1,000 × 8 / 1,000,000. This excludes headers, TLS overhead and replication traffic.
- Average concurrency: average QPS × mean time in seconds. Little’s law relates average quantities in a stable system with matching measurement boundaries. Do not substitute p99 latency for the mean.
- Peak concurrency approximation: peak QPS × the same mean time. This assumes latency stays constant at peak load, which often fails near saturation.
- Servers: round up peak QPS / (benchmarked per-server QPS × allowed capacity fraction). The fraction is a throughput headroom policy, not a measured CPU utilization.
GB means 109 bytes; GiB means 230 bytes. The calculator shows both for total storage. It does not round intermediate calculations.
Worked example: one million active users
One million users × 20 requests gives 20 million requests/day, or 231.481 average QPS. At 5× peak traffic, plan for 1,157.407 QPS. If 10% create a 1 KB record, two million writes/day retained for 30 days require 60 GB raw, or 180 GB (167.638 GiB) across three total copies.
A 5 KB response gives about 46.296 Mbps of peak outbound application payload. Mean time of 100 ms implies 23.148 requests in flight on average. A 1,000-QPS server limited to 70% of its benchmark capacity supplies 700 QPS, so this model needs two servers for peak load.
Failure follow-up: two servers have enough combined capacity here, but losing one leaves only 700 QPS. Under the same independent-capacity assumption, three servers would preserve the required capacity after one server fails. Multi-zone placement, shared dependencies and stateful failover need separate analysis.
Challenge the model before choosing infrastructure
Storage assumes a steady write rate and a full retention window of newly retained bytes. Overwrites, deletes, compression, indexes, write-ahead logs, backups and storage-engine overhead change it. Fan-out can create many records or downstream requests from one user operation.
Capacity does not scale perfectly with server count. Measure realistic payloads, hot keys, cache misses and downstream limits. Add redundancy, replication bandwidth, retry budgets and backlog recovery explicitly. A peak factor estimates a burst rate; it does not mean that rate lasts all day.
Practice next: queue backlog and retry capacity, collaborative editor fan-out, or erasure-coded storage overhead. Browse the system-design learning path to connect the estimates to an architecture.