Back-of-the-envelope calculator for system design
Estimate QPS, storage, bandwidth, cache size and server count for a system design interview. Pick a preset or enter your own assumptions. Every number updates live, and you can copy the result as a markdown table for your notes.
Start from a preset
Very read-heavy: one link is created and then clicked many times. Full walkthrough: Design a URL shortener.
Assumptions
Users per day
Reads + writes
100 means 100:1
One row, message or file
Response payload
Usually 2–5x
How long data is kept
Copies of each record
80/20 rule: ~20%
What one box handles
Estimates
Requests per day DAU × requests per user | 100M |
Average QPS requests per day ÷ 86,400 | 1.16K |
Peak QPS average × peak factor | 3.47K |
Read QPS / write QPS split by the read:write ratio | 1.15K / 11 |
New storage per day writes per day × bytes per write | 495 MB |
Total storage (5y × 3 copies) per day × 365 × years × replication | 2.71 TB |
Ingress (average) write QPS × bytes per write × 8 | 45.8 Kbps |
Egress (average / peak) read QPS × bytes per read × 8 | 4.58 Mbps / 13.8 Mbps |
Cache memory (20% of daily reads) reads per day × bytes per read × cache % | 9.9 GB |
App servers at peak peak QPS ÷ QPS per server | 2 |
Shortcuts worth memorising
1 day ≈ 86,400 s ≈ 105 s, so 1M requests/day ≈ 12 QPS.
100M requests/day ≈ 1,200 QPS. 1B/day ≈ 12K QPS.
1 KB × 1M per day ≈ 1 GB/day ≈ 365 GB/year.
1 Gbps ≈ 125 MB/s. A single server NIC is often 10–25 Gbps.
Keep ~20% of daily reads in cache (the 80/20 rule) as a first guess.
State your assumptions out loud. Round numbers are fine; the interviewer is checking your reasoning.