Megabytes to Gigabytes
Convert megabytes to gigabytes instantly. Free, fast, no signup.
How to use this tool
- Enter megabytes in the fields above.
- Results update instantly as you type — or click Calculate.
- Read your gigabytes and the full breakdown beneath it.
Convert megabytes to gigabytes instantly. Free, fast, no signup.
Formula
Gigabytes = Megabytes ÷ 1,024
GB = MB × 0.0009765625
In binary (IEC) notation, 1 GB = 210 MB = 1,024 MB, so dividing by 1,024 is equivalent to multiplying by 1/1,024 = 0.0009765625.
How it works
File sizes are measured in powers of two in the binary system: each step up the prefix ladder (KB → MB → GB → TB) means multiplying or dividing by 1,024. To move from megabytes to gigabytes, divide by 1,024 — or equivalently multiply by 0.0009765625.
A common mistake is dividing by 1,000 instead of 1,024, as some hard-drive manufacturers use the decimal (SI) convention where 1 GB = 1,000 MB. This gives a slightly larger result and can cause confusion when comparing marketed drive capacity to what an operating system reports.
Worked example
Convert 1,024 MB to GB
- Start with 1,024 MB.
- Divide by 1,024 (binary prefix step): 1,024 ÷ 1,024 = 1.
- Alternatively: 1,024 × 0.0009765625 = 1.0.
1,024 MB = 1.0 GB
Common mistakes to avoid
- Dividing by 1000 instead of 1024 when working in binary (IEC) notation -- hard drive manufacturers use decimal (1 GB = 1000 MB), so an OS showing binary GiB will always show slightly less space than the box advertises.
- Confusing megabytes (MB) with megabits (Mb) -- internet speeds are quoted in megabits; 100 Mb/s = 12.5 MB/s, requiring a further division by 8 before converting to GB.
- Rounding 0.9766 GB to 1 GB for convenience -- a 1024 MB file is exactly 1 GiB, but 900 MB is only 0.879 GiB.
Key terms
- Megabyte (MB)
- A unit of digital storage equal to 1,024 kilobytes (220 bytes) in binary convention.
- Gigabyte (GB)
- A unit of digital storage equal to 1,024 megabytes (230 bytes) in binary convention.
- Binary prefix
- A prefix (kilo-, mega-, giga-, tera-) based on powers of 2 (1,024) rather than powers of 10 (1,000), used in computing contexts.
- IEC standard
- The International Electrotechnical Commission standard that defines binary prefixes (kibibyte, mebibyte, gibibyte) to distinguish them from decimal SI prefixes.
Frequently asked questions
- How do I convert megabytes to gigabytes?
- Multiply the number of megabytes by 0.000976562 to get gigabytes.