Data size converter: GB, MB, TB and GiB
Convert GB to MB, MB to GB, TB to GB and GiB to GB. See decimal (1000) and binary (1024) units side by side, with exact byte counts.
1 GB = 1,000,000,000 bytes
| Unit | Value |
|---|---|
| bits | 8,000,000,000 |
| kilobits (kb) | 8,000,000 |
| megabits (Mb) | 8,000 |
| gigabits (Gb) | 8 |
| bytes (B) | 1,000,000,000 |
| kilobytes (KB) | 1,000,000 |
| megabytes (MB) | 1,000 |
| gigabytes (GB) | 1 |
| terabytes (TB) | 0.001 |
| petabytes (PB) | 0.000001 |
| kibibytes (KiB) | 976,562.5 |
| mebibytes (MiB) | 953.67432 |
| gibibytes (GiB) | 0.93132257 |
| tebibytes (TiB) | 0.0009094947 |
| pebibytes (PiB) | 8.8817842e-7 |
Two ways to count a gigabyte
Data sizes use two sets of prefixes. The decimal (SI) prefixes go up in steps of 1,000: 1 kilobyte (KB) is 1,000 bytes, 1 megabyte (MB) is 1,000,000 bytes and 1 gigabyte (GB) is 1,000,000,000 bytes. The binary prefixes, standardised by the International Electrotechnical Commission in 1998, go up in steps of 1,024: 1 kibibyte (KiB) is 1,024 bytes, 1 mebibyte (MiB) is 1,048,576 bytes and 1 gibibyte (GiB) is 1,073,741,824 bytes.
Storage makers measure capacity in decimal units, so a 128 GB phone or a 1 TB drive holds 128 or 1,000 billion bytes. Some software divides by 1,024 instead and still writes "GB". That is why the same drive can look smaller on a computer than on the box. Our guide to GB vs GiB explains where each system is used.
How big is the gap?
The difference grows with each step, because the extra 24 compounds:
| Decimal unit | Binary unit | Binary is larger by |
|---|---|---|
| 1 KB = 1,000 bytes | 1 KiB = 1,024 bytes | 2.4% |
| 1 MB = 1,000,000 bytes | 1 MiB = 1,048,576 bytes | 4.9% |
| 1 GB = 109 bytes | 1 GiB = 1,073,741,824 bytes | 7.4% |
| 1 TB = 1012 bytes | 1 TiB = 1,099,511,627,776 bytes | 10.0% |
So 1 TB is about 931 GiB, and 128 GB is about 119.2 GiB. No space is missing; it is the same number of bytes written in a bigger unit.
Bits and bytes
A byte is 8 bits. File sizes and storage are counted in bytes (capital B), while network speeds are counted in bits per second (small b), such as Mbps. To turn a connection speed into a download rate, use the Mbps to MB/s converter, or work out a whole download with the download time calculator.
Worked examples
- 1 GB to MB: 1 × 1,000 = 1,000 MB. In binary, 1 GiB = 1,024 MiB.
- 5,000 MB to GB: 5,000 ÷ 1,000 = 5 GB.
- 2 TB to GB: 2 × 1,000 = 2,000 GB, which a binary display shows as about 1,863 GiB.
- 16 GiB of RAM in GB: 16 × 1.073741824 = about 17.18 GB. Memory is built in powers of two, so RAM sizes are binary even when labelled "GB".
Sources
- NIST: Prefixes for binary multiples (IEC 60027-2)
- Apple Support: How storage capacity is measured on Apple devices
Frequently asked questions
1 GB is how many MB?
In the decimal units used for storage and data, 1 GB is 1,000 MB. In binary units, 1 GiB is 1,024 MiB; some software writes this as 1 GB = 1,024 MB.
How many GB are in 1 TB?
1 TB is 1,000 GB. A computer that counts in binary will show a 1 TB drive as about 931 GB (really GiB).
What is the difference between GB and GiB?
A GB is 1,000,000,000 bytes and a GiB is 1,073,741,824 bytes, about 7.4% more. GiB is the binary unit defined by the IEC.
What is the order of data units from smallest to largest?
Bit, byte (8 bits), kilobyte (KB), megabyte (MB), gigabyte (GB), terabyte (TB) and petabyte (PB). Each decimal step is 1,000 times the one before.
Is Mb the same as MB?
No. Mb (small b) is a megabit and MB (capital B) is a megabyte. One megabyte is 8 megabits.



