Megabytes to Gigabytes
Convert megabytes (MB) to gigabytes (GB). Both measure digital storage, and the conversion comes up in computing, storage, internet work.
The Formula
``
gigabytes = megabytes Ć 0.001
megabytes = gigabytes Ć 1000
`
One megabyte is 0.001 gigabytes, and one gigabyte is 1,000 megabytes.
Conversion Table
| Megabytes | Gigabytes |
|---|---|
| 1 MB | 0.001 GB |
| 2 MB | 0.002 GB |
| 5 MB | 0.005 GB |
| 10 MB | 0.01 GB |
| 25 MB | 0.025 GB |
| 50 MB | 0.05 GB |
| 100 MB | 0.1 GB |
| 500 MB | 0.5 GB |
| 1,000 MB | 1 GB |
The Other Direction
| Gigabytes | Megabytes |
|---|---|
| 1 GB | 1,000 MB |
| 2 GB | 2,000 MB |
| 5 GB | 5,000 MB |
| 10 GB | 10,000 MB |
| 25 GB | 25,000 MB |
| 50 GB | 50,000 MB |
| 100 GB | 100,000 MB |
| 500 GB | 500,000 MB |
| 1,000 GB | 1,000,000 MB |
What Each Unit Is
Megabytes (MB) ā 1,000,000 bytes in decimal usage. The file-size unit of the CD-ROM era.
Gigabytes (GB) ā 1,000,000,000 bytes in decimal usage. The unit of modern storage and mobile data plans.
A Sense of Scale
An MP3 is 3ā5 MB- A phone photo is 2ā5 MB
- A JS bundle should stay under 1 MB
- An HD film is 4ā8 GB
- A phone ships with 128ā512 GB
Precision
The factor 0.001 is exact by international agreement, not a rounded approximation. Any imprecision in a result comes from your input, not the conversion.
In Code
`javascript
const megabyteToGigabyte = (value) => value * 0.001;
``
Where This Conversion Comes Up
- Computing
- Storage
- Internet
- Media
- Backups
How Many Decimals Do You Need?
Rounding the factor costs accuracy, and how much depends on the factor. Converting 137 MB with the factor truncated at each decimal place:
| Decimals kept | Factor | 137 MB becomes | Error |
|---|---|---|---|
| 0 | 0 | 0 | 100.0000% |
| 1 | 0 | 0 | 100.0000% |
| 2 | 0 | 0 | 100.0000% |
| 3 | 0.001 | 0.137 | ā |
| 4 | 0.001 | 0.137 | ā |
The right number of significant figures is set by your input, not by the converter. If you measured megabytes to three significant figures, the answer in gigabytes is only good to three ā writing more digits claims precision the measurement never had.
Other Conversions From Megabytes
The same value in every other unit this converter supports for data:
| From | To | Unit |
|---|---|---|
| 1 MB | 8,000,000 b | Bits |
| 1 MB | 1,000,000 B | Bytes |
| 1 MB | 8,000 Kb | Kilobits |
| 1 MB | 1,000 KB | Kilobytes |
| 1 MB | 8 Mb | Megabits |
| 1 MB | 1.0000e-6 TB | Terabytes |