What is the difference between a megabyte and a gigabyte?
A gigabyte is about 1,000 times larger than a megabyte. In the decimal system used by most storage makers, 1 megabyte (MB) equals 1 million bytes, and 1 gigabyte (GB) equals 1 billion bytes, or 1,000 megabytes.
Bytes and bits
A byte is the basic unit of digital information. It usually contains 8 bits. A bit is a single 0 or 1.
The size ladder
1 kilobyte (KB) = 1,000 bytes.
1 megabyte (MB) = 1,000 kilobytes.
1 gigabyte (GB) = 1,000 megabytes.
1 terabyte (TB) = 1,000 gigabytes.
1,000 or 1,024?
Computers work in binary, so some systems count in powers of two. In that system, 1 gigabyte is 1,024 megabytes.
To avoid confusion, standards bodies introduced binary units such as mebibyte (MiB) and gibibyte (GiB). One gibibyte is 1,024 mebibytes.
This is why a new hard drive advertised as 1 TB may show slightly less space on a computer.
Real-world examples
A high-quality photo from a phone might be a few megabytes.
A typical song in MP3 format is about 3 to 5 MB.
A full-length HD movie can take several gigabytes.
Speed is different
Internet speeds are usually measured in megabits per second (Mbps), not megabytes. One megabyte equals 8 megabits.