Data Storage Converter

Convert between bits, bytes, kilobytes, megabytes, gigabytes, terabytes and petabytes, in both decimal (KB, MB, GB = 1000) and binary (KiB, MiB, GiB = 1024) units. Results update as you type, with formulas and conversion tables.

Decimal vs binary units: why your 1 TB drive shows 931 GB

Storage makers use decimal (SI) units: 1 KB = 1,000 bytes, 1 MB = 1,000,000 bytes, 1 GB = 1,000,000,000 bytes. Windows and older software count in binary units of 1,024 but still label them KB, MB and GB. The correct binary names are KiB, MiB and GiB. That is why a 1 TB drive (10¹² bytes) appears as about 931 “GB” (931 GiB) in Windows.

  • 1 GB = 1,000 MB (decimal); 1 GiB = 1,024 MiB (binary); 1 GB ≈ 0.931 GiB.
  • Bits and bytes: 1 byte = 8 bits. Internet speeds are in megabits per second (Mbps), so a 100 Mbps connection downloads about 12.5 MB per second.

Common data storage conversion factors

UnitEqualsReverse
1 gigabyte1,000 MB1 megabyte = 0.001 GB
1 megabyte1,000 KB1 kilobyte = 0.001 MB
1 terabyte1,000 GB1 gigabyte = 0.001 TB
1 gigabyte0.9313225746 GiB1 gibibyte = 1.073741824 GB
1 megabit0.125 MB1 megabyte = 8 Mb
1 kilobyte1,000 B1 byte = 0.001 KB
1 petabyte1,000 TB1 terabyte = 0.001 PB
1 gibibyte1,024 MiB1 mebibyte = 0.0009765625 GiB
1 terabyte0.9094947018 TiB1 tebibyte = 1.099511628 TB
1 byte8 b1 bit = 0.125 B

Data storage conversions

Each of these has its own page with the formula, worked examples and a full conversion table:

All data storage units on this converter

UnitSymbol1 unit equalsSystem
Bitb0.125 BBits
Kilobitkb125 BBits
MegabitMb1,25,000 BBits
GigabitGb12,50,00,000 BBits
TerabitTb1,25,00,00,00,000 BBits
ByteB1 BDecimal (SI, 1000)
KilobyteKB1,000 BDecimal (SI, 1000)
MegabyteMB10,00,000 BDecimal (SI, 1000)
GigabyteGB1,00,00,00,000 BDecimal (SI, 1000)
TerabyteTB10,00,00,00,00,000 BDecimal (SI, 1000)
PetabytePB1 × 10¹⁵ BDecimal (SI, 1000)
KibibyteKiB1,024 BBinary (IEC, 1024)
MebibyteMiB10,48,576 BBinary (IEC, 1024)
GibibyteGiB1,07,37,41,824 BBinary (IEC, 1024)
TebibyteTiB10,99,51,16,28,000 BBinary (IEC, 1024)
PebibytePiB1.1258999 × 10¹⁵ BBinary (IEC, 1024)

Frequently asked questions

Is 1 GB 1000 MB or 1024 MB?

Officially (SI) 1 GB = 1,000 MB. In binary units 1 GiB = 1,024 MiB, which Windows displays as “GB”. This converter offers both.

How many MB are in 1 Mb?

1 megabit (Mb) = 0.125 megabytes (MB), because a byte is 8 bits. Lower-case b means bits.

Why does my 1 TB hard drive show 931 GB?

The drive has 1,000,000,000,000 bytes. Windows divides by 1,024³ and shows 931 “GB”, which are really GiB. No space is missing.