Convert Megabytes to Gigabytes
Quick presets:
Keyboard shortcut: press S to swap units.
Contextual examples
- 1 Megabytes = 0.001 Gigabytes
- 10 Megabytes = 0.01 Gigabytes
- 100 Megabytes = 0.1 Gigabytes
- 1000 Megabytes = 1 Gigabytes
How many megabytes in a gigabytes?
In 1 megabytes there are 0.001 gigabytes. Meanwhile in 1 gigabytes there are 1,000 megabytes. Keep reading to learn more about each unit of measure and how they are calculated. Or just use the Gigabytes to Megabytes calculator above to convert any number.
* Values rounded to 6 decimal places for readability
How to convert megabytes to gigabytes?
To convert megabytes (MB) to gigabytes (GB), divide MB by the right number based on the standard you’re using.
Decimal (base-10, most storage labels):
GB = MB ÷ 1,000
Example: 2,500 MB ÷ 1,000 = 2.5 GBBinary (base-2, often used by operating systems):
GB = MB ÷ 1,024
Example: 2,560 MB ÷ 1,024 = 2.5 GB
Use 1,000 for most MB to GB conversions on drive packaging and internet plans. Use 1,024 when your device reports sizes in binary units.
Frequently asked questions
How many megabytes (MB) are in a gigabyte (GB)?
It depends on the system you use.
- Decimal (base-10): 1 GB = 1,000 MB
- Binary (base-2): 1 GB = 1,024 MB
Storage makers often use decimal. Many computer systems use binary.
Why do some places say 1 GB equals 1,024 MB?
That number comes from the binary system used by computers. Computers measure memory in powers of 2, so 1 GB is often treated like 1,024 MB in many operating systems and tech tools.
What’s the difference between GB and GiB?
GB means gigabyte and usually follows the decimal system.
GiB means gibibyte and follows the binary system.
- 1 GB = 1,000,000,000 bytes
- 1 GiB = 1,073,741,824 bytes
- 1 GiB = 1,024 MiB
This is why a “1 TB” drive can look smaller on a computer.
How do I convert MB to GB (decimal)?
Use this simple rule:
GB = MB ÷ 1,000
Examples:
- 500 MB = 0.5 GB
- 2,500 MB = 2.5 GB
- 10,000 MB = 10 GB
How do I convert MB to GB (binary)?
Use this rule for binary conversions:
GB = MB ÷ 1,024
Examples:
- 512 MB = 0.5 GB
- 2,048 MB = 2 GB
- 10,240 MB = 10 GB
Is internet data measured in MB or GB?
Both are common. Many plans show smaller use in MB and larger totals in GB. Mobile data, downloads, and streaming often switch between MB and GB based on the amount used.
Why does my phone or computer show less storage than advertised?
Drive labels often use decimal GB (1 GB = 1,000 MB). Your device may report space using binary units (GiB-style math). Some space also goes to system files and formatting. These two effects make the number look smaller.
How many MB is a 2 GB file?
It depends on the system:
- Decimal: 2 GB = 2,000 MB
- Binary: 2 GB = 2,048 MB
How many MB is a 10 GB download?
It depends on the system:
- Decimal: 10 GB = 10,000 MB
- Binary: 10 GB = 10,240 MB
Which conversion should I use for RAM and which for storage?
- RAM often follows binary sizing (1,024-based math).
- Storage (SSDs, hard drives, USB drives) is often sold using decimal sizing (1,000-based math).
Apps can still label values as “GB” even when they use binary math, so the context matters.
How many bytes are in a megabyte and a gigabyte?
Two common byte definitions are used:
Decimal (base-10):
- 1 MB = 1,000,000 bytes
- 1 GB = 1,000,000,000 bytes
Binary (base-2):
- 1 MiB = 1,048,576 bytes
- 1 GiB = 1,073,741,824 bytes
How do I convert small numbers, like 50 MB to GB?
Divide by the right number for your system:
- Decimal: 50 ÷ 1,000 = 0.05 GB
- Binary: 50 ÷ 1,024 = 0.0488 GB (rounded)
Small values often look close either way, but they still differ.
Related calculators
How does this converter work?
The Calculate Box tool to convert megabytes to gigabytes uses the open source script Convert.js to convert units of measurement. To use this tool, simply type a megabytes value in the box and have it instantly converted to gigabytes.