Data Storage / MiB → GB
Convert Mebibytes to Gigabytes
Convert bit and byte counts with explicit decimal and binary prefixes. Convert Mebibytes (MiB) to Gigabytes (GB). Find the formula, worked examples, unit definitions, and practical guidance below.
Reverse: Gigabytes to Mebibytes →
How to convert mebibytes to gigabytes
One byte is 8 bits. Decimal kilo/mega/giga use powers of 1000; binary kibi/mebi/gibi use powers of 1024. Marketing capacity and operating-system displays can therefore differ.
Use x for the value in MiB, b for the intermediate value in B, and y for the result in GB.
GB = MiB × 1048576 ÷ 1000000000
Worked examples
10 MiB ≈ 0.01048576 GB
Step 1: (10 × 1048576) ≈ 10485760 B.
Step 2: 10485760 ÷ 1000000000 ≈ 0.01048576 GB.20 MiB ≈ 0.02097152 GB
Step 1: (20 × 1048576) ≈ 20971520 B.
Step 2: 20971520 ÷ 1000000000 ≈ 0.02097152 GB.
Results are rounded to 12 significant digits. Converting units does not increase the precision of the original measurement. Very large or small values outside JavaScript’s finite numeric range are rejected.
About Mebibytes
Mebibytes (MiB) measures data storage under the conventions above. The base value in B is (x × 1048576), where x is the numerical value in MiB. Factors shown here are rounded for display; calculations use the stored factor.
About Gigabytes
Gigabytes (GB) measures data storage under the conventions above. The base value in B is (x × 1000000000), where x is the numerical value in GB. Factors shown here are rounded for display; calculations use the stored factor.
Definitions and sources
For a different quantity or formatting task, see the related other conversion tools.
Mebibytes to gigabytes reference table
| Mebibytes (MiB) | Gigabytes (GB) |
|---|---|
| 1 | 0.001048576 |
| 5 | 0.00524288 |
| 10 | 0.01048576 |
| 25 | 0.0262144 |
| 50 | 0.0524288 |
| 100 | 0.1048576 |
| 1000 | 1.048576 |
Browse every data storage conversion →