Megabytes to Gigabytes Converter
Test cases replayed : 3 of 3 match · Methodology · No outside source listed
Pick the direction and whether one GB counts 1,000 or 1,024 MB.
Result
Gigabytes (GB)
Megabytes (MB)
- Gigabytes with the other rule
Estimate for planning only, not tax, legal, financial or medical advice. This calculator uses the method explained on this page.
This browser did not allow copying. The sentence is in the box below, already selected: copy it with your keyboard or the menu.
How to use this calculator
Fill in the fields in this order; each step takes you to its field.
- Convert: choose Megabytes to Gigabytes or Gigabytes to Megabytes.
- Amount (MB or GB): enter 0 or more.
- Rule: choose Decimal (SI): 1 GB = 1,000 MB or Binary: 1 GB = 1,024 MB (Ki/Mi/Gi).
- Read the result: Gigabytes (GB); the panel also shows Megabytes (MB) and Gigabytes with the other rule.
How this calculator works
Decimal rule: GB = MB ÷ 1,000, since the SI prefixes kilo, mega and giga are 10³, 10⁶ and 10⁹ (NIST table of SI prefixes (physics.nist.gov/cuu/Units/prefixes.html, read 2026-10-27)).
Binary rule: GB = MB ÷ 1,024. The IEC names these binary multiples kibi (2¹⁰), mebi (2²⁰) and gibi (2³⁰), with symbols KiB, MiB and GiB (NIST page on prefixes for binary multiples (physics.nist.gov/cuu/Units/binary.html, read 2026-10-27)). Storage makers label drives in decimal units while many operating systems count in binary ones, which is why a drive looks smaller once installed.
The formula
| Symbol | Meaning | Unit |
|---|---|---|
| Convert (1: Megabytes to Gigabytes; 2: Gigabytes to Megabytes) | ||
| Amount | MB or GB | |
| Rule | ||
| Gigabytes | GB |
Worked example
| Convert | Megabytes to Gigabytes |
|---|---|
| Amount (MB or GB) | 5,000 |
| Rule | Decimal (SI): 1 GB = 1,000 MB |
| Megabytes (MB) | 5,000 |
|---|---|
| Gigabytes with the other rule | 4.8828 |
Gigabytes (GB) 5
Each step uses the unrounded value of the step before it; figures on this page are rounded for display.
Frequently asked questions
How many GB is 5000 MB?
5 GB with the decimal rule, 4.8828 GB with the binary rule.
How many MB are in 2 GB?
2,000 MB (decimal) or 2,048 MB (binary).