Skip to content

System Design Capacity Estimator

The back-of-the-envelope numbers a system design interview asks for: requests per second, peak load, storage, bandwidth and cache size, from a few assumptions you can say aloud.

users
writes
reads
bytes
years

Your estimate

Writes per second
231peak 694
Reads per second
5,787peak 17,361
Read to write ratio
25 : 1
New storage per day
20.0 GB
Storage over 5 years
36.5 TB
Write bandwidth
231 KB/s
Read bandwidth
5.8 MB/s
Cache for the hottest 20%
100 GB

Averages over a day; peak is 3× the average. Storage is before replication: multiply by your number of copies.

How it works

Every figure comes from five assumptions. Rates are the daily count divided by 86,400 seconds, and peak is three times that average, a common planning factor for consumer traffic with a daily cycle.

Storage is writes per day times the size of one write, times 365 and the years you keep it, before replication. Bandwidth is the rate times the size, assuming a read returns the object a write stored. The cache holds the hottest 20% of a day’s reads.

Say what the numbers mean

The numbers only earn credit when you say what they change. A read-to-write ratio of 100:1 makes a design a caching problem; 50 writes per second fits one database primary; 500 GB/s of reads means a CDN is the architecture, not an optimization. The link to this page keeps your inputs, so you can share an estimate.

Questions

How do you calculate requests per second for a system design interview?
Multiply daily active users by requests per user per day, then divide by the 86,400 seconds in a day. 10 million users making 50 reads a day is 500 million reads, or about 5,800 reads per second. Peak traffic is usually two to five times the average; this estimator uses three.
How much storage will my system need?
Multiply writes per day by the size of one write, then by 365 and the years you keep the data. 10 million users writing two 1 KB records a day add 20 GB a day, about 37 TB over five years. Multiply by your replication factor, often three, for the raw disk.
How big should the cache be?
A common starting point is the 80/20 rule: a small share of objects takes most of the reads. Caching the hottest 20% of a day’s reads covers most traffic for most read-heavy products. Measure the real hit rate once the system runs and size from that.
Why are the answers rounded?
An estimate is for choosing an architecture, not for buying hardware. Whether a system needs 50 or 5,000 writes per second changes the design; whether it needs 5,000 or 5,400 does not. Round early, say the numbers aloud, and say what each one rules in or out.