Skip to main content
You’ll sometimes be asked to do ‘back-of-the-envelope’ estimates in system design interviews. For example, you might need to determine how long it will take to generate 100 image thumbnails from disk or how much memory a data structure will take. The Powers of two table is a handy reference for these calculations.

Powers of Two Reference

PowerExact ValueApprox ValueBytes
7128
8256
101,0241 thousand1 KB
1665,53664 KB
201,048,5761 million1 MB
301,073,741,8241 billion1 GB
324,294,967,2964 GB
401,099,511,627,7761 trillion1 TB

Usage in System Design

This table helps you quickly estimate:
  • Memory requirements for data structures
  • Storage capacity needed for different scales of data
  • Network bandwidth calculations
  • Cache sizing decisions

Further Reading

Build docs developers (and LLMs) love