Data storage conversion factors
How many base units (bytes) are in one of each unit. Multiply by the factor to convert into bytes; divide to convert back.
| Unit | Symbol | 1 unit in B | 1 unit in MB |
|---|---|---|---|
| Bit | bit | 0.125 | 0.000000125 |
| Byte | B | 1 | 0.000001 |
| Kilobit | kb | 125 | 0.000125 |
| Megabit | Mb | 125,000 | 0.125 |
| Gigabit | Gb | 125,000,000 | 125 |
| Kilobyte | KB | 1,000 | 0.001 |
| Megabyte | MB | 1,000,000 | 1 |
| Gigabyte | GB | 1,000,000,000 | 1,000 |
| Terabyte | TB | 1,000,000,000,000 | 1,000,000 |
| Petabyte | PB | 1 × 10^15 | 1,000,000,000 |
| Kibibyte | KiB | 1,024 | 0.001024 |
| Mebibyte | MiB | 1,048,576 | 1.048576 |
| Gibibyte | GiB | 1,073,741,824 | 1,073.7418 |
| Tebibyte | TiB | 1,099,511,627,776 | 1,099,511.6 |
Decimal vs binary: why "GB" can mean two things
In the decimal system each step is 1,000. In the binary system each step is 1,024, and the official names are kibibyte (KiB), mebibyte (MiB), gibibyte (GiB) and tebibyte (TiB). The gap grows with each step:
| Decimal unit | Bytes | Binary unit | Bytes | Difference |
|---|---|---|---|---|
| KB | 1,000 | KiB | 1,024 | 2.4% |
| MB | 1,000,000 | MiB | 1,048,576 | 4.86% |
| GB | 1,000,000,000 | GiB | 1,073,741,824 | 7.37% |
| TB | 1,000,000,000,000 | TiB | 1,099,511,627,776 | 9.95% |
Network speeds are quoted in bits per second, not bytes: a 100 Mbps connection moves at most 12.5 MB per second, because one byte is 8 bits.