Part 3 of 9 · 1 min read
Units and powers of two
The size units from byte to petabyte, and the shortcut that makes the arithmetic easy.
A byte is the unit for one small piece of stored data. One plain English letter takes about one byte. Bigger units multiply by roughly one thousand each time.
| Unit | Short name | About | Exact (power of two) |
|---|---|---|---|
| Kilobyte | KB | one thousand bytes | 2^10 = 1,024 |
| Megabyte | MB | one million bytes | 2^20 = 1,048,576 |
| Gigabyte | GB | one billion bytes | 2^30 |
| Terabyte | TB | one trillion bytes | 2^40 |
| Petabyte | PB | one quadrillion bytes | 2^50 |
The small gap between 1,000 and 1,024 does not matter in an estimate. Use 1,000.
Round numbers
Round numbers are simplified values used in an estimate, such as 100,000 instead of 86,400. Using them keeps the arithmetic fast, and the error stays small compared with the other guesses.
Example: a day has 86,400 seconds. A designer says "about 100,000" and gets an answer 15 percent off, which is fine for a first estimate.
Three habits keep estimates clean:
- Write the unit next to every number. "5" can mean five bytes or five megabytes. "5 MB" cannot.
- Round early. Replace 99,987 ÷ 9.1 with 100,000 ÷ 10 = 10,000.
- Write each assumption on its own line, so the reader can challenge it.
Read it as
One thousand of a unit makes the next unit. 1,000 KB is 1 MB. 1,000 MB is 1 GB. 1,000 GB is 1 TB.
Check yourself:
- A photo is 2 MB. How many photos fit in 1 TB?
- Why is it fine to treat 1,024 as 1,000 here?