How do you convert GB to TB, MB and GiB?
Two systems share the same letters. Decimal (SI) prefixes count in thousands: 1 kB = 1,000 bytes, 1 MB = 1,000,000, 1 GB = 10⁹ and 1 TB = 10¹². Binary (IEC) prefixes count in 1,024s: 1 KiB = 2¹⁰ bytes, 1 MiB = 2²⁰, 1 GiB = 2³⁰ and 1 TiB = 2⁴⁰. The converter works through bytes, with 8 bits to a byte.
Worked example
Convert 1 TB to GiB: 1 TB = 10¹² bytes. One GiB is 1,073,741,824 bytes. So 10¹² ÷ 1,073,741,824 = 931.3226 GiB. In decimal units it is simply 1,000 GB.
How much larger is the binary unit than the decimal one?
| Pair | Decimal bytes | Binary bytes | Binary is larger by |
|---|---|---|---|
| kB and KiB | 1,000 | 1,024 | 2.4% |
| MB and MiB | 1,000,000 | 1,048,576 | 4.8576% |
| GB and GiB | 1,000,000,000 | 1,073,742,000 | 7.374182% |
| TB and TiB | 1,000,000,000,000 | 1,099,512,000,000 | 9.951163% |
How much space does a drive show in binary units?
| Advertised (decimal) | In GiB | In TiB |
|---|---|---|
| 256 GB | 238.4186 | 0.2328306 |
| 512 GB | 476.8372 | 0.4656613 |
| 1,000 GB | 931.3226 | 0.9094947 |
| 2,000 GB | 1,862.645 | 1.818989 |
| 4,000 GB | 3,725.29 | 3.637979 |
How do megabits per second relate to megabytes?
Internet speeds are sold in bits and files are sized in bytes, so divide by 8.
| Megabits (Mb) | Megabytes (MB) |
|---|---|
| 8 Mb | 1 MB |
| 50 Mb | 6.25 MB |
| 100 Mb | 12.5 MB |
| 500 Mb | 62.5 MB |
| 1,000 Mb | 125 MB |
Questions people ask
Why does a 1 TB drive show less than 1 TB?
The maker counts 10¹² bytes, but some systems divide by 2³⁰ and label the result GB. 1 TB is 931.3226 GiB, so you see about 931. Nothing is missing; only the unit differs.
How many MB are in a GB?
In decimal units 1 GB = 1,000 MB. In binary units 1 GiB = 1,024 MiB. Storage makers and networks use decimal; many operating systems and RAM use binary.
What is the difference between GB and GiB?
GB (gigabyte) is 10⁹ bytes. GiB (gibibyte) is 2³⁰ = 1,073,741,824 bytes, about 7.374182% more. The IEC introduced KiB, MiB and GiB to remove the ambiguity.
What is the difference between a megabit and a megabyte?
A byte is 8 bits. 100 Mb = 12.5 MB, which is why a 100 Mb/s connection downloads at most about 12.5 MB per second.
Is it kB or KB?
The SI symbol for the decimal kilobyte is a lowercase kB. KiB is the binary kibibyte (1,024 bytes). In casual use KB can mean either, which is the confusion the binary prefixes were made to fix.
Sources
- NIST: Special Publication 811: Guide for the Use of the International System of Units
- NIST: SI units
- NIST: NIST Guide to the SI (SP 811), Appendix B.8: Factors for Units Listed Alphabetically
- NIST: Prefixes for binary multiples (kibi, mebi, gibi)
Related calculators
- Length converter: Metres, feet, inches, miles, kilometres and more
- Weight converter: Kilograms, pounds, ounces, stone and more
- Temperature converter: Celsius, Fahrenheit, Kelvin and Rankine
- Volume converter: Litres, gallons, cups, millilitres and more
- Area converter: Square feet, square metres, acres, hectares and more
- Speed converter: km/h, mph, m/s, knots and more
- Cooking converter: Cups, tablespoons, grams and oven temperatures
- Pressure converter: psi, bar, kPa, atm and mmHg
Published by wiseowlcalc · Last updated · Checked by wiseowlcalc against the sources above; not yet reviewed by a named professional (editorial policy).
Calculators give estimates for planning only. They are not financial, tax, legal or medical advice. Check important decisions with a qualified professional.