About the gb to mib calculation
One gigabyte is exactly 953.674 mebibytes, so converting between them is a single multiplication. Enter any value above and the result updates as you type. Decimal gigabyte. This is why a "1 TB" drive shows as roughly 931 GB in your operating system. Binary megabyte — 1,024² bytes. What operating systems usually mean when they display "MB".
Formula
MiB = GB × 953.674
1 GB = 953.674 MiB
1 MiB = 0.00104858 GBWorked example
To convert 1 GB, multiply by 953.674: 1 × 953.674 = 953.674 MiB.
Frequently asked questions
How many mebibytes are in a gigabyte?
There are 953.674 mebibytes in one gigabyte. To convert any amount, multiply the number of gigabytes by 953.674.
How do I convert mebibytes back to gigabytes?
Divide instead of multiplying, or equivalently multiply by 0.00104858. One mebibyte is 0.00104858 gigabytes.
Is this conversion exact?
Yes, provided both sides use the same convention. Decimal units (KB, MB, GB) are powers of 1,000 and binary units (KiB, MiB, GiB) are powers of 1,024. Both are exact — the confusion comes from software labelling binary values with decimal names.
Where is each of these units used?
Gigabytes: decimal gigabyte. This is why a "1 TB" drive shows as roughly 931 GB in your operating system. Mebibytes: binary megabyte — 1,024² bytes. What operating systems usually mean when they display "MB".
Sources
- IEC 80000-13 — binary and decimal prefixes for information units