Data Storage Converter
Convert digital storage between decimal (SI) and binary (IEC) units.
From
To
- 1
Convert to the base unit
1 MB × 1,000,000 = 1,000,000 - 2
Convert to the target unit
1,000,000 ÷ 1,000,000,000 = 0.001000 GB
1 MB =
| Bit | 8,000,000 b |
| Byte | 1,000,000 B |
| Kilobyte | 1,000 KB |
| Gigabyte | 0.001 GB |
| Terabyte | 0.000001 TB |
| Kibibyte | 976.5625 KiB |
| Mebibyte | 0.953674 MiB |
| Gibibyte | 0.000931 GiB |
How this is calculated
Every unit is converted through a common base of bytes. The input value is first multiplied by its "to base" factor to get a byte count, then divided by the target unit's factor to produce the result, so any pair of units can be related without separate conversion tables.
Two families of factors are used. Decimal (SI) units are powers of 1000: 1 KB = 1000 B, 1 MB = 1000 KB (1000^2 B), 1 GB = 1000^3 B, 1 TB = 1000^4 B. Binary (IEC) units are powers of 1024: 1 KiB = 1024 B, 1 MiB = 1024^2 B, 1 GiB = 1024^3 B. A bit is one eighth of a byte (0.125 B), reflecting 8 bits per byte. Mixing families is fully supported, e.g. MB to GiB.
This is where "1 GB on the box vs less in the OS" confusion comes from: drives are sold in decimal GB/TB, while operating systems often report binary GiB/TiB under the same "GB" label. Results are exact rational multiples of the base, shown rounded to the configured precision; no rounding happens inside the chain, only on display.
Frequently asked questions
In decimal (SI) units, 1 GB = 1000 MB. In binary, 1 GiB = 1024 MiB.
Also known as
TG we-Calculate Editorial Team. (2026). Data Storage Converter [Online calculator]. TG we-Calculate. https://we-calculate.com/calculator/data-storage-converter
TG we-Calculate Editorial Team. "Data Storage Converter." TG we-Calculate. 2026. https://we-calculate.com/calculator/data-storage-converter.
TG we-Calculate Editorial Team, "Data Storage Converter," TG we-Calculate, 2026. [Online]. Available: https://we-calculate.com/calculator/data-storage-converter
@misc{wecalculate_data_storage_converter, title = {Data Storage Converter}, author = {{TG we-Calculate Editorial Team}}, howpublished = {\url{https://we-calculate.com/calculator/data-storage-converter}}, year = {2026}, note = {TG we-Calculate} }
Did this calculator help you?
