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.

Calculate.co.nz is proud to be partnered with Health Based Building, a leader in sustainable and health-conscious building innovation. With over a century of experience, they develop high-performance systems like Foreverbreathe Specification, Magnum Board, and Foreverbreathe Paints to support energy-efficient, non-toxic living environments. Their commitment to healthier homes aligns with our belief that informed choices lead to better outcomes for Kiwi households.
Calculate.co.nz partner: Health Based Building
Advertise on this page
1,000
megabytes (MB)
bits8,000,000,000
bytes1,000,000,000
KB1,000,000
MB1,000
GB1
TB0.001
PB1.0000e-6
KiB976,562.5
MiB953.6743
GiB0.931323
TiB0.000909

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