Decimal SI vs. binary IEC storage
Decimal storage uses powers of 1000: one kilobyte is 1,000 bytes, one megabyte is 1,000,000 bytes and one gigabyte is 1,000,000,000 bytes.
Binary IEC units use powers of 1024: one kibibyte is 1,024 bytes, one mebibyte is 1,048,576 bytes and one gibibyte is 1,073,741,824 bytes.
1 GB1,000,000,000 bytes
1 GiB1,073,741,824 bytes
1 MB1,000,000 bytes
1 MiB1,048,576 bytes
Why the same drive can appear to have two sizes
Storage vendors often publish capacities with decimal units, while some operating-system interfaces have historically displayed binary quantities using decimal-looking labels.
Separating SI and IEC modes makes the unit definition explicit instead of pretending that GB and GiB are interchangeable.