Back-of-the-envelope Numbers
On this page
Back-of-the-envelope numbers help you make design choices.
You do not need perfect math. You need reasonable estimates and clear thinking.
Why numbers matter
Numbers help you answer questions like:
- Do we need cache?
- Do we need sharding?
- Can one database handle this?
- How much storage do we need?
- Is this read-heavy or write-heavy?
- Which path should we optimize first?
In interviews, rough math is usually enough.
Quick conversions
| Number | Useful conversion |
|---|---|
| 1 day | 86,400 seconds, often rounded to 100,000 seconds |
| 1 million / day | About 10 requests per second |
| 10 million / day | About 100 requests per second |
| 100 million / day | About 1,000 requests per second |
| 1 billion / day | About 10,000 requests per second |
| 10 billion / day | About 100,000 requests per second |
A simple rule:
QPS ≈ daily requests / 100,000
Try it yourself first
You have the full problem. Sketch your answer, then sign up free to read the complete walkthrough.
- The complete design, flow by flow, with pictures
- Deep dives into the hard parts
- What mid, senior and staff candidates are expected to say
- Full company question lists
Free forever. No card needed.