
A 1 TB drive can appear to have about 931 GiB of capacity even before you store a file. The two numbers count the same bytes using different prefixes. This lesson explains those prefixes and the other units you’ll see in computer specifications.
1. Common units in computing
| Quantity | Common units | Example |
|---|---|---|
| Length | mm, cm, m | Case dimensions, fan sizes, and cable lengths |
| Mass | g, kg | Component and system weight |
| Volume | mL, L, cm³ | Coolant in a liquid-cooling loop |
| Time | s, ms, µs, ns | Latency and response time |
| Frequency | Hz, MHz, GHz | Cycles per second, such as a processor clock rate |
| Electrical power | W | Power delivered or consumed |
| Data size | bit (b), byte (B) | Storage and memory capacity |
| Data rate | Mb/s, Gb/s, MB/s | Network speed and file transfer rate |
1.1. Converting between units
Multiply to express a quantity in smaller units. Divide to express it in larger units. For example, 1.5 m equals 150 cm or 1,500 mm, 250 ms equals 0.25 s, and 2.4 GHz equals 2,400 MHz. Time subdivisions in this table use decimal factors.
Keep bits and bytes separate. One byte equals eight bits. A link rated at 100 Mb/s can carry at most 12.5 MB/s before protocol overhead and other limits. The lowercase b and uppercase B matter.
2. Multiples of the byte
2.1. Decimal prefixes (SI)
Each step multiplies by 1,000. Drive manufacturers commonly label capacity with these units. Network speeds normally use decimal prefixes as well.
| Unit | Bytes |
|---|---|
| kB | 10³ = 1,000 |
| MB | 10⁶ = 1,000,000 |
| GB | 10⁹ = 1,000,000,000 |
| TB | 10¹² = 1,000,000,000,000 |
| PB | 10¹⁵ |
| EB | 10¹⁸ |
| ZB | 10²¹ |
| YB | 10²⁴ |
2.2. Binary prefixes (IEC)
Binary prefixes use powers of 1,024. The i in KiB or GiB distinguishes them from decimal units.
| Unit | Bytes |
|---|---|
| KiB | 2¹⁰ = 1,024 |
| MiB | 2²⁰ = 1,048,576 |
| GiB | 2³⁰ = 1,073,741,824 |
| TiB | 2⁴⁰ = 1,099,511,627,776 |
| PiB | 2⁵⁰ |
| EiB | 2⁶⁰ |
| ZiB | 2⁷⁰ |
| YiB | 2⁸⁰ |
2.3. Reading specifications
Specifications for RAM, storage, and operating systems sometimes use the same label while counting in different bases. Check how a number was calculated before comparing values. For example, dividing 1,000,000,000,000 bytes by 1,073,741,824 gives about 931.32 GiB. If a display calls that value GB, it is using binary counting with a decimal label.
2.4. Choosing a system
Use SI prefixes when comparing decimal specifications such as drive labels or network rates, and IEC prefixes when reporting a binary count. When in doubt, write the number of bytes and state the conversion factor.
3. Conversion resources
Use an online unit converter for checking arithmetic, but make sure it distinguishes GB from GiB. The lesson on representing and communicating information explains why computers use bits.
4. Practice exercises
4.1. Bits, bytes, and time
How many bytes are 80 bits? How many seconds are 750 ms?
80 ÷ 8 = 10 B. 750 ÷ 1,000 = 0.75 s.
4.2. Decimal conversions
Convert 2.5 GB to MB and calculate the ideal transfer rate of a 240 Mb/s link in MB/s.
2.5 × 1,000 = 2,500 MB. 240 ÷ 8 = 30 MB/s before overhead.
4.3. Binary conversions
Convert 3 GiB to MiB and 2,048 KiB to MiB.
3 × 1,024 = 3,072 MiB. 2,048 ÷ 1,024 = 2 MiB.