Megabytes to Gigabytes Converter

Binary vs. decimal gigabytes

This converter divides by 1024, not 1000, because it treats a gigabyte as 1024 megabytes (the binary/IEC definition, technically a "gibibyte"). That's the convention operating systems like Windows and macOS use when they report file and drive sizes, even though hard drive manufacturers market capacity using decimal gigabytes (1 GB = 1000 MB) — which is why a "500 GB" drive shows up as roughly 465 GB in your file explorer.

Worked example

Enter 500 megabytes. 500 ÷ 1024 = 0.48828 GB, shown to five decimal places. A 4,096 MB video file converts to exactly 4 GB (4096 ÷ 1024 = 4), since 1024 MB is precisely 1 GB under this definition.

Quick reference

100 MB ≈ 0.09766 GB. 1,024 MB = 1 GB exactly. 10,240 MB = 10 GB exactly. Anything not a clean multiple of 1024 will produce a repeating or long decimal, which is normal — it's a consequence of dividing by a power of 2 rather than 1000.