8/23/2015

1000 or 1024?

 zh  <-- 萌萌哒!换去华语!

 This is part of the "7 common misconception about computing" week series. 


Ever wonder why the storage device you bought is 1 TB, but when installed into your computer it shows about 931 GB?

In computer class you might heard that "1 Gigabyte is equal to 1024 Megabytes", this is actually incorrect. (Your teacher had been telling you the wrong thing!) 1 Gigabyte actually equals to 1000 Megabytes, not 1024. The 1024 "Megabytes" is actually another unit called "Mebibyte", but many people just like to use them both interchangeably.

The prefix "mebi" is actually a combination of words "mega" and "binary". In this case, "Gibi" is from "giga" and "binary" while "Tebi" is from "tera" and "binary", and so on.

Despite on it's official status, it is not commonly used on reporting byte counts. It is used on the well known Microsoft Windows OS, even till Windows 10. Windows reads the file size in Mebibytes, but show the file size on screen as Megabytes. For example, Windows reads a 1024 KB file as "1 MB", or "976 KB" when it is 1000 KB or 1 MB, which causes some confusion.

This Hard Disk is actually 1 TB, but only showing 931 GB...

The unit resemble Megabyte is MB while Mebibyte is MiB.

 Just remember 
1000 - Kilo, Mega, Giga, Tera and so on
1024 - Kibi, Mebi, Gibi, Tebi and so on
MB - Megabyte
Mib - Mebibyte

No comments :

Post a Comment