Data Storage Converter

Convert bits, bytes, kilobytes, megabytes, gigabytes, terabytes and petabytes, in both decimal (KB, MB, GB) and binary (KiB, MiB, GiB) units.

· CalcFlow Editorial

1 GB = 1,000 MB

Results shown are estimates for informational purposes only. Nothing on CalcFlow is financial, tax, legal, or medical advice. Always consult a qualified professional before making important decisions.

Common Data Storage Conversions

Gigabytes (10^9 B)Megabytes (1,000,000 B)BitsBytesKilobytes (1,000 B)Terabytes (10^12 B)
1 GB1,0008,000,000,0001,000,000,0001,000,0000.001
2 GB2,00016,000,000,0002,000,000,0002,000,0000.002
5 GB5,00040,000,000,0005,000,000,0005,000,0000.005
10 GB10,00080,000,000,00010,000,000,00010,000,0000.01
64 GB64,000512,000,000,00064,000,000,00064,000,0000.064
100 GB100,000800,000,000,000100,000,000,000100,000,0000.1
256 GB256,0002,048,000,000,000256,000,000,000256,000,0000.256
500 GB500,0004,000,000,000,000500,000,000,000500,000,0000.5
1,000 GB1,000,0008,000,000,000,0001,000,000,000,0001,000,000,0001

Formula

bits = value x unit factor (decimal: 1 kB = 1,000 B; binary: 1 KiB = 1,024 B; 1 byte = 8 bits)

Understanding Data Storage Conversion

Two systems share the same abbreviations in everyday talk. Decimal units follow SI prefixes: a kilobyte is 1,000 bytes and a gigabyte is 10^9 bytes. Binary units, standardized by the IEC as kibibyte, mebibyte and gibibyte, count in powers of 1,024. Drive makers advertise decimal gigabytes, while many operating systems report binary ones, which is why a "500 GB" drive appears as roughly 465 GiB.

Tips and Best Practices

  • 1Divide a decimal GB figure by 1.0737 to get GiB.
  • 2RAM is normally sold in binary multiples, while disk and network sizes use decimal.
  • 3A byte is 8 bits; lowercase b means bits and uppercase B means bytes.

Real-World Example

A drive sold as 500 GB holds 500 x 10^9 bytes, which is 500,000,000,000 / 1,073,741,824 = 465.66 GiB.

Common Mistakes to Avoid

  • Mixing bits and bytes, which is an eight-fold error.
  • Treating a kilobyte as always 1,024 bytes; under SI it is 1,000.
  • Expecting a new drive to show its full advertised size in the operating system.

How to Use

  1. Pick the unit you have in the left selector and the unit you want in the right selector.
  2. Type a number in either box; the other box updates instantly.
  3. Use the swap button to reverse the direction and Copy result to copy the answer.

Frequently Asked Questions

Q

How many MB are in a GB?

In decimal (SI) units there are 1,000 MB in a GB. In binary units there are 1,024 MiB in a GiB.
Q

Why does my 1 TB drive show less than 1 TB?

Makers use decimal terabytes (10^12 bytes) while many systems display binary tebibytes (1,024^4 bytes), so 1 TB shows as about 931 GiB.
Q

How many bits are in a byte?

There are 8 bits in one byte.

Sources: IEC 80000-13 and BIPM SI prefixes (decimal kB/MB/GB; binary KiB/MiB/GiB).