What is the MB to GB Converter?
This tool converts a value in megabytes (MB) into gigabytes (GB). Because the computing world uses two different conventions for digital storage, the converter lets you choose between the decimal (SI) standard, where 1 GB equals 1000 MB, and the binary standard, where 1 GB (technically a gibibyte) equals 1024 MB.
How to use it
Enter the number of megabytes you want to convert, then select your preferred standard. The calculator instantly displays the equivalent in gigabytes. If you are working with hard drive, SSD, or download sizes advertised by manufacturers, use the decimal option. If you are matching numbers reported by some older software or operating systems, choose binary.
The formula explained
The conversion is a simple division. In decimal terms, $$\text{GB} = \frac{\text{Megabytes (MB)}}{1000}$$ In binary terms, $$\text{GB} = \frac{\text{Megabytes (MB)}}{1024}$$ The difference grows with larger values, which is why a drive sold as "500 GB" often shows as roughly 465 GB inside an operating system that reports in binary.
Worked example
Suppose you have a file of 2048 MB. Using the decimal standard: $$2048 \div 1000 = 2.048 \text{ GB}$$ Using the binary standard: $$2048 \div 1024 = 2 \text{ GB}$$ exactly. Both answers are valid — they simply use different definitions of a gigabyte.
MB to GB Quick Conversion Table
The decimal (SI) column divides by 1000, so 1 GB = 1000 MB. The binary column divides by 1024, so 1 GiB = 1024 MiB. Operating systems and RAM specifications often use the binary convention but label it "GB". Values are rounded to 4 decimal places.
| Megabytes (MB) | GB, decimal (÷1000) | GB, binary (÷1024) |
|---|---|---|
| 1 | 0.0010 | 0.0010 (exactly 0.0009766) |
| 100 | 0.1000 | 0.0977 |
| 250 | 0.2500 | 0.2441 |
| 500 | 0.5000 | 0.4883 |
| 512 | 0.5120 | 0.5000 |
| 1,000 | 1.0000 | 0.9766 |
| 1,024 | 1.0240 | 1.0000 |
| 2,048 | 2.0480 | 2.0000 |
| 4,096 | 4.0960 | 4.0000 |
| 5,000 | 5.0000 | 4.8828 |
| 10,000 | 10.0000 | 9.7656 |
| 65,536 | 65.5360 | 64.0000 |
Formulas: \(\text{GB} = \frac{\text{MB}}{1000}\) (decimal) and \(\text{GiB} = \frac{\text{MiB}}{1024}\) (binary).
Key Terms: MB, GB, MiB, GiB
- Byte: a unit of digital information, normally 8 bits.
- Megabyte (MB): the SI-prefix unit equal to 106 = 1,000,000 bytes.
- Gigabyte (GB): the SI-prefix unit equal to 109 = 1,000,000,000 bytes, or 1000 MB.
- Mebibyte (MiB): the IEC binary unit equal to 220 = 1,048,576 bytes.
- Gibibyte (GiB): the IEC binary unit equal to 230 = 1,073,741,824 bytes, or 1024 MiB.
- SI prefixes: kilo, mega, giga and tera are powers of 1000. They are defined by the International System of Units (SI), maintained by the BIPM.
- IEC prefixes: kibi, mebi, gibi and tebi are powers of 1024. They were introduced by the International Electrotechnical Commission (IEC) in 1998 to remove the ambiguity.
- Why the confusion exists: "MB" and "GB" were historically also used for powers of 1024. Storage makers use the decimal meaning. Some operating systems and memory specifications use the binary meaning under the same label.
Decimal vs Binary: Real-World Scenarios
Storage drives are sold in decimal units. Many operating systems report capacity in binary units (GiB), sometimes labelled "GB". The number shown is therefore smaller than the number on the box, although no capacity is missing.
| Scenario | Decimal size | Bytes | Binary equivalent | Difference |
|---|---|---|---|---|
| 500 GB drive | 500 GB (500,000 MB) | 5 × 1011 | ≈465.66 GiB | Binary number ≈6.87% lower |
| 1 TB drive | 1 TB (1,000,000 MB = 1000 GB) | 1012 | ≈931.32 GiB (≈0.9095 TiB) | ≈6.87% lower in GiB; ≈9.05% lower in TiB |
| 128 GB phone | 128 GB (128,000 MB) | 1.28 × 1011 | ≈119.21 GiB | ≈6.87% lower |
| 8 GB RAM (binary-sized) | ≈8.59 GB (8192 MiB = 233 bytes) | 8,589,934,592 | 8 GiB exactly | Decimal number ≈7.37% higher |
Where the percentages come from: a binary unit is larger than its decimal counterpart by a factor of \(1.024^n\), where n is 1 for kilo, 2 for mega, 3 for giga and 4 for tera.
- MiB vs MB: \(1.048576\), about 4.86% larger.
- GiB vs GB: \(1.073741824\), about 7.37% larger.
- TiB vs TB: \(1.099511627776\), about 9.95% larger.
Going the other way, a decimal quantity shown in binary units looks smaller by \(1 - \frac{1}{1.073741824} \approx 6.87\%\) at the GB scale. The example 500 GB drive: \(\frac{500 \times 10^{9}}{2^{30}} \approx 465.66\) GiB.
FAQ
Which standard should I use? For storage devices and internet data plans, decimal (1000) is the modern norm. For RAM and certain file managers, binary (1024) may match what you see.
Is 1 GB always 1024 MB? No. Officially, \(1 \text{ GB} = 1000 \text{ MB}\) and \(1 \text{ GiB} = 1024 \text{ MiB}\), but the terms are often used interchangeably, which causes confusion.
How do I convert GB back to MB? Multiply by 1000 (decimal) or 1024 (binary).