Data Storage Converter

Convert between bits, bytes, kilobytes, megabytes, gigabytes and terabytes, and the binary units (KiB, MiB, GiB, TiB) that operating systems often display. Decimal units step by 1,000, binary units by 1,024, and the difference is why a 1 TB drive shows as about 931 GB in Windows.

1 megabyte = 0.001 gigabytes. Formula: GB = MB × 0.001 (or MB ÷ 1,000)

1 megabyte in all data units
Bits (bit)8,000,000
Bytes (B)1,000,000
Kilobytes (KB)1,000
Gigabytes (GB)0.001
Terabytes (TB)0.000001
Kibibytes (KiB)976.5625
Mebibytes (MiB)0.95367432
Gibibytes (GiB)0.0009313226
Tebibytes (TiB)0.0000009095

Data storage units on this page

UnitSymbol1 unit equals
Bitbit0.125 B
ByteB1 B
KilobyteKB1,000 B
MegabyteMB1,000,000 B
GigabyteGB1,000,000,000 B
TerabyteTB1e12 B
KibibyteKiB1,024 B
MebibyteMiB1,048,576 B
GibibyteGiB1,073,741,800 B
TebibyteTiB1.09951e12 B

To convert, the value is first expressed in the base unit and then divided by the factor of the target unit, so any pair of units on this page can be converted in one step.

Common data conversions

FromTo
1 gigabyte1,000 MB
1 terabyte1,000 GB
1 gibibyte1,073.7418 MB
1 megabyte1,000 KB
1 byte8 bit
1 megabyte0.95367432 MiB
500 gigabytes465.66129 GiB
1 terabyte0.9094947 TiB

Why storage sizes never seem to match

Drive makers, phone specs and internet plans use decimal units: 1 GB = 1,000,000,000 bytes. Windows and many apps count in binary (1 GiB = 1,073,741,824 bytes) but label it GB. The two differ by 2.4% at kilo, 4.9% at mega, 7.4% at giga and 10% at tera. Neither is wrong, but mixing them produces the familiar missing space. Internet speeds add one more twist: they are quoted in megabits per second, and a byte is 8 bits, so a 100 Mbps connection downloads at most 12.5 MB per second.

Frequently asked questions

How many MB are in a GB?

1,000 MB in a decimal gigabyte, or 1,024 MiB in a binary gibibyte. Most storage and data plans use the decimal figure. See the MB to GB page.

How many GB are in a TB?

1,000 GB. A 2 TB drive holds 2,000 GB, which an operating system counting in binary displays as about 1,863 GiB.

What is the difference between MB and Mb?

MB is megabytes (storage) and Mb is megabits (network speed). There are 8 bits in a byte, so 80 Mb is 10 MB.

How many photos fit in a gigabyte?

Roughly 250 to 350 phone photos at 3 to 4 MB each, or about 10 minutes of 1080p video at a typical bitrate.

Related calculators

Last updated . Formulas are shown on the page and checked against the worked example.

Conversion factors are exact international definitions where one exists and standard reference values elsewhere. Results are rounded to 8 significant digits.