How to convert megabytes to gigabytes
To convert a measurement in megabytes to gigabytes, multiply the value by 0.001. The conversion factor comes from the relationship between both units and the byte.
For example, to convert 5 MB to gigabytes: 5 × 0.001 = 0.005 GB.
What is a megabyte?
A megabyte is 1,000,000 bytes (1,000 kilobytes) under the SI decimal convention. The binary equivalent of 1,048,576 bytes is the mebibyte (MiB). As files grew beyond kilobytes, the megabyte became the everyday unit for documents, images, and songs. The decimal/binary ambiguity carried over from the kilobyte, which is why a '1 MB' file can be reported slightly differently by different systems.
Common uses of megabytes include: Photos, MP3 songs, and short documents; App download sizes; Mobile data allowances and usage; Digital camera image file sizes.
What is a gigabyte?
A gigabyte is 1,000,000,000 bytes (1,000 megabytes) under the SI decimal convention. The binary equivalent of 1,073,741,824 bytes is the gibibyte (GiB). The gigabyte became the standard consumer storage unit with the rise of hard drives, USB sticks, and smartphones. Drive makers market capacity in decimal gigabytes, while operating systems often report in binary gibibytes, which is why a '500 GB' drive shows as about 465 GB.
Common uses of gigabytes include: Hard drive, SSD, and USB flash storage capacity; Smartphone and tablet storage tiers; HD video and large software installs; RAM and memory-card sizing.
When you need to convert megabytes to gigabytes
This is the most common data conversion in everyday life. When you add up app downloads, photos, and songs measured in megabytes and want to know how much of your gigabyte storage or data plan they use, you convert MB to GB. Under the standard decimal convention, 1,000 MB equals 1 GB.
Megabytes to gigabytes worked examples
Here are some common values converted:
1 MB = 0.001 GB 5 MB = 0.005 GB 10 MB = 0.01 GB 50 MB = 0.05 GB 100 MB = 0.1 GB
Frequently asked questions
How many gigabytes are in one megabyte?
One megabyte (MB) equals 0.001 gigabytes (GB). Multiply any value in megabytes by 0.001 to convert to gigabytes.
How do I convert megabytes to gigabytes?
Multiply the value in megabytes by 0.001. For example, 5 MB × 0.001 = 0.005 GB.
How do I convert gigabytes to megabytes?
Multiply the value in gigabytes by 1,000, or divide by 0.001. Use the swap button on the converter above to reverse the direction.
Is the megabyte to gigabyte conversion exact?
Decimal units (KB, MB, GB) use powers of 1000 per SI; binary units (KiB, MiB, GiB) use powers of 1024 per IEC. Both are exact — just be sure you are using the right family, since storage is often sold in decimal but reported by operating systems in binary.
What is the formula for megabytes to gigabytes?
The formula is: GB = MB × 0.001. This comes from the definition of both units relative to the byte.