Data Converter

Convert bits, bytes, kilobytes, megabytes, gigabytes, and terabytes instantly.

Data Conversion Formulas

Digital storage is measured in bits and bytes. In binary (base-2), each prefix multiplies by 1,024. Storage manufacturers often use decimal (base-10) where each prefix multiplies by 1,000 — which is why your drive shows less space than advertised.

  • 1 byte = 8 bits
  • 1 kilobyte (KB) = 1,024 bytes
  • 1 megabyte (MB) = 1,024 KB = 1,048,576 bytes
  • 1 gigabyte (GB) = 1,024 MB = 1,048,576 KB = 1,073,741,824 bytes
  • 1 terabyte (TB) = 1,024 GB = 1,048,576 MB
  • 1 petabyte (PB) = 1,024 TB

Gigabytes to Megabytes Quick Reference

Gigabytes (GB)Megabytes (MB)
1 GB1,024 MB
2 GB2,048 MB
4 GB4,096 MB
8 GB8,192 MB
16 GB16,384 MB
32 GB32,768 MB
64 GB65,536 MB
128 GB131,072 MB
256 GB262,144 MB
512 GB524,288 MB
1,000 GB1,024,000 MB

Frequently Asked Questions

How many MB are in a GB?

1 gigabyte = 1,024 megabytes (using binary, base-2).

What is the difference between bits and bytes?

1 byte = 8 bits. Bits are the smallest data unit; bytes are typically used for file sizes.

How many bytes are in a kilobyte?

1 kilobyte = 1,024 bytes in binary (computing) or 1,000 bytes in decimal (SI).

How big is a terabyte?

1 terabyte = 1,024 gigabytes = 1,048,576 megabytes.