Table of contents
Megabytes to gigabytes Conversion
1 megabyte (MB) is equal to 0.001 gigabytes (GB).
1 MB = 0.001 GB
or
1 GB = 1,000 MB
Formula
To convert a digital storage from megabytes (MB) to gigabytes (GB), divide the digital storage in megabytes by 1,000
d(GB) = d(MB) / 1,000
Examples:
Convert 512 megabytes to gigabytes:
d(GB) = 512MB / 1,000 = 0.512 GB
Conversion table
| Megabytes (MB) | Gigabytes (GB) |
|---|---|
| 1 MB | 0.001 GB |
| 2 MB | 0.002 GB |
| 3 MB | 0.003 GB |
| 5 MB | 0.005 GB |
| 8 MB | 0.008 GB |
| 10 MB | 0.01 GB |
| 16 MB | 0.016 GB |
| 20 MB | 0.02 GB |
| 25 MB | 0.025 GB |
| 32 MB | 0.032 GB |
| 64 MB | 0.064 GB |
| 128 MB | 0.128 GB |
| 256 MB | 0.256 GB |
| 512 MB | 0.512 GB |
| 1,024 MB | 1.024 GB |
| Gigabytes (GB) | Megabytes (MB) |
|---|---|
| 1 GB | 1,000 MB |
| 2 GB | 2,000 MB |
| 3 GB | 3,000 MB |
| 5 GB | 5,000 MB |
| 8 GB | 8,000 MB |
| 10 GB | 10,000 MB |
| 16 GB | 16,000 MB |
| 20 GB | 20,000 MB |
| 25 GB | 25,000 MB |
| 32 GB | 32,000 MB |
| 64 GB | 64,000 MB |
| 128 GB | 128,000 MB |
| 256 GB | 256,000 MB |
| 512 GB | 512,000 MB |
| 1,024 GB | 1,024,000 MB |
Frequently asked questions
How do I convert megabytes to gigabytes?
Divide the value in megabytes by 1,000 to get the result in gigabytes. For example, 5 MB ÷ 1,000 = 0.005 GB.
How many gigabytes are in 1 megabyte?
1 megabyte (MB) is equal to 0.001 gigabytes (GB).
How do I convert gigabytes back to megabytes?
Use the inverse operation: multiply the value in gigabytes by 1,000 to get the result in megabytes.
How accurate is the megabytes to gigabytes conversion?
The converter multiplies by the conversion factor 1,000 and rounds the result to 6 decimal places by default. You can increase or reduce the precision with the digits option on this page.
Sources
Conversion factors are based on internationally recognised standards:
- IEC 80000-13:2025 — Quantities and units — Part 13: Information science and technology (Edition 2, 2025-02)
- BIPM — The International System of Units (SI Brochure, 9th edition)
- Definitions of the SI units: The binary prefixes (NIST Reference on Constants, Units and Uncertainty)
- NIST Guide to the SI (NIST SP 811), Chapter 4: The Two Classes of SI Units and the SI Prefixes