Skip to content
ExactUnit

Data Storage / MB → GB

Convert Megabytes to Gigabytes

Convert bit and byte counts with explicit decimal and binary prefixes. Convert Megabytes (MB) to Gigabytes (GB). Find the formula, worked examples, unit definitions, and practical guidance below.

Reverse: Gigabytes to Megabytes →

Unit converter
Edit either value
1 MB = 0.001 GB

Results rounded to 12 significant digits.

How to convert megabytes to gigabytes

One byte is 8 bits. Decimal kilo/mega/giga use powers of 1000; binary kibi/mebi/gibi use powers of 1024. Marketing capacity and operating-system displays can therefore differ.

Use x for the value in MB, b for the intermediate value in B, and y for the result in GB.

GB = MB × 1000000 ÷ 1000000000

Worked examples

  • 10 MB ≈ 0.01 GB

    Step 1: (10 × 1000000) ≈ 10000000 B.
    Step 2: 10000000 ÷ 1000000000 ≈ 0.01 GB.

  • 20 MB ≈ 0.02 GB

    Step 1: (20 × 1000000) ≈ 20000000 B.
    Step 2: 20000000 ÷ 1000000000 ≈ 0.02 GB.

Results are rounded to 12 significant digits. Converting units does not increase the precision of the original measurement. Very large or small values outside JavaScript’s finite numeric range are rejected.

About Megabytes

Megabytes (MB) measures data storage under the conventions above. The base value in B is (x × 1000000), where x is the numerical value in MB. Factors shown here are rounded for display; calculations use the stored factor.

About Gigabytes

Gigabytes (GB) measures data storage under the conventions above. The base value in B is (x × 1000000000), where x is the numerical value in GB. Factors shown here are rounded for display; calculations use the stored factor.

Definitions and sources

For a different quantity or formatting task, see the related other conversion tools.

Megabytes to gigabytes reference table

Common megabytes values converted to gigabytes
Megabytes (MB)Gigabytes (GB)
10.001
50.005
100.01
250.025
500.05
1000.1
10001

Browse every data storage conversion →

Popular conversions

A shortcut to your next answer