Data size converter

Convert between bits, bytes, KB, MB, GB and TB using binary (1024) units, as your computer shows file sizes.

Kilobytes (KB)
0.00012207
Megabytes (MB)
0.000000119209
Gigabytes (GB)
0.000000000116415
Terabytes (TB)
0.000000000000113687
How we calculated it
  1. 1 · Bits (b) = 0.125 · Bytes (B)
  2. 1 · Bytes (B) = 8 · Bits (b)

Last updated: October 2026 · Report a calculation error

Bits, bytes, kilobytes — how to convert them

1 byte is 8 bits. The converter treats larger units as binary, as operating systems do: 1 KB = 1,024 B, 1 MB = 1,024 KB, 1 GB = 1,024 MB, 1 TB = 1,024 GB.

Why does a 1 TB drive show 931 GB?

Drive and memory makers use decimal units: 1 TB = 1,000,000,000,000 bytes. Windows counts in binary (1 GB = 1,024³ bytes), so the same drive shows as 931.3 GB. A “500 GB” drive shows about 465.7 GB. Nothing is missing — it’s two definitions.

The IEC standard names binary units KiB, MiB and GiB (kibibyte, mebibyte, gibibyte), but in practice KB, MB and GB are used for both.

Internet speed: megabits vs megabytes

Providers quote speed in megabits per second (Mb/s, small “b”), while browsers show downloads in megabytes (MB/s, capital “B”). A 100 Mb/s connection downloads at most 12.5 MB/s (decimal), or about 11.9 MB/s in binary. Work out how long a file takes with the download time calculator.

Conversion table

Unit= B= MB
1 b0.1250.000000119209
1 B10.000000953674
1 KB1,0240.000976563
1 MB1,048,5801
1 GB1,073,740,0001,024
1 TB1,099,510,000,0001,048,580

Values calculated with the converter’s exact factors and rounded to 6 significant figures.

Frequently asked questions

How many megabytes are in a gigabyte?

In binary (Windows, RAM) — 1,024 MB. In decimal (drive makers, macOS since 2009) — 1,000 MB.

How many bits are in a byte?

8. That is why a speed in megabits is divided by 8 to get megabytes per second.

What is 1 GB in MB?

1 GB = 1,024 MB.

What is 1 TB in GB?

1 TB = 1,024 GB.

See alsoWhole category

  1. CV-01Length converterConvert between metres, kilometres, inches, feet, yards and miles.
  2. CV-02Weight converterConvert between kilograms, grams, pounds and ounces.
  3. CV-03Temperature converterConvert temperatures between Celsius, Fahrenheit and Kelvin instantly — for cooking, weather and science.
  4. CV-04Speed converterConvert between km/h, m/s, miles per hour and knots.