Time
- 1 day
- 86.4K sec
- 1 month
- 2.6M sec
- 1 year
- 31.5M sec
System design, with the math left in
Practice back-of-the-envelope estimates for the systems interviewers ask about most. Change an assumption, watch the architecture move, and learn what each number is for.
backend = peak × (1 − hit rate)
Every result is recalculated in your browser. No signup, no hidden model, no hand-waving.
Estimation conventionDecimal units · 86,400 sec/day · 3 replicas where stated
Edit any input to recalculate the design.
Use these to choose components, not vendors.
Calculation walkthrough
Reference architecture
Follow the primary request path left to right.
Scaling roadmap
Use the same sequence whether you are designing a chat app, an object store, or a payment system. The numbers become a narrative for the architecture.
Who uses it, how often, and which path must be correct or fast?
users × actionsTurn daily operations into average QPS, then make the peak explicit.
ops ÷ 86,400 × peakEstimate payload, retention, indexes, replication, and network direction.
items × bytes × timeApply cache hit rates, fan-out, concurrency, or queueing amplification.
base load × amplificationShard and isolate only where a measured load or correctness boundary calls for it.
capacity ÷ unit targetUse these as starting assumptions, then replace them with measurements in a real system.