Data Storage Converter
Convert bytes, KB, MB, GB and TB to KiB, MiB, GiB and TiB, and see why a 1 TB drive shows 931 GB.
1,
as drive makers and macOS count · MB = GB × 1,000
1,
as Windows and RAM count, officially MiB · MB = GB × 1,024
In every unit of data storage
| Unit | Value |
|---|---|
| Byte | 1, |
| Kilobyte | 1, |
| Megabyte | 1, |
| Gigabyte | 1 GB |
| Terabyte | 0.001 TB |
| Mebibyte | 953.6743164 MiB |
| Gibibyte | 0.9313225746 GiB |
Converts data sizes between bits and bytes, the decimal units — kB, MB, GB, TB and PB — and the binary ones — KiB, MiB, GiB, TiB and PiB — plus kilobits, megabits and gigabits. Between units such as GB and MB it gives both answers in use, 1,000 and 1,024, each with its formula, and the same size in every other unit.
How to use it
Type a value and choose the units to convert from and to. The pickers accept gigs, bytes and other common spellings. Case tells bits from bytes: Mb is the megabit and MB the megabyte.
Between bytes, KB, MB, GB, TB and PB the result gives two answers: 1 GB = 1,000 MB, as drive makers and macOS count, and 1 GB = 1,024 MB, as Windows, RAM and most textbooks count. Each has its own copy button. Choose KiB, MiB, GiB, TiB or PiB, the official names of the 1024 units, or bits, for a single answer.
Values show in full, up to 10 significant figures and every whole-number digit. Sizes cannot be negative.
Why a 1 TB drive shows 931 GB
Drive makers count in decimal units: a terabyte is a trillion bytes and a gigabyte a billion. The binary units count in powers of 1024 instead, so a gibibyte is 1,073,741,824 B and every step up the scale widens the gap.
A 1 TB drive is therefore 931.3225746 GiB, or 0.9094947018 TiB. Software that counts in binary units shows it as 931 GiB — or as 931 GB, where it keeps the decimal names for binary units, as Windows does. Nothing is missing. Formatting the drive takes some space on top of that.
Both counts use the same names, so 1 TB to GB has two right answers: 1,000 GB, as the drive is sold, and 1,024 GB where each step is 1024. That is why the converter shows both.
A byte is 8 bits. The symbols tell them apart — b for bits, B for bytes — so a gigabit is 125 MB.
GiB = TB ÷ 0.001073741824
GiB = GB ÷ 1.073741824
MB = MiB × 1.048576
bit = B × 8
Examples
A 1 TB drive
1 TB is 931.3225746 GiB. Formula: GiB = TB ÷ 0.001073741824.
A file size in MiB
700 MiB is 734.0032 MB. Formula: MB = MiB × 1.048576.
Gigabits to megabytes
8 Gbit is 1,000 MB. Formula: MB = Gbit × 125.
Conversion tables
| Sold as | GiB | TiB |
|---|---|---|
| 128 GB | 119.2092896 | 0.1164153218 |
| 256 GB | 238.4185791 | 0.2328306437 |
| 500 GB | 465.6612873 | 0.4547473509 |
| 512 GB | 476.8371582 | 0.4656612873 |
| 1 TB | 931.3225746 | 0.9094947018 |
| 2 TB | 1,862.645149 | 1.818989404 |
| 4 TB | 3,725.290298 | 3.637978807 |
| 8 TB | 7,450.580597 | 7.275957614 |
| 16 TB | 14,901.16119 | 14.55191523 |
| Binary unit | Decimal unit | 1 binary unit is |
|---|---|---|
| KiB | kB | 1.024 kB |
| MiB | MB | 1.048576 MB |
| GiB | GB | 1.073741824 GB |
| TiB | TB | 1.099511628 TB |
| PiB | PB | 1.125899907 PB |
Definitions and sources
The decimal prefixes are the SI ones, counting in thousands. The binary prefixes — kibi, mebi, gibi, tebi and pebi — were standardised by the IEC to count in powers of 1024, so that kilo, mega and giga keep their decimal meaning. Storage makers state capacity in decimal units, while some operating systems and apps report it in binary ones.
Sources
- Definitions of the SI units: the binary prefixes — NIST
- How storage capacity is measured on Apple devices — Apple
Reviewed
See also
- Unit Converter — for data rates, such as Mbps to MB/s.
- Download Time Calculator — for how long a file of that size takes to download at your speed.
- Number Base Converter & Binary Calculator — for binary and hexadecimal numbers.