Digital Storage converters
31 conversions between 12 digital storage units. Every page includes a live converter, the formula and a full conversion table.
Units covered
| Unit | Symbol | In bytes |
|---|---|---|
| Byte | B | 1 |
| Kilobyte | KB | 1,000 |
| Megabyte | MB | 1,000,000 |
| Gigabyte | GB | 1,000,000,000 |
| Terabyte | TB | 1,000,000,000,000 |
| Petabyte | PB | 1.000000e+15 |
| Kibibyte | KiB | 1,024 |
| Mebibyte | MiB | 1,048,576 |
| Gibibyte | GiB | 1,073,741,824 |
| Bit | b | 0.125 |
| Megabit | Mb | 125,000 |
| Gigabit | Gb | 125,000,000 |
All digital storage conversions
- Bytes to Kilobytes
- Bytes to Megabytes
- Bytes to Gigabytes
- Bytes to Terabytes
- Bytes to Bits
- Kilobytes to Bytes
- Kilobytes to Megabytes
- Kilobytes to Gigabytes
- Kilobytes to Terabytes
- Kilobytes to Bits
- Megabytes to Bytes
- Megabytes to Kilobytes
- Megabytes to Gigabytes
- Megabytes to Terabytes
- Megabytes to Bits
- Gigabytes to Bytes
- Gigabytes to Kilobytes
- Gigabytes to Megabytes
- Gigabytes to Terabytes
- Gigabytes to Bits
- Terabytes to Bytes
- Terabytes to Kilobytes
- Terabytes to Megabytes
- Terabytes to Gigabytes
- Terabytes to Bits
- Kibibytes to Megabits
- Bits to Bytes
- Bits to Kilobytes
- Bits to Megabytes
- Bits to Gigabytes
- Bits to Terabytes
Why a 1 TB drive shows as 931 GB
Two different definitions of the prefixes are in use. Storage manufacturers use the decimal SI meaning, where a terabyte is 1012 bytes. Operating systems have traditionally used binary multiples, where the same quantity is 240 bytes. The drive is not smaller than advertised; the two systems are counting in different bases, and the gap widens with each prefix — 2.4% at kilo, 7.4% at giga, 10% at tera.
The IEC introduced kibibyte, mebibyte and gibibyte (KiB, MiB, GiB) for the binary meanings so that the SI prefixes could keep their decimal ones. Adoption is partial: Linux tools and macOS report decimal, Windows reports binary while labelling it "GB", and RAM is always sold in binary multiples regardless. Both conventions are available here so you can convert between them explicitly rather than guessing which one a number came from.