Data Storage Converter

Convert digital storage between bits, bytes, kilobytes, megabytes, gigabytes, terabytes and the binary units KiB, MiB, GiB and TiB.

How to use the Data Storage Converter

  1. Type the value you want to convert in the first box.
  2. Choose the unit you are converting from and the unit you want to convert to.
  3. Read the result instantly. Use the swap button to reverse the direction, or copy the result with one click.

Popular data storage conversions

ConversionResultFormula
Gigabytes to megabytes1 GB = 1,000 MBmegabytes = gigabytes × 1,000
Megabytes to gigabytes1 MB = 0.001 GBgigabytes = megabytes ÷ 1,000
Megabytes to kilobytes1 MB = 1,000 kBkilobytes = megabytes × 1,000
Kilobytes to megabytes1 kB = 0.001 MBmegabytes = kilobytes ÷ 1,000
Terabytes to gigabytes1 TB = 1,000 GBgigabytes = terabytes × 1,000
Gigabytes to terabytes1 GB = 0.001 TBterabytes = gigabytes ÷ 1,000
Kilobytes to bytes1 kB = 1,000 Bbytes = kilobytes × 1,000
Bytes to kilobytes1 B = 0.001 kBkilobytes = bytes ÷ 1,000
Gigabytes to gibibytes1 GB = 0.931323 GiBgibibytes = gigabytes × 0.93132257
Gibibytes to gigabytes1 GiB = 1.07374 GBgigabytes = gibibytes × 1.0737418
Megabytes to bytes1 MB = 1,000,000 Bbytes = megabytes × 1,000,000
Bytes to megabytes1 B = 0.000001 MBmegabytes = bytes ÷ 1,000,000
Gigabytes to kilobytes1 GB = 1,000,000 kBkilobytes = gigabytes × 1,000,000
Kilobytes to gigabytes1 kB = 0.000001 GBgigabytes = kilobytes ÷ 1,000,000
Terabytes to tebibytes1 TB = 0.909495 TiBtebibytes = terabytes × 0.9094947
Tebibytes to terabytes1 TiB = 1.09951 TBterabytes = tebibytes × 1.0995116
Megabytes to mebibytes1 MB = 0.953674 MiBmebibytes = megabytes × 0.95367432
Mebibytes to megabytes1 MiB = 1.04858 MBmegabytes = mebibytes × 1.048576
Bits to bytes1 bit = 0.125 Bbytes = bits ÷ 8
Bytes to bits1 B = 8 bitbits = bytes × 8
Kilobytes to kibibytes1 kB = 0.976563 KiBkibibytes = kilobytes ÷ 1.024
Kibibytes to kilobytes1 KiB = 1.024 kBkilobytes = kibibytes × 1.024
Terabytes to megabytes1 TB = 1,000,000 MBmegabytes = terabytes × 1,000,000
Megabytes to terabytes1 MB = 0.000001 TBterabytes = megabytes ÷ 1,000,000
Gigabytes to bytes1 GB = 1,000,000,000 Bbytes = gigabytes × 1,000,000,000
Bytes to gigabytes1 B = 0.000000001 GBgigabytes = bytes ÷ 1,000,000,000

Supported data storage units

UnitSymbolEqual to
Bitbit1 bit
Nibblenibble4 bit
ByteB8 bit
KilobytekB8,000 bit
MegabyteMB8,000,000 bit
GigabyteGB8,000,000,000 bit
TerabyteTB8,000,000,000,000 bit
PetabytePB8 × 1015 bit
ExabyteEB8 × 1018 bit
KibibyteKiB8,192 bit
MebibyteMiB8,388,608 bit
GibibyteGiB8,589,934,592 bit
TebibyteTiB8,796,093,022,208 bit
PebibytePiB9.0072 × 1015 bit
Kilobitkbit1,000 bit
MegabitMbit1,000,000 bit
GigabitGbit1,000,000,000 bit

Decimal versus binary units

There are two ways to count storage. Decimal units use powers of 1,000: 1 MB = 1,000,000 bytes and 1 GB = 1,000 MB. Drive makers and network speeds use these. Binary units use powers of 1,024: 1 MiB = 1,048,576 bytes and 1 GiB = 1,024 MiB. Memory (RAM) is sized this way, and Windows reports disk space in binary units while labelling them “GB”.

That is why a 1 TB drive shows as about 931 GB in Windows: 1,000,000,000,000 bytes ÷ 1,024³ = 931.3 GiB. No space is missing.

Bits and bytes

A byte is 8 bits. Storage is measured in bytes (capital B), while connection speeds are measured in bits per second (lower-case b).

Frequently asked questions

How many MB are in a GB?

There are 1,000 megabytes in a gigabyte (decimal). In binary units, one gibibyte (GiB) is 1,024 mebibytes (MiB).

Why does my 1 TB drive show 931 GB?

The drive holds 1,000,000,000,000 bytes. Windows divides by 1,024³ and shows 931 "GB", which are really gibibytes.

How many bytes are in a kilobyte?

A kilobyte (kB) is 1,000 bytes. A kibibyte (KiB) is 1,024 bytes.

What is the difference between a bit and a byte?

A bit is a single 0 or 1. A byte is a group of 8 bits.