System Design Playbook
02 · Fundamentals6 min read

Back-of-the-envelope estimation: sizing a system in two minutes

How to turn "10 million users" into requests per second, storage and number of servers with rough maths, and why interviewers care more about the method than the exact number.

In one sentence

Estimation turns users into requests per second, storage and bandwidth with rounded numbers. The goal isn't precision: it's knowing whether you need one database or a hundred.

Why estimate at all?

A design for 1,000 users and one for 100 million look nothing alike. Before drawing boxes, you need to know which order of magnitude you're dealing with: 10 requests per second fit on a laptop; 100,000 need caches, replicas and probably sharding.

In an interview, a two-minute estimate at the start shows that your later decisions ("we need a cache here", "this table must be sharded") come from numbers, not habit.

Back-of-the-envelope calculator
Example
The maths1,000,000 × 10 / 86,400 ≈ 116 reads/s · 1,000,000 × 0.1 / 86,400 ≈ 1.2 writes/sseconds in a day ≈ 86,400 ≈ 10⁵Reads / s (avg)116Writes / s (avg)1.2Peak requests / s3511101001K10K100K1M10MApp servers at peak: 1assuming ~1,000 requests/s per server (illustrative)Incoming data at peak: 1.7 KB/s
Reads / s (avg)
116
Writes / s (avg)
1.2
Peak requests / s
351
New data / year
18 GB
Every number is an order of magnitude, not a promise. Round aggressively (86,400 ≈ 100,000), state your assumptions out loud, and use the result to decide: does it fit in one database? Do I need a cache? How many servers?
Pick an example or move the sliders. Every result is an order of magnitude, not a promise.

The method, step by step

  1. Daily active users (DAU). Take it from the prompt, or assume it and say so.
  2. Actions per user per day, split into reads and writes. A photo app: ~50 photos viewed, ~0.5 uploaded.
  3. Requests per second = DAU × actions / 86,400. Round 86,400 to 100,000: 10M × 50 / 10⁵ = 5,000 reads/s.
  4. Peak = average × 2–3 (more for events like a ticket sale).
  5. Storage = writes per day × size × 365 × years. Don't forget replication (×3) if it matters.
  6. Bandwidth = requests per second × response size.

Numbers worth remembering

ThingRough value
Seconds in a day86,400 ≈ 10⁵
1 million requests per day≈ 12 per second
Read from memory (Redis)< 1 ms
Simple indexed query in SQLa few ms
Round trip between continents100–200 ms
A single app server (simple API)hundreds to a few thousand requests/s
A single well-tuned PostgreSQLthousands of simple writes/s, more reads
1 KB × 1 billion1 TB

These are rules of thumb that depend on hardware and workload. Their job is to tell you when you're close to a limit, not to replace a load test.

Use the result to make decisions

If the estimate says…Then consider
Reads ≫ writes (100:1)Caches, read replicas, a CDN
Thousands of writes per secondQueues, batching, write-optimized databases, sharding
Many TB per yearObject storage, partitioning, data retention rules
Huge peaks around eventsAutoscaling, waiting rooms, rate limiting

The URL shortener example: 1M daily users × 10 redirects ≈ 115 reads/s and ~1 write/s. One database with a cache is plenty. A photo app at 10M users stores terabytes per day: that's why images live in object storage, not in the database.

Key takeaways

  • 01Estimate before designing: the order of magnitude decides the architecture.
  • 02Requests per second = daily users × actions per day / ~100,000.
  • 03Round aggressively and say your assumptions out loud.
  • 04Turn each number into a decision: cache, replicas, queues, sharding or object storage.

Check your understanding

1 of 3

Requests per second ≈ daily users × actions per day ÷ …?

Related concepts