What is the MB to GB Converter?
This tool converts a value in megabytes (MB) into gigabytes (GB). Because the computing industry uses two different conventions, the converter lets you pick the one that matches your situation: the decimal standard where 1 GB = 1000 MB, and the binary standard where 1 GB = 1024 MB.
How to use it
Enter the number of megabytes you want to convert, then choose whether to use the decimal or binary standard. The result updates to show the equivalent gigabytes along with the divisor that was applied. Use decimal when reading hard-drive or SSD capacities and most file sizes; use binary when matching what Windows reports for storage and memory.
The formula explained
The conversion is a simple division. In the decimal (SI) system, gigabytes equal megabytes divided by 1000. In the binary (IEC) system, gigabytes equal megabytes divided by 1024.
$$\text{GB} = \frac{\text{Megabytes (MB)}}{1000}$$$$\text{GB} = \frac{\text{Megabytes (MB)}}{1024}$$The binary value is technically a gibibyte (GiB), but it is commonly labelled GB by operating systems.
Worked example
Suppose you have a 2048 MB file. Using the binary standard: \(2048 \div 1024 = 2\) GB exactly. Using the decimal standard: \(2048 \div 1000 = 2.048\) GB. The same number of megabytes therefore gives slightly different gigabyte figures depending on the convention you select.
MB to GB Quick Conversion Table
The decimal (SI) standard uses 1 GB = 1000 MB, so GB = MB ÷ 1000. The binary convention uses 1 GB = 1024 MB, so GB = MB ÷ 1024. Strictly, the binary unit is called a gibibyte (GiB). Values are rounded to 3 decimals.
| Megabytes (MB) | Decimal GB (÷ 1000) | Binary GB (÷ 1024) |
|---|---|---|
| 100 | 0.100 | 0.098 |
| 256 | 0.256 | 0.250 |
| 500 | 0.500 | 0.488 |
| 512 | 0.512 | 0.500 |
| 1000 | 1.000 | 0.977 |
| 1024 | 1.024 | 1.000 |
| 2048 | 2.048 | 2.000 |
| 4096 | 4.096 | 4.000 |
| 5000 | 5.000 | 4.883 |
| 10000 | 10.000 | 9.766 |
Example: \(\text{GB} = \frac{5000}{1024} = 4.8828125 \approx 4.883\) under the binary standard.
Digital Storage Units Reference (Decimal vs Binary)
The SI (decimal) prefixes are powers of 1000. The IEC (binary) prefixes are powers of 1024. Storage manufacturers usually quote capacity in decimal units. Some operating systems report sizes in binary units, sometimes while still labelling them "GB".
| SI unit (decimal) | Bytes | IEC unit (binary) | Bytes | Binary is larger by |
|---|---|---|---|---|
| 1 KB (kilobyte) | 103 = 1,000 | 1 KiB (kibibyte) | 210 = 1,024 | 2.4% |
| 1 MB (megabyte) | 106 = 1,000,000 | 1 MiB (mebibyte) | 220 = 1,048,576 | about 4.86% |
| 1 GB (gigabyte) | 109 = 1,000,000,000 | 1 GiB (gibibyte) | 230 = 1,073,741,824 | about 7.37% |
| 1 TB (terabyte) | 1012 = 1,000,000,000,000 | 1 TiB (tebibyte) | 240 = 1,099,511,627,776 | about 9.95% |
At the GB level, \(1\ \text{GiB} = 1.073741824\ \text{GB}\), a gap of roughly 7.37%. The gap grows with each prefix step, which is why a drive sold as "1 TB" shows as about 931 GiB when an operating system reports in binary units.
Real-World Scenarios: File Sizes in GB
The table converts typical file sizes using both standards. Values are rounded to 4 decimals, and the difference is decimal minus binary.
| Item | Size (MB) | Decimal GB (÷ 1000) | Binary GB (÷ 1024) | Difference (GB) |
|---|---|---|---|---|
| Phone photo | 5 | 0.0050 | 0.0049 | about 0.0001 |
| CD-ROM capacity | 700 | 0.7000 | 0.6836 | 0.0164 |
| Large app | 1500 | 1.5000 | 1.4648 | 0.0352 |
| Single-layer DVD capacity | 4700 | 4.7 | 4.5898 | 0.1102 |
| Game update | 20000 | 20.0000 | 19.5313 | about 0.4688 |
Worked check for the DVD row: \(\frac{4700}{1000} = 4.7\) GB (decimal) and \(\frac{4700}{1024} = 4.58984375 \approx 4.5898\) GB (binary). The difference is \(4.7 - 4.5898 \approx 0.1102\) GB. The gap is a constant 2.34% of the decimal value (\(1 - \frac{1000}{1024}\)) at the MB-to-GB step, so it matters more for large files.
FAQ
Which standard should I use? Use decimal (÷1000) for storage device marketing and general file sizes; use binary (÷1024) to match what Windows or RAM specs display.
Why do my file sizes look different in Windows vs the label? Drives are sold using the decimal definition (1000), while Windows reports using the binary definition (1024), so a "500 GB" drive shows as roughly 465 GB in Windows.
Is 1 MB = 1024 KB? In the binary convention yes; in the decimal convention 1 MB = 1000 KB. This tool only converts MB to GB.