Bits and bytes
There are eight bits in one byte. For example, 64 bits equals 8 bytes. The symbols bit and B identify different quantities.
Decimal vs. binary storage units
A decimal GB is 1,000,000,000 bytes. A binary GiB is 1,073,741,824 bytes. One GiB therefore equals 1.073741824 GB.
Binary and decimal prefixes from NIST