February 26, 2010

KB v. Kb and even Kib

Filed under: Main — admin @ 12:01 am

A byte was once a straightforward thing. A KB was 1,024 bytes and the world continued to spin on its access. Not so anymore.

Well, yes, the world does still spin on its axis, but the nerds have finally won the battle and there are now accepted two different terms for one thousand bytes, one million bytes, one billion bytes, and on and on.

For brevity’s sake, I’m going to stick to the term kilobyte or KB. The same nonsense I’m about to discuss also applies to megabyte, gigabyte, terabyte, and whatever-the-heck-comes-next-a-byte.

Traditionally, the term kilobyte means about 1,000 bytes. Us nerds knew that it was really 1,024 bytes, but what’s 24 bytes? It’s nothing! It’s pocket change. It’s not even enough storage for this sentence!

The kilobyte is 1,024 bytes because 1,024 is the closest power of 2 to 1,000. Nerds for years have considered it a rounding error.

The rounding error does add up, however. At one million bytes, a megabyte, the value is 1,048,576. That’s 48,576 bytes in change, which isn’t pitiful.

The left-over bytes become even greater at a gigabyte.

To solve what apparently was thought to be a conundrum, various super nerds developed the kibibyte.

You see, the term kilo means 1,000. And a kilobyte really should be 1,000 bytes, not 1,024. The the term kibibyte was manufactured so that computer scientists could say it really, really means 1,024 bytes. The kilobyte? Why, that’s been demoted to mean only 1,000 bytes.

Confusing? You bet!

Triple your pleasure with Mibibyte, Gibibyte, and Tibibyte.

So when you want to refer to a billion bytes of storage, you can use the term gigabyte. That means 1,000,000,000 bytes. If you use the term gibibyte, you really mean 1,073,741,824 bytes.

It’s just too bad that there isn’t an “English system” for computer memory. You know, an English byte would be something like 1200 bytes and would be also known as a shillingbyte. That would be sweet, but luckily for humanity it’s not going to happen.

5 Comments

  1. Confusing.

    Time for a new computer… This time it’s a $5 ThinkPad T21. Came from a computer recycler in Iowa and it runs flawless.

    Comment by linuxlove — February 26, 2010 @ 2:02 pm

  2. Gotta link?

    Comment by admin — February 26, 2010 @ 2:04 pm

  3. Link to the $5 ThinkPads? If so I’ll send you an email

    Comment by linuxlove — February 26, 2010 @ 2:24 pm

  4. The first time I used Linux the KiB, MiB and GiB confused me. But now Windows confuses me, since it really means 1024 bytes when it says KB.

    Comment by samus250 — February 26, 2010 @ 6:16 pm

  5. I agree, samus. Just because people don’t “get” that a KB is 1,024 bytes and not 1,000 doesn’t mean that we need to redefine terms in the middle of the game. I’d be okay with kibibyte meaning 1,000 bytes, but that’s not the original term. KB = 1,024 bytes.

    sigh

    Comment by admin — February 26, 2010 @ 6:37 pm

RSS feed for comments on this post.

Sorry, the comment form is closed at this time.


Powered by WordPress