Boneyard Tools

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

  1. Type the size in megabytes into the left box.
  2. Read the gigabytes value in the right box as it updates live.
  3. 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