by sspiff · 9y ago · 0 comments
2^10 = Kilo ~ 10^3
2^20 = Mega ~ 10^6
2^30 = Giga ~ 10^9
2^40 = Tera ~ 10^12
This is wrong - power-of-two magnitudes are called kibi-, mebi-, gibi- and tebibytes.
Kilo, Mega, Giga and Tera are prefixes used by the SI unit system, and denote powers of ten.The confusion comes from Microsoft using power of two numbers in calculations, but SI power of ten prefixes in labels.
A kilobyte is 1000 bytes, not 1024 bytes.
Perhaps instead we could say: This is a funny artifact of history, and it is contrary to the long standing SI-definition of kilo as 10^3. We have since tried correcting that mistake by introducing the prefixes kibi-, mebi-, etc. A better table could say:
kibi = 2^10 ~ 10^3 = kilo
...My 6TB drive has 6001175126016 bytes.
Windows probably still reports that as 5.5TB, although many Linux GUI tools now correctly say 5.5TiB, or 6TB.
(Being clever should be encouraged!)
If the system has 100 Terabytes of storage - that's a significant difference.
TiB won out btw.
2^10 ~ Kilo = 10^3
2^20 ~ Mega = 10^6
2^30 ~ Giga = 10^9
2^40 ~ Tera = 10^12
Or, to use the Ki, Mi, etc. 2^10 = Kibi ~ Kilo = 10^3
2^20 = Mebi ~ Mega = 10^6
2^30 = Gibi ~ Giga = 10^9
2^40 = Tebi ~ Tera = 10^12