How it works
The byte is the base unit, and 8 bits make one byte. The decimal units (KB, MB, GB) count in thousands: 1 KB = 1,000 bytes. The binary units (KiB, MiB, GiB) count in 1024s: 1 KiB = 1,024 bytes. Storage makers use decimal units, while operating systems often show binary ones, which is why a 500 GB drive can show about 465 GiB.
Formula
Decimal: 1 KB = 1,000 B, 1 MB = 1,000 KB, 1 GB = 1,000 MB.
Binary: 1 KiB = 1,024 B, 1 MiB = 1,024 KiB, 1 GiB = 1,024 MiB.
Example
Example in plain words. Convert 1 GB to MB.
1 × 1,000 = 1,000 MB.
But 1 GB in binary units is 1,000,000,000 ÷ 1,073,741,824 = 0.931 GiB.
And a 500 GB drive is 465.661 GiB, which is what many computers show.
Frequently asked questions
Why does my new drive show less space?
The box uses decimal GB (billions of bytes) and the computer shows binary GiB (multiples of 1,024³). Same bytes, different counting.
Which unit do internet providers use?
Bits, usually megabits per second (Mbps). Divide by 8 to get megabytes per second.