MB vs MiB and GB vs GiB: Storage Units Explained
By Prince Yadav, Founder & Lead Developer.
Decimal and binary prefixes differ
In the decimal system, 1 kB is 1,000 bytes, 1 MB is 1,000,000 bytes, and 1 GB is 1,000,000,000 bytes. Binary units use powers of 1,024 and are written KiB, MiB, and GiB.
Why 500 GB is about 465.7 GiB
A decimal 500 GB contains 500,000,000,000 bytes. Dividing by 1,073,741,824 bytes per GiB gives approximately 465.7 GiB.
Labels matter
Operating systems, drive makers, memory tools, and applications may display units differently. A difference between displayed capacity and advertised capacity does not automatically mean data has disappeared.
This site’s current convention
The current data converter uses binary factors of 1,024 for labels such as KB, MB, and GB. Those labels are common but technically ambiguous; interpret its results as binary-style conversions, not strict decimal SI conversions.
Before comparing results
Check whether a tool means bytes, bits, decimal prefixes, or binary prefixes. Bits and bytes differ by a factor of eight, and the unit convention should match the task.
Worked example: decimal and binary units differ
A manufacturer’s 1 GB commonly means 1,000,000,000 bytes, while 1 GiB means 1,073,741,824 bytes. Therefore, 1 GB is about 0.931 GiB. The underlying byte count is the same; the displayed number changes because the prefixes use different powers of ten or two.
Match the unit convention to the device or specification
Storage vendors, operating systems, memory tools, and network services may label quantities differently. Check whether the source uses GB or GiB before comparing capacity or estimating file sizes. Also distinguish bits (b) from bytes (B): 8 bits make one byte, and confusing them can create an eightfold error.
Read the product specification literally
When checking a drive or memory specification, identify whether the figure is expressed in bytes, decimal GB, binary GiB, bits, or a transfer rate. A reported usable capacity may also be lower because of formatting or reserved system space. Do not infer a fault from a unit-convention difference alone.
Apply this guide to a practical case
This guide concentrates on the unit relationships and conventions used by storage specifications. The paired article applies those relationships to real device and transfer comparisons.
Related Calculators
Use the Calculator
Try the worked-example inputs in Data Storage Converter, then change one assumption at a time to see what drives the result.
Open Data Storage Converter