How to convert data storage
There are two systems. Storage makers and the SI system use decimal prefixes: 1 GB = 1,000 MB. Computers address memory in powers of two, so the IEC created binary units: 1 GiB = 1,024 MiB. A byte is 8 bits. A 1 TB drive holds 1,000,000,000,000 bytes, which is 931.32 GiB — the number Windows shows, labelled “GB”.
The formula
Common conversions
Gigabytes to megabytes
| Gigabytes | Megabytes |
|---|---|
| 1 GB | 1,000 MB |
| 2 GB | 2,000 MB |
| 5 GB | 5,000 MB |
| 10 GB | 10,000 MB |
| 100 GB | 100,000 MB |
Megabytes to gigabytes
| Megabytes | Gigabytes |
|---|---|
| 100 MB | 0.1 GB |
| 500 MB | 0.5 GB |
| 1,000 MB | 1 GB |
| 2,500 MB | 2.5 GB |
| 5,000 MB | 5 GB |
Terabytes to gigabytes
| Terabytes | Gigabytes |
|---|---|
| 0.5 TB | 500 GB |
| 1 TB | 1,000 GB |
| 2 TB | 2,000 GB |
| 4 TB | 4,000 GB |
| 8 TB | 8,000 GB |
Gigabytes to gibibytes
| Gigabytes | Gibibytes |
|---|---|
| 1 GB | 0.93132257 GiB |
| 128 GB | 119.20929 GiB |
| 256 GB | 238.41858 GiB |
| 512 GB | 476.83716 GiB |
| 1,000 GB | 931.32257 GiB |
Sources: factors are the exact international definitions — BIPM SI Brochure, NIST Special Publication 811 and, for binary data units, IEC 80000-13.
Use the data storage converter
Type a value, pick the unit you have and the unit you want, and the answer appears with every other unit in the same family listed below it. Use the swap button to flip the two units. Under Go advanced you can set how many digits the result shows.
Popular conversions
Other converters
- Length Converter
- Weight Converter
- Volume Converter
- Temperature Converter
- Area Converter
- Speed Converter
- Cooking Measurement Converter
- PX to REM Converter
Also see the Recipe Converter, which scales and converts a whole recipe at once.
Common questions
How many MB are in a GB?
1 GB = 1,000 MB in the decimal system used by storage makers and networks, and 1 GiB = 1,024 MiB in the binary system.
Why does my 1 TB drive show less than 1 TB?
The drive is sold in decimal units: 1 TB is 931.32 GiB. Windows divides by 1,024 but still writes “GB”, so a 1 TB drive shows about 931.3 GB. macOS uses decimal units, so it shows 1 TB.
How many bytes are in a kilobyte?
1,000 bytes in the decimal system (1 KB = 1,000 B) and 1,024 bytes in the binary system (1 KiB = 1,024 B).
What is the difference between MB and Mb?
A capital B is bytes and a small b is bits: 1 MB = 8 Mb. Internet speeds are sold in megabits per second, so a 100 Mbps connection moves at most 12.5 MB of data per second.
How many GB are in a TB?
1 TB = 1,000 GB decimal, or 1 TiB = 1,024 GiB binary. A 256 GB phone is 238.42 GiB.