MB to GB Converter
Enter a size in megabytes to see it in gigabytes right away. Edit either box and the other updates live. This converter uses binary units, so 1 GB equals 1024 MB, and the math runs in your browser.
How to convert MB to GB
- Type the size in megabytes into the left box.
- Read the gigabytes value in the right box as it updates live.
- Edit the GB box instead to convert back from gigabytes to megabytes.
Examples
One gigabyte
1024 MB
1 GB
A 5 GB file
5120 MB
5 GB
Frequently asked questions
How many MB are in a GB?
In binary units there are 1024 MB in 1 GB, because each step (KB, MB, GB) multiplies by 1024. In decimal units, used by some drive makers, 1 GB is 1000 MB.
What is the difference between binary (1024) and decimal (1000)?
Binary units count in powers of 1024 (2 to the 10th), which is how operating systems report sizes. Decimal units count in powers of 1000. This tool uses 1024, so 2048 MB is exactly 2 GB.
Why does my storage show a different size than advertised?
Drive makers usually label capacity in decimal GB (1 GB = 1000 MB), while your operating system reports in binary (1 GB = 1024 MB). The same drive looks smaller in the OS, even though no space is missing.
What is the formula to convert MB to GB?
Divide the number of megabytes by 1024. So GB = MB / 1024. For example, 512 MB divided by 1024 is 0.5 GB, and 5120 MB divided by 1024 is 5 GB.
What are some common MB to GB conversions?
512 MB is 0.5 GB, 1024 MB is 1 GB, 2048 MB is 2 GB, and 5120 MB is 5 GB. To go the other way, multiply gigabytes by 1024 to get megabytes.
Is my data sent anywhere?
No. The conversion runs entirely in your browser, so the values you enter never leave your device.
Related tools
GB to MB
Convert gigabytes to megabytes instantly. Type a value in GB and get MB using the binary standard where 1 GB = 1024 MB. Runs in your browser.
Liters to Gallons
Convert liters to US gallons instantly. Type a volume in liters and get gallons, with the formula and a quick reference table. Runs in your browser.
Binary to Decimal
Convert binary to decimal online. Paste any binary number, with or without spaces, and get the exact base-10 value instantly. Runs in your browser.
Binary to Hex
Convert binary to hexadecimal online. Paste a binary number and get exact hex, with optional uppercase. Handles huge values. Runs in your browser.
Celsius to Fahrenheit
Convert Celsius to Fahrenheit instantly. Type a temperature in C and get F, with the formula and a quick reference table. Runs in your browser.
Centimeters to Inches
Convert centimeters to inches instantly. Type a length in cm and get inches, with the formula and a quick reference table. Runs in your browser.