Home Explore the BBC
 Life | The Universe | Everything | Advanced Search

3. Everything / Maths, Science & Technology / Computers
3. Everything / Maths, Science & Technology / Mathematics

Kibibytes and Yobibits - A Guide to Binary Prefixes

If there’s something fundamentally wrong with the universe it certainly applies to our old friend the kilobyte. It may not have been around for long - the word was first recorded in about 1970 - but the kilobyte is not what it seems. Like other words beginning with 'kilo-' it means 1,000 of something - bytes in this case. The trouble is it doesn't. If you buy a kilobyte of memory you get 24 bytes extra, free!

Inaccuracy

You get 1,024 bytes, which is two raised to the power of ten. It's out by 2.4%, which isn't a lot. The trouble is, these days we can't do a lot with a kilobyte of memory and prefer to work with megabytes. The 'mega-' prefix tells us this should be a million bytes. But again it isn't. It's actually 1,024 x 1,024, or 220, or 1,048,576 bytes. This, as you can see, is even more inaccurate - it's nearly 5% out.

And so it goes on for larger units. Our one gigabyte memory chip has over 7% more than the billion bytes we may have expected. A terabyte of memory will have a trillion bytes, plus an extra 10%. The decimal prefixes we use are becoming increasingly inaccurate with the advance of technology.

The reason is that computers use binary logic. Each tiny circuit embedded deep within your microprocessor has one of two states: one or zero, on or off, true or false. We say that each circuit can store a bit, or binary digit of information, and we combine them in groups of eight to make bytes. As we combine these into an area of memory which can be addressed by the processor, we have developed circuitry in the numbers of bytes which are ever larger powers of two. At some point a few years ago it just happened to be convenient for one microchip manufacturer that 1,024 was close to 1,000, so the kilobyte prefix stuck.

Inconsistency

But there's inconsistency as well as inaccuracy. Computer hard disk manufacturers may sell you a terabyte of storage, but this time you'll only get exactly 1 trillion bytes - disk storage technology isn’t so reliant on the binary expansion. The size of flash drives, floppy disks and DVDs is quoted using decimal prefixes. CDs are an exception - a 700MB compact disk actually holds 700 x 1,024 x 1,024, or around 730 million bytes.

Data transmission is another confusing area. If you’re accessing the Internet through a dial-up modem then maybe it’s been rated at 56kbps (kilobits per second), or your broadband link could be in megabits per second. Even industry professionals can't agree among themselves on what these network bandwidth prefixes mean. Generally, network designers prefer the megabit to mean 1,048,576 bits; whereas telecommunications engineers prefer it to be a straight 1,000,000 bits.

In fact, the 56kbps modem transfers your data at neither 56,000 nor 56 x 1,024 bits per second; it's nominally 57,600 bits per second. Historically, the first baud1 rate above telegraph speed was 300bps. This figure then rose in a binary fashion to 4,800, before it was tripled to 14,400. Successive doubling then brought us to the figure of 57,600bps. Not a lot of people know that!

It was becoming clear by the 1990s that we needed a standard. It fell to a very august committee to put us straight in all things binary.

Lord Kelvin to the Rescue

Way back in 1906, a group of scientists and engineers met at the Hotel Cecil in London and formed the International Electrotechnical Commission (IEC), with the aim of bringing standardisation to the fledgling electrical industry. It was seen as important to collaborate on matters of specification and safety, terminology and testing. Delegates from 11 countries not only met and dined together, but toured the UK, taking in both the Lake District and Stratford-upon-Avon. The commission's first president was the eminent scientist Lord Kelvin, after whom the SI2 unit of temperature is named.

This spirit of cooperation has prevailed. In the 100 years since its founding, the IEC has published countless documents and standards which have shaped the electrical and electronic industry as we know it. In 1999, the IEC decided that if decimal prefixes were inaccurate we just needed another set which weren't, and produced a groundbreaking publication which went by the natty title of IEC 60027-2.

Binary Prefixes

Thanks to the IEC, we now have a spanking new set of prefixes. So long as we know what our actual figure is, we should be able to express it unambiguously in both words and symbols. That 56k modem unfortunately isn't covered; it may just have to remain an anomaly until modems are a thing of the past.

Take-up of these prefixes has so far been slow - this isn't part of the SI system, after all - but may one day catch on, hopefully before it's too late. If nothing else, they give us an interesting set of Scrabble bonus words.

Kibi-

Based on the decimal prefix kilo-, the kibibyte (KiB) is 1,024 or 210 bytes. We also have the kibibit (Kib).

Mebi-

Based on the decimal prefix mega-, the mebibyte (MiB) is 1,0242 or 220 bytes. We also have the mebibit (Mib).

Gibi-

Based on the decimal prefix giga-, the gibibyte (GiB) is 1,0243 or 230 bytes. We also have the gibibit (Gib).

Tebi-

Based on the decimal prefix tera-, the tebibyte (TiB) is 1,0244 or 240 bytes. We also have the tebibit (Tib).

Pebi-

Based on the decimal prefix peta-, the pebibyte (PiB) is 1,0245 or 250 bytes. We also have the pebibit (Pib).

Exbi-

Based on the decimal prefix exa-, the exbibyte (EiB) is 1,0246 or 260 bytes. We also have the exbibit (Eib).

Zebi-

Based on the decimal prefix zetta-, the zebibyte (ZiB) is 1,0247 or 270 bytes. We also have the zebibit (Zib).

Yobi-

Based on the decimal prefix yotta-, the yobibyte (YiB) is 1,0248 or 280 bytes. We also have the yobibit (Yib).

1 Named after the French engineer JM Emile Baudot (1845 - 1903), the baud rate is another name for the data transmission rate in non-binary systems. In fact, your data will be transmitted at a somewhat slower speed, as some of the bits transmitted will be telling the computer when the message starts and stops, as well as each of the letters within it.
2 The Système International d'Unités, or International System of Units.

 Interesting ... (Last Posting: Apr 24, 2008)

 Add your Opinion!There are tens of thousands of h2g2 Guide Entries, written by our Researchers. If you want to be able to add your own opinions to the Guide, simply become a member as an h2g2 Researcher. Tell me More!
Entry Data
Entry ID: A30560997 (Edited)

Written and Researched by:
Icy North

Edited by:
U35204

Date: 23   April   2008

 Referenced Guide Entries Computers The Internet - an Introduction 3.5 Inch Floppy Disk Maintenance DVD Video Modems Lord Kelvin - the Physicist Units of Measurement Networking Your Home Number Systems How to Build a Home or Small Office Wireless Broadband Network Theories on the Existence and Origin of the Universe The History of Magnetic Recording Binary Digits London, UK Nano the Dwarf - A Guide to Decimal Prefixes Scrabble - The Word Game

 Related BBC Pages BBC Technology UK and the Metric System

 Referenced Sites International Electrotechnical Commission UK Metric Association Bureau International des Poids et Mesures

Please note that the BBC is not responsible for the content of any external sites listed.

Most of the content on this site is created by h2g2's Researchers, who are members of the public. The views expressed are theirs and unless specifically stated are not those of the BBC. The BBC is not responsible for the content of any external sites referenced. In the event that you consider anything on this page to be in breach of the site's House Rules, please click here to alert our Moderation Team. For any other comments, please start a Conversation below.

Most of the content on h2g2 is created by h2g2's Researchers, who are members of the public. The views expressed are theirs and unless specifically stated are not those of the BBC. The BBC is not responsible for the content of any external sites referenced. In the event that you consider anything on this page to be in breach of the site's House Rules, please click here. For any other comments, please start a Conversation above.