How to convert megabytes to gigabytes
GB = x × 0.001
Decimal storage units use 1 GB = 1,000 MB. For binary memory units, choose MiB and GiB, where the factor is 1,024.
Worked example
GB = 1000 × 0.001
1000 MB = 1 GB.
Conversion table in both directions
Values are generated by the same engine as the interactive converter.
| Input | MB → GB | GB → MB |
|---|---|---|
| 1 | 0.001 | 1000 |
| 5 | 0.005 | 5000 |
| 10 | 0.01 | 10000 |
| 25 | 0.025 | 25000 |
| 50 | 0.05 | 50000 |
| 100 | 0.1 | 100000 |
Unit definitions and sources
kB, MB and GB are decimal. KiB, MiB and GiB are binary. One byte is eight bits; capitalization matters.
| Unit and system | Use | Definition | Relationship |
|---|---|---|---|
| Megabyte (MB); si | Common units | Megabyte measures data storage. b = (value in MB) × 1000000. Common use: Digital storage capacity. | Exact definition; numerical display may be rounded |
| Gigabyte (GB); si | Common units | Gigabyte measures data storage. b = (value in GB) × 1000000000. Common use: Digital storage capacity. | Exact definition; numerical display may be rounded |
Precision of data storage conversions
These 2 data storage units convert through Byte (B). 2 have an exact defined relationship to the base unit and 0 are conventional or measured values. Results and the tables on this page come from the same engine, so a table value can be checked against the converter directly.
Standard display shows up to six decimal places, switching to scientific notation for very large or small values. Calculation uses JavaScript binary floating point independently of display rounding, so extra digits are not a claim about measurement accuracy. Each unit lists its own source; a citation records where the definition comes from, not an independent review. See Conversion methodology for the review and correction process.