Digital Storage Converter
Use this converter to express a byte quantity in either decimal storage units or IEC binary units. Decimal KB, MB, GB, and TB use powers of 1,000. Binary KiB, MiB, GiB, and TiB use powers of 1,024. The distinct labels prevent a result based on one convention from being presented as the other.
Choose the unit shown by your file, device, operating system, or specification. The converter first changes the input to bytes and then divides by the target unit’s byte factor:
Decimal storage units
The SI prefixes are decimal:
| Unit | Bytes |
|---|---|
| 1 KB | 1,000 |
| 1 MB | 1,000,000 |
| 1 GB | 1,000,000,000 |
| 1 TB | 1,000,000,000,000 |
With the default units, 1 GB = 1,000 MB.
IEC binary storage units
IEC binary prefixes name powers of 1,024:
| Unit | Bytes |
|---|---|
| 1 KiB | 1,024 |
| 1 MiB | 1,048,576 |
| 1 GiB | 1,073,741,824 |
| 1 TiB | 1,099,511,627,776 |
For example, 1 GiB = 1,024 MiB. Converting 1 GB to GiB instead gives approximately 0.931323 GiB because the byte factors differ.
If you need a transfer-rate conversion, use the data transfer rate converter. For base notation rather than storage units, use the binary converter.
Sources
- NIST, Metric SI prefixes — “SI Prefix Definitions” table: kilo is
10^3, mega10^6, giga10^9, and tera10^12. - IEC, Prefixes for binary multiples — table defining Ki, Mi, Gi, and Ti as
2^10,2^20,2^30, and2^40. - NIST, SP 800-88 Rev. 1, Appendix A — glossary entry defining a byte as a group of eight bits.