1 Mo = 1024 Ko ?

Solved
loupix57 Posted messages 316 Registration date   Status Membre Last intervention   -  
 Anonymous user -
Hello,
I have a slight calculation problem;

1 byte = 8 bits (10010010)

but I cannot understand why when I display certain folders/files (let's say 1GB), it shows 1024MB ... or almost.

Did some bits or bytes get lost along the way?!

Configuration: Windows 7 / Firefox 19.0

4 réponses

Anonymous user
 
Hello

Byte (Wikipedia is very good)

1MB = 1KB x 10³ (1000) = 1 byte x 10^6 <= that's the decimal.

1MiB = 1KiB x 2^10 (1024) = 1 byte x 2^20 <= and that's the binary.

What’s more problematic is that everyone talks about GB, MB, KB while some count in decimal (hard drive and data storage manufacturers) and others in binary (Windows to name just one, and many others...) so a 1TB hard drive that is indeed 1000GB or 1,000,000,000,000 bytes becomes only +/- 930GiB for Windows and all those who count in binary.

Before asking a question: 1° The brain doesn’t wear out if you use it, don't hesitate to use it!
2° Google is your friend, the CCM search engine too, do a search!
7