Skip to content
FiftyCalc Free calculators for all 50 states

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

Sample figures

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.

Megabytes to Gigabytes Converter

Convert

Convert: choose Megabytes to Gigabytes or Gigabytes to Megabytes. Prefilled example: Megabytes to Gigabytes.

Amount (MB or GB): enter 0 or more. Prefilled example: 5,000.

Rule: choose Decimal (SI): 1 GB = 1,000 MB or Binary: 1 GB = 1,024 MB (Ki/Mi/Gi). Prefilled example: Decimal (SI): 1 GB = 1,000 MB.

How to use this calculator

Fill in the fields in this order; each step takes you to its field.

  1. Convert: choose Megabytes to Gigabytes or Gigabytes to Megabytes.
  2. Amount (MB or GB): enter 0 or more.
  3. Rule: choose Decimal (SI): 1 GB = 1,000 MB or Binary: 1 GB = 1,024 MB (Ki/Mi/Gi).
  4. 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

  1. Big={vbif m=1votherwise
Symbols used in the formula
SymbolMeaningUnit
mConvert (1: Megabytes to Gigabytes; 2: Gigabytes to Megabytes)
vAmountMB or GB
bRule
BigGigabytesGB

Worked example

ConvertMegabytes to Gigabytes
Amount (MB or GB)5,000
RuleDecimal (SI): 1 GB = 1,000 MB
Megabytes (MB)5,000
Gigabytes with the other rule4.8828
  1. Big=5,0001,000=5

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).

Questions answered

Related calculators