Data Storage Converter
This data storage converter converts between the most common digital storage units in both the SI decimal system and the IEC binary system: bits, bytes, kilobytes (KB), megabytes (MB), gigabytes (GB), terabytes (TB), petabytes (PB), kibibytes (KiB), mebibytes (MiB), gibibytes (GiB), and tebibytes (TiB). The distinction between SI and binary matters because storage hardware manufacturers use SI definitions where 1 GB equals exactly 1,000,000,000 bytes, while operating systems like Windows have traditionally reported storage using binary definitions where 1 GiB equals 1,073,741,824 bytes. This is why a hard drive labelled 1 TB appears as approximately 931 GiB in Windows. The converter uses bits as its internal reference: all inputs are converted to bits using exact multiplication, and all outputs are derived from that bits figure. Eight bits make one byte, and all other conversions follow exactly from there. You select the unit you are starting from, enter a value, and all ten other equivalents appear immediately in both columns. The tool is useful for understanding why a drive appears smaller than labelled, for comparing file size specifications across different platforms, for network bandwidth calculations (which use bits), and for storage planning. This tool does not distinguish between decimal kilobytes (1,000 bytes) and the older ambiguous KB that sometimes meant 1,024 bytes; it follows the IEC 80000-13 standard strictly for binary prefixes.
How it works
The converter converts all inputs to bits first: 1 byte = 8 bits; 1 KB = 8,000 bits; 1 MB = 8,000,000 bits; 1 GB = 8,000,000,000 bits; 1 TB = 8,000,000,000,000 bits; 1 PB = 8 x 10^15 bits; 1 KiB = 8,192 bits; 1 MiB = 8,388,608 bits; 1 GiB = 8,589,934,592 bits; 1 TiB = 8,796,093,022,208 bits. All output values are derived by dividing the total bits by each unit's factor. SI units use powers of 10 and binary (IEC) units use powers of 2.
Worked example
Starting from 1 GB: 1 times 8,000,000,000 gives 8,000,000,000 bits. Dividing by 8 gives 1,000,000,000 bytes. Dividing by 8,000,000 gives 1,000 MB (SI). Dividing by 8,388,608 gives 953.67 MiB (binary). These match the default values pre-filled in the converter above.
Related calculators
- Numeral System Converter: convert integers between decimal, binary, octal and hexadecimal.
- Binary Hex Octal Decimal Converter: enter any value in any base and see all four simultaneously.
- IP Subnet Calculator: calculate network address, broadcast and host count from IP and prefix length.
- Percent Error Calculator: find the percentage difference between reported and actual storage values.
- RAID Calculator: Work out usable storage, space efficiency and fault tolerance for RAID 0, 1, 5, 6 and 10 arrays from your drive count...