Interactive Engineering Tool

Back-of-the-Envelope Capacity Math Calculator

Derive Peak QPS, Bandwidth, Daily Storage, 5-Year Storage Growth, and 80/20 RAM Caching budgets in seconds for your system design interview.

Interactive Calculator

Set your assumptions

Choose a scenario or set your own inputs. Each estimate includes the reasoning to explain it.

Start with a scenario

Illustrative assumptions for practice. Choose a starting point, then adjust it to fit your design.

100 million
10 actions
2 KB
80% / 20%

Your capacity estimate

Use the numbers to explain your trade-offs.

MetricEstimateHow to explain it
Average throughput11,574 QPSDaily requests ÷ 86,400 seconds. QPS means queries per second.
Peak throughput28,935 QPS2.5× average traffic. A starting point for compute and load balancing.
Read / write throughput9,259 / 2,315 QPSAverage reads / writes per second. Discuss replicas and write partitioning.
Peak Bandwidth56.51 MB/sPeak requests × payload size. Use this to discuss network capacity.
Daily storage growth381 GB / dayDaily writes × payload size, before replicas and indexes.
5-year database storage680 TBFive years of steady writes, with no deletion or compression.
RAM cache budget305 GB RAMCache the hottest 20% of the daily read volume.
Storage IOPS at peak10,417 IOPSPeak writes plus the 20% of peak reads that miss the cache. Assumes one storage operation per request.

Model assumptions: 2.5× peak traffic, 80% cache hit rate and five-year retention. Units use 1,024-based conversions. These estimates exclude replication, indexes and protocol overhead.

Capacity math in live practice

Install ClawPad ($39/mo) and rehearse capacity math inside a system-design answer.

Download ClawPad