Byte Converter (KB, MB, GB, TB)

  • Tested against NIST's examples and 2,060 conversions checked with exact fractions in Python
  • Checked by Wayne Bickerton
  • Sources: NIST
  • Updated November 11, 2026

Gigabytes (GB), megabytes (MB) and the other decimal units go up in thousands (1 GB is 1,000 MB), while the binary units go up in steps of 1,024 (1 GiB is 1,024 MiB), which is why the same drive can show two sizes. Convert any amount of data between bytes, kilobytes (KB), megabytes, gigabytes, terabytes (TB) and petabytes (PB), or the binary kibibytes (KiB), mebibytes (MiB), gibibytes (GiB) and tebibytes (TiB).

In megabytes
1,000 MB Decimal (SI)

1 GB is 1,000 MB. Both are decimal units: each step is × 1,000.

Bytes 1,000,000,000
In MiB 953.6743 MiB
Bits 8,000,000,000

How to convert MB to GB (and any other unit)

Turn the amount into bytes, then divide by the bytes in the new unit. With the decimal units each step is × 1,000 (1 GB is 1,000 MB), and with the binary units each step is × 1,024 (1 GiB is 1,024 MiB).

Amount in the new unit = amount × bytes in the old unit ÷ bytes in the new unit

Here it is with your numbers:

  1. 1 GB is 10⁹ = 1,000,000,000 bytes.
  2. 1 MB is 10⁶ = 1,000,000 bytes.
  3. 1 × 1,000,000,000 ÷ 1,000,000 = 1,000 MB.

It means 1 GB is 1,000 MB.

Whole answers are exact; anything else is rounded to 7 significant figures.

Source NIST · SI prefixes ↗NIST · Prefixes for binary multiples ↗

Your amount in every unit

UnitNameAmount
Bbytes1,000,000,000
KBkilobytes1,000,000
MBmegabytes1,000
GBgigabytes1
TBterabytes0.001
PBpetabytes0.000001
KiBkibibytes976,562.5
MiBmebibytes953.6743
GiBgibibytes0.9313226
TiBtebibytes0.0009094947
PiBpebibytes0.0000008881784

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 TB1,000,000,000,0001 TiB1,099,511,627,776
1 PB1,000,000,000,000,0001 PiB1,125,899,906,842,624

The binary names were set by the International Electrotechnical Commission in 1998: kibi, mebi, gibi, tebi, short for kilobinary, megabinary and so on. Kilo, mega and giga keep their metric meanings of a thousand, a million and a billion.

Why does a 1 TB drive show 931 GB?

Drive makers count in decimal units, so a 1 TB drive holds 1,000,000,000,000 bytes. Count those bytes in binary units and you get 931.3226 GiB. If a computer counts in GiB but labels it “GB”, the drive looks smaller than the box says, though no space is missing.

On the boxBytesIn binary units
128 GB128,000,000,000119.2093 GiB
256 GB256,000,000,000238.4186 GiB
500 GB500,000,000,000465.6613 GiB
1 TB1,000,000,000,000931.3226 GiB
2 TB2,000,000,000,0001.818989 TiB
4 TB4,000,000,000,0003.637979 TiB

FAQs

How many MB is 1 GB of data?

1 GB is 1,000 MB with the standard (SI) prefixes, where giga is a billion and mega a million. In binary units, 1 GiB is 1,024 MiB.

Source NIST · SI prefixes ↗

Is 1000 or 1024 MB equal to a GB?

1,000 MB is 1 GB. 1,024 belongs to the binary units: 1,024 MiB (mebibytes) is 1 GiB (gibibyte), which is 1,073,741,824 bytes. Some software still writes “GB” when it means GiB, which is why both numbers turn up.

Source NIST · Prefixes for binary multiples ↗

Is 1024 GB equal to 1 TB?

No: 1 TB is 1,000 GB. 1,024 GiB is 1 TiB (tebibyte), and 1 TB is 931.3226 GiB.

Does 2000 GB equal 2 TB?

Yes. A terabyte is 1,000 gigabytes, so 2,000 GB is exactly 2 TB, or 2,000,000,000,000 bytes.

Source NIST · SI prefixes ↗

How many GB is a 2TB drive?

2,000 GB, as the maker counts it. In binary units that is 1,862.645 GiB, or 1.818989 TiB, which is the size some computers show.

Source NIST · Prefixes for binary multiples ↗

How much is 5GB of data in MB?

5 GB is 5,000 MB (5 × 1,000), or 4,768.372 MiB in binary units.

Source NIST · SI prefixes ↗

Is 100GB equal to 1 TB?

No: 1 TB is 1,000 GB, so 100 GB is a tenth of a terabyte (0.1 TB).

Sources

Related calculators