In the metric system, Kilo, Mega, Giga, etc… refer to different powers of 10. So a
Kilobyte, or
KB, is
bytes. Using that system gives us the following units:
Unfortunately, this distinction between units like
KB and
KiB is a relatively recent one and is not used consistently. If someone specifies one of the
KiB,
MiB, etc… values, you can be sure that they mean a power of 2. However, when someone specifies a value without the little
i, like
KB or
MB they may be specifying a power of 2 or 10.
“256 MB” can either mean
or
bytes. The same source may even use the
MB,
GB, etc… notation to mean both base 10 and base 2 when describing different measurements. For example, if you buy a computer advertised with
“16 GB” of main memory (RAM) and a
“500 GB” hard drive, the 16 GB means
while the 500 GB means
Fortunately, the values of the base 2 and base 10 systems are close enough that a value like
“32 GB” gives you a good idea of how big the value is even if you aren’t sure how to interpret the
GB. But if you desire an exact value, you need to figure out whether you should be using
or
for each
GB.