MB to GB: Convert Megabytes to Gigabytes
To convert MB to GB, divide by 1,000 for the decimal (SI) result or by 1,024 for the binary result (GiB). So 2,048 MB is 2.048 GB decimal and exactly 2 GiB binary. Mobile data plans and cloud bills use the decimal base; your phone's storage screen uses the binary base.
Bytes
1.0000e+12
KB (10³)
1.0000e+9
MB (10⁶)
1.0000e+6
GB (10⁹)
1,000
TB (10¹²)
1
KiB (2¹⁰)
9.7656e+8
MiB (2²⁰)
953,674.3164
GiB (2³⁰)
931.3226
TiB (2⁴⁰)
0.9095
Bits
8.0000e+12
Join the Veojson dispatch
Get our cloud storage cost modelling spreadsheet.
One email, no spam, unsubscribe any time.
The formula
GB = MB ÷ 1,000 (decimal) or GiB = MiB ÷ 1,024 (binary). Reversing it, GB × 1,000 = MB. Because the gap compounds at each step, a value expressed three units up — bytes to GB — differs by about 7.4% between the two systems, which is why a '500 GB' drive shows as 465 GB.
Where this bites
Mobile data allowances, cloud egress charges and CDN bandwidth are all decimal. RAM is always binary — a 16 GB module is 16 GiB. Container image sizes and Kubernetes resource limits use binary suffixes explicitly (Mi, Gi), and mixing them up in a manifest means a pod that either gets 7% less memory than intended or fails to schedule.
MB to GB conversion table
| Megabytes | Decimal (GB) | Binary (GiB) |
|---|---|---|
| 100 MB | 0.1 GB | 0.098 GiB |
| 512 MB | 0.512 GB | 0.5 GiB |
| 1,000 MB | 1 GB | 0.977 GiB |
| 1,024 MB | 1.024 GB | 1 GiB |
| 2,048 MB | 2.048 GB | 2 GiB |
| 4,096 MB | 4.096 GB | 4 GiB |
| 16,384 MB | 16.384 GB | 16 GiB |