How Many MB in a GB? 1000 or 1024, and When Each Applies
How many MB in a GB: 1,000 by the decimal standard used for storage and data plans, or 1,024 in the binary system used for RAM. Includes a GB to MB chart.
Updated
There are 1,000 MB in a GB under the decimal (SI) definition, which is what storage manufacturers and network equipment use. Under the binary convention used for RAM and by Windows, a GB is 1,024 MB. Both answers are correct in their own context, and the difference is 2.4 percent.
The short answer
| System | 1 GB equals | Used by |
|---|---|---|
| Decimal (SI) | 1,000 MB, or 1,000,000,000 bytes | Hard drives, SSDs, USB sticks, macOS, network speeds |
| Binary | 1,024 MB, or 1,073,741,824 bytes | RAM, Windows file sizes, many command line tools |
To convert, multiply the number of gigabytes by 1,000 or 1,024. To go from MB to GB, divide by the same number. For example, 3,500 MB is 3.5 GB in decimal, or about 3.42 GB in binary.
Why there are two answers
The prefixes kilo, mega and giga come from the metric system, where they mean a thousand, a million and a billion. A kilometer is 1,000 meters, so by the same logic a gigabyte is 1,000 megabytes.
Computers, however, count in powers of two. Memory chips come in sizes like 256, 512 and 1,024, never a round 1,000. Early engineers noticed that 2 to the power 10, which is 1,024, was close to a thousand and borrowed the metric prefixes for it. For decades, "kilobyte" meant 1,024 bytes inside the computer and 1,000 bytes on the marketing material.
In 1998 the International Electrotechnical Commission settled the matter on paper by creating separate names for the binary units: kibibyte (KiB), mebibyte (MiB) and gibibyte (GiB). Under that standard, a GB is always 1,000 MB and the 1,024-based unit is a GiB, which equals 1,024 MiB. In practice, plenty of software still writes GB when it means GiB. The full story is in MiB vs MB.
Who uses which
- Storage makers: decimal. A 64 GB phone or memory card holds 64 billion bytes.
- RAM: binary. An 8 GB memory module holds 8 × 1,073,741,824 bytes.
- Windows: binary, but labeled GB. File Explorer divides by 1,024 at each step, which is why drives look smaller than advertised.
- macOS: decimal since version 10.6, so sizes match the box.
- Linux: mixed. Many command line tools default to powers of 1,024, while several desktop file managers use decimal.
- Internet speeds: decimal, and measured in bits, not bytes. See Bits vs Bytes.
- Mobile data plans: check the carrier's terms. Many carriers count 1 GB as 1,024 MB, but the definition is theirs to set.
GB to MB conversion chart
| GB | MB (decimal, × 1,000) | MB (binary, × 1,024) |
|---|---|---|
| 0.25 | 250 | 256 |
| 0.5 | 500 | 512 |
| 1 | 1,000 | 1,024 |
| 2 | 2,000 | 2,048 |
| 4 | 4,000 | 4,096 |
| 5 | 5,000 | 5,120 |
| 8 | 8,000 | 8,192 |
| 10 | 10,000 | 10,240 |
| 16 | 16,000 | 16,384 |
| 32 | 32,000 | 32,768 |
| 64 | 64,000 | 65,536 |
| 100 | 100,000 | 102,400 |
MB vs GB: which is bigger
A gigabyte is bigger. The units step up by a factor of about a thousand each time:
- Byte (B): one character of plain text.
- Kilobyte (KB): about a thousand bytes.
- Megabyte (MB): about a million bytes.
- Gigabyte (GB): about a billion bytes.
- Terabyte (TB): about a trillion bytes.
As a rule of thumb, individual photos, songs and documents are measured in MB, while movies, games, phone storage and data plans are measured in GB. For the step below this one, see KB vs MB, and for the step above, How Many GB in a TB.
What fits in 1 GB
File sizes vary a lot with quality settings, so treat these as estimates. Each one states the assumption behind it, using 1 GB as 1,000 MB.
| Content | Assumed size | Fits in 1 GB |
|---|---|---|
| Phone photos (JPEG) | 4 MB each | About 250 photos |
| Music (MP3 at 128 kbps) | About 1 MB per minute | About 17 hours |
| Songs (4 minutes at 128 kbps) | About 3.8 MB each | About 260 songs |
| Video at 5 Mbps (typical HD stream) | 2.25 GB per hour | About 27 minutes |
| Video at 1 Mbps (low resolution) | 0.45 GB per hour | About 2 hours 13 minutes |
| Plain text | 1 byte per character | A billion characters |
The video and audio rows come straight from arithmetic. A bitrate in megabits per second, divided by 8, gives megabytes per second. A 5 Mbps stream is 0.625 MB every second, or 2,250 MB an hour.
Does the difference matter?
At the megabyte and gigabyte level the gap is small: 24 MB per gigabyte. It compounds as the units get bigger, because each step multiplies by 1.024 again.
| Unit | Binary version is larger by |
|---|---|
| KB vs KiB | 2.4 percent |
| MB vs MiB | 4.9 percent |
| GB vs GiB | 7.4 percent |
| TB vs TiB | 10 percent |
That 7.4 percent is why a phone sold as 128 GB reports about 119 GB of total capacity on a system that counts in binary, before the operating system has used a single byte. Nothing is missing. The same number of bytes is being divided by a larger unit.
Using the converter
The Data Size Converter has a toggle at the top for the two systems: Binary (KiB/MiB), which uses 1,024, and SI Decimal (KB/MB), which uses 1,000. Enter a value, choose its unit, and a table shows the same amount in bytes, kilobytes, megabytes, gigabytes, terabytes and petabytes at once, each with a copy button.
Enter 1 with the unit set to GB. In decimal mode the MB row reads 1,000. Switch the toggle to binary and the units are relabeled GiB and MiB, with the MiB row reading 1,024. The labels follow the IEC names, so you always know which definition a result is using.
Try it
Open the Data Size Converter, enter the size of your phone's storage in GB, and flip between the two modes to see both megabyte figures. Other converters are in the numbers category.