Data Storage Converter

Convert digital storage and data sizes: bits, bytes, kilobytes, megabytes, gigabytes and terabytes, in both decimal (1 KB = 1,000 bytes) and binary (1 KiB = 1,024 bytes) units, plus megabits for internet speeds.

Convert

Result

Type a value to convert it.

How to use the Data Storage Converter

  1. Type the data size you want to convert.
  2. Choose the unit you have and the unit you want.
  3. Check whether you need decimal (KB, MB, GB) or binary (KiB, MiB, GiB) units.

Your data stays on your device. This calculator runs entirely in your browser. Nothing you type is sent to our server or saved. Read our privacy policy.

Decimal and binary units

Decimal (SI)BytesBinary (IEC)Bytes
1 KB1,0001 KiB1,024
1 MB1,000,0001 MiB1,048,576
1 GB1,000,000,0001 GiB1,073,741,824
1 TB10121 TiB1,099,511,627,776

Why there are two kinds of gigabyte

Computers count in powers of two, so for years a “kilobyte” meant 1,024 bytes. Drive makers, phone networks and most of science use the normal metric meaning, 1,000. To stop the confusion, the binary sizes got their own names: kibibyte (KiB), mebibyte (MiB) and gibibyte (GiB). Windows still shows binary sizes with the old KB, MB and GB labels, while macOS, Android and iPhone use decimal units.

That is why a new 1 TB drive appears as about 931 GB in Windows: 1,000,000,000,000 ÷ 1,024³ ≈ 931. Nothing is missing.

Bits and internet speed

Internet speeds are sold in megabits per second (Mbps), while files are measured in megabytes. One byte is 8 bits, so divide Mbps by 8 to get MB per second. A 20 Mbps connection downloads a 500 MB file in about 500 ÷ 2.5 = 200 seconds, if everything goes at full speed.

Need a smaller file? Try the image compressor or compress PDF tool.

Frequently asked questions

Is 1 GB 1,000 MB or 1,024 MB?

Both are used. In decimal units, used by drive makers and phone plans, 1 GB = 1,000 MB. In binary units, used by Windows, 1 GiB = 1,024 MiB, even though Windows labels it GB.

Why does my 1 TB drive show about 931 GB?

The drive has 1,000,000,000,000 bytes (decimal). Windows divides by 1,024 three times, so it shows 931 “GB”, which are really GiB. No space is missing.

How do I convert internet speed in Mbps to MB per second?

Divide by 8, because a byte is 8 bits. A 40 Mbps connection downloads at most about 5 MB per second.