Type a number of megabytes and read the result in gigabytes straight away. A gigabyte is 1,024 megabytes in the binary system, so the converter divides your value by 1,024. Use Swap order to convert gigabytes to megabytes instead.

The megabyte and the gigabyte are neighbouring units of data size: 1 GB is 1,024 MB. Download sizes, RAM and video files are sometimes given in megabytes, while drive capacity and data caps are counted in gigabytes — so you convert MB to GB.
The relationship is fixed: 1 GB is 1,024 MB in the binary system, which operating systems and this converter use. To turn megabytes into gigabytes, divide their number by 1,024. The converter does this the moment you type a value.
Watch out for two systems. In the decimal system (SI), 1 GB is 1,000 MB, which is why 1,000 MB is often mistaken for a whole gigabyte. In fact 1,000 MB is about 0.98 GB, and you reach exactly 1 GB from 1,024 MB. This converter uses the binary system (1,024).
This tool computes both standards: binary (1,024) by default, and the Unit standard button switches it to decimal (1,000). Windows and RAM count in binary, while drive makers, macOS and search engines count in decimal — which is why the same capacity is quoted two different ways.
The conversion rests on a fixed relationship: one gigabyte is 1,024 megabytes. To turn megabytes into gigabytes, divide their number by 1,024.
Full formula: gigabytes = megabytes ÷ 1,024. The other way: megabytes = gigabytes × 1,024.
Example: a RAM module is 4,096 MB. Calculation: 4,096 ÷ 1,024 = 4 GB. Likewise 8,192 MB is 8 GB — which is exactly why memory sizes are powers of two rather than round thousands.
Mind the round values. 1,000 MB is not 1 GB but about 0.98 GB, because a full gigabyte has 1,024 MB. Exactly whole gigabytes come from multiples of 1,024: 1,024 MB, 2,048 MB, 4,096 MB and so on.
In Excel, type the formula =A1/1024 in a cell, where A1 holds the value in MB. The other way, gigabytes to megabytes, use =A1*1024.
The table below converts common megabyte values into gigabytes in the binary system (÷1,024). Values that are not a multiple of 1,024 are shown rounded. To convert another value, use the converter above.
| Megabytes | Gigabytes |
|---|---|
| 100 MB | 0.10 GB |
| 500 MB | 0.49 GB |
| 1,000 MB | 0.98 GB |
| 1,024 MB | 1 GB |
| Megabytes | Gigabytes |
|---|---|
| 2,048 MB | 2 GB |
| 4,096 MB | 4 GB |
| 5,000 MB | 4.88 GB |
| 8,192 MB | 8 GB |
| Megabytes | Gigabytes |
|---|---|
| 10,000 MB | 9.77 GB |
| 16,384 MB | 16 GB |
| 51,200 MB | 50 GB |
Example: 4,096 MB ÷ 1,024 = 4 GB, while 1,000 MB is only 0.98 GB. Want to convert gigabytes to megabytes? Click Swap order in the converter above.
Every data size unit grows by the same multiplier: each one is 1,024 times larger than the previous. The table below shows the order from byte to petabyte, with a typical example of what each unit describes.
| Unit | Relationship | Typical example |
|---|---|---|
| Byte (B) | base unit | one character of text |
| Kilobyte (KB) | 1,024 B | a short email or icon |
| Megabyte (MB) | 1,024 KB | a photo or an MP3 song |
| Gigabyte (GB) | 1,024 MB | a movie or a RAM stick |
| Terabyte (TB) | 1,024 GB | a hard drive |
| Petabyte (PB) | 1,024 TB | a large data centre |
Order from smallest to largest: byte, kilobyte, megabyte, gigabyte, terabyte, petabyte. Each step is a multiplication by 1,024.
You convert sizes in megabytes to gigabytes mostly for memory and larger files.
1 GB is 1,024 MB in the binary system, which this converter and operating systems use. In the decimal system (SI), used by storage makers among others, 1 GB is 1,000 MB.
Not quite. In the binary system 1,000 MB is about 0.98 GB, because a full gigabyte has 1,024 MB. You reach exactly 1 GB from 1,024 MB. Rounding to 1 GB applies only in the decimal system.
4,096 MB is exactly 4 GB. Calculation: 4,096 ÷ 1,024 = 4 GB. This is why RAM modules have sizes like 4,096 MB or 8,192 MB — they are powers of two that give whole gigabytes.
Divide the number of megabytes by 1,024. For example, 51,200 MB ÷ 1,024 = 50 GB. The converter does this the moment you type a value, with no button to click.
2,048 MB is 2 GB, and 8,192 MB is 8 GB. Both come out whole because they are multiples of 1,024, the number of megabytes in one gigabyte.
Multiply the number of gigabytes by 1,024. For example, 4 GB × 1,024 = 4,096 MB. Click Swap order to have the converter work in this direction.
It depends on the system. Operating systems and this converter use the binary system, where 1 GB is 1,024 MB. Storage makers use the decimal system, where 1 GB is 1,000 MB. That is why the same number of megabytes can give a slightly different result in gigabytes.
Type the formula =A1/1024 in a cell, where A1 holds the value in megabytes. The other way, gigabytes to megabytes, use =A1*1024. The same formula works in Google Sheets.
From smallest: byte (B), kilobyte (KB), megabyte (MB), gigabyte (GB), terabyte (TB), petabyte (PB). Each unit is 1,024 times larger than the previous one. A byte describes a single character, while a terabyte describes a drive capacity.

If you have spotted an error in the table or have an idea to improve the converter, write to us. We reply to every message.