Units of information
In computing and telecommunications, a unit of information is the capacity of some standard data storage system or communication channel, used to measure the capacities of other systems and channels. In information theory, units of information are also used to measure the information contents or entropy of random variables.
The most common units are the bit, the capacity of a system which can exist in only two states, and the byte (or octet), which is equivalent to eight bits. Multiples of these units can be formed from these with the SI prefixes (power-of-ten prefixes) or the newer IEC binary prefixes (binary power prefixes). Information capacity is a dimensionless quantity.
In 1928, Ralph Hartley observed a fundamental storage principle, which was further formalized by Claude Shannon in 1945: the information that can be stored in a system is proportional to the logarithm logb N of the number N of possible states of that system. Changing the basis of the logarithm from b to a different number c has the effect of multiplying the value of the logarithm by a fixed constant, namely logc N = (logc b) logb N. Therefore, the choice of the basis b determines the unit used to measure information. In particular, if b is a positive integer, then the unit is the amount of information that can be stored in a system with N possible states.
When b is 2, the unit is the shannon, equal to the information content of one "bit" (a contraction of binary digit). A system with 8 possible states, for example, can store up to log28 = 3 bits of information. Other units that have been named include:
- Base b = 3: the unit is called "trit", and is equal to log2 3 (≈ 1.585) bits.
- Base b = 10: the unit is called decimal digit, hartley, ban, decit, or dit, and is equal to log2 10 (≈ 3.322) bits.
- Base b = e, the base of natural logarithms: the unit is called a nat, nit, or nepit (from Neperian), and is worth log2 e (≈ 1.443) bits.
The trit, ban, and nat are rarely used to measure storage capacity; but the nat, in particular, is often used in information theory, because natural logarithms are sometimes more convenient than logarithms in other bases.
Units derived from bit
Several conventional names are used for collections or groups of bits.
Shave and a haircut
The name given to 2 bits. The name is a reference to the song, "Shave and a haircut".
Historically, a byte was the number of bits used to encode a character of text in the computer, which depended on computer hardware architecture; but today it almost always means eight bits – that is, an octet. A byte can represent 256 (28) distinct values, such as the integers 0 to 255, or −128 to 127. The IEEE 1541-2002 standard specifies "B" (upper case) as the symbol for byte. Bytes, or multiples thereof, are almost always used to specify the sizes of computer files and the capacity of storage units. Most modern computers and peripheral devices are designed to manipulate data in whole bytes or groups of bytes, rather than individual bits.
A group of four bits, or half a byte, is sometimes called a nibble or nybble. This unit is most often used in the context of hexadecimal number representations, since a nibble has the same amount of information as one hexadecimal digit.
Word, block, and page
Computers usually manipulate bits in groups of a fixed size, conventionally called words. The number of bits in a word is usually defined by the size of the registers in the computer's CPU, or by the number of data bits that are fetched from its main memory in a single operation. In the IA-32 architecture more commonly known as x86-32, a word is 16 bits, but other past and current architectures use words with 8, 24, 32, 36, 56, 64, 80 bits or others.
Terms for large quantities of bits can be formed using the standard range of SI prefixes for powers of 10, e.g., kilo = 103 = 1000 (as in kilobit or kbit), mega- = 106 = 1000000 (as in megabit or Mbit) and giga = 109 = 1000000000 (as in gigabit or Gbit). These prefixes are more often used for multiples of bytes, as in kilobyte (1 kB = 8000 bit), megabyte (1 MB = 8000000bit), and gigabyte (1 GB = 8000000000bit).
However, for technical reasons, the capacities of computer memories and some storage units are often multiples of some large power of two, such as 228 = 268435456 bytes. To avoid such unwieldy numbers, people have often misused the SI prefixes to mean the nearest power of two, e.g., using the prefix kilo for 210 = 1024, mega for 220 = 1048576, and giga for 230 = 1073741824, and so on. For example, a random access memory chip with a capacity of 228 bytes would be referred to as a 256-megabyte chip. The table below illustrates these differences.
Multiples of bits
|Symbol||Prefix||SI Meaning||Binary meaning||Size difference|
|k||kilo||103 = 10001||210 = 10241||2.40%|
|M||mega||106 = 10002||220 = 10242||4.86%|
|G||giga||109 = 10003||230 = 10243||7.37%|
|T||tera||1012 = 10004||240 = 10244||9.95%|
|P||peta||1015 = 10005||250 = 10245||12.59%|
|E||exa||1018 = 10006||260 = 10246||15.29%|
|Z||zetta||1021 = 10007||270 = 10247||18.06%|
|Y||yotta||1024 = 10008||280 = 10248||20.89%|
In the past, uppercase K has been used instead of lowercase k to indicate 1024 instead of 1000. However, this usage was never consistently applied.
On the other hand, for external storage systems (such as optical discs), the SI prefixes were commonly used with their decimal values (powers of 10). There have been many attempts to resolve the confusion by providing alternative notations for power-of-two multiples. In 1998 the International Electrotechnical Commission (IEC) issued a standard for this purpose, namely a series of binary prefixes that use 1024 instead of 1000 as the main radix:
|Multiples of bytes|
|Orders of magnitude of data|
|Ki||kibi, binary kilo||1 kibibyte (KiB)||210 bytes||1024 B|
|Mi||mebi, binary mega||1 mebibyte (MiB)||220 bytes||1024 KiB|
|Gi||gibi, binary giga||1 gibibyte (GiB)||230 bytes||1024 MiB|
|Ti||tebi, binary tera||1 tebibyte (TiB)||240 bytes||1024 GiB|
|Pi||pebi, binary peta||1 pebibyte (PiB)||250 bytes||1024 TiB|
|Ei||exbi, binary exa||1 exbibyte (EiB)||260 bytes||1024 PiB|
- 1 bit – answer to a yes/no question
- 1 byte – a number from 0 to 255.
- 90 bytes: enough to store a typical line of text from a book.
- 512 bytes = ½ KiB: the typical sector of a hard disk.
- 1024 bytes = 1 KiB: the classical block size in UNIX filesystems.
- 2048 bytes = 2 KiB: a CD-ROM sector.
- 4096 bytes = 4 KiB: a memory page in x86 (since Intel 80386).
- 4 kB: about one page of text from a novel.
- 120 kB: the text of a typical pocket book.
- 1 MB – a 1024×1024 pixel bitmap image with 256 colors (8 bpp color depth).
- 3 MB – a three-minute song (133 kbit/s)
- 650-900 MB – a CD-ROM
- 1 GB – 114 minutes of uncompressed CD-quality audio at 1.4 Mbit/s
- 8/16 GB – size of a normal flash drive
- 4 TB – the size of a $150 hard disk (as of late 2014)
- 1.3 ZB – prediction of the volume of the whole internet in 2016.
Obsolete and unusual units
|This section needs additional citations for verification. (September 2014) (Learn how and when to remove this template message)|
Several other units of information storage have been named.
- 1 bit: sniff.
- 2 bits: crumb, quad, quarter, tayste, tydbit, semi-nibble.
- 3 bits: triad, triade
- 5 bits: nickel, nyckle.
- 6 bits: byte (in early IBM machines using BCD alphamerics).
- 10 bits: declet, decle, deckle, dyme.
- 12 bits: slab
- 16 bits: wyde, doublet, plate, playte, chomp, chawmp (on a 32-bit machine).
- 18 bits: chomp, chawmp (on a 36-bit machine).
- 32 bits: quadlet, dinner, dynner, gawble (on a 32-bit machine).
- 48 bits: gobble, gawble (under circumstances that remain obscure).
- 64 bits: octlet.
- 128 bits: hexlet.
- 16 bytes: paragraph.
- 6 trits: tryte
- combit, comword
Most of these names are jargon, obsolete, or used only in very restricted contexts.
- Norman Abramson (1963), Information theory and coding. McGraw-Hill.
- Mackenzie, Charles E. (1980). Coded Character Sets, History and Development. The Systems Programming Series (1 ed.). Addison-Wesley Publishing Company, Inc. p. xii. ISBN 0-201-14460-3. LCCN 77-90165. ISBN 978-0-201-14460-4. Retrieved 2016-05-22. 
- Donald E. Knuth, The Art of Computer Programming, vol.2: Seminumerical algorithms.
- Shanmugam (2006), Digital and Analog Computer Systems.
- Gregg Jaeger (2007),  Quantum information: an overview
- I. Ravi Kumar (2001), Comprehensive Statistical Theory of Communication.
- Nybble at dictionary reference.com; sourced from Jargon File 4.2.0, accessed 2007-08-12
- ISO/IEC standard is ISO/IEC 80000-13:2008. This standard cancels and replaces subclauses 3.8 and 3.9 of IEC 60027-2:2005. The only significant change is the addition of explicit definitions for some quantities. ISO Online Catalogue
- JEDEC Solid State Technology Association (December 2002). "Terms, Definitions, and Letter Symbols for Microcomputers, Microprocessors, and Memory Integrated Circuits" (PDF). JESD 100B.01. Retrieved 2009-04-05
- Weisstein, Eric. W. "Crumb". MathWorld. Retrieved 2015-08-02.
- Paul, Reinhold (2013). "Elektrotechnik und Elektronik für Informatiker - Grundgebiete der Elektronik". Leitfaden der Informatik. B.G. Teubner Stuttgart / Springer. ISBN 3322966526. 9783322966520. Retrieved 2015-08-03.
- Böhme, Gert; Born, Werner; Wagner, B.; Schwarze, G. (2013-07-02) . Jürgen Reichenbach, ed. Programmierung von Prozeßrechnern. Reihe Automatisierungstechnik (in German). 79. VEB Verlag Technik Berlin, reprint: Springer Verlag. doi:10.1007/978-3-663-02721-8. ISBN 978-3-663-00808-8. 9/3/4185.
- IEEE 754-2008 - IEEE Standard for Floating-Point Arithmetic. 2008-08-29. doi:10.1109/IEEESTD.2008.4610935. ISBN 978-0-7381-5752-8. Retrieved 2016-02-10.
- Muller, Jean-Michel; Brisebarre, Nicolas; de Dinechin, Florent; Jeannerod, Claude-Pierre; Lefèvre, Vincent; Melquiond, Guillaume; Revol, Nathalie; Stehlé, Damien; Torres, Serge (2010). Handbook of Floating-Point Arithmetic (1 ed.). Birkhäuser. doi:10.1007/978-0-8176-4705-6. ISBN 978-0-8176-4704-9. LCCN 2009939668.
- Erle, Mark A. (2008-11-21). Algorithms and Hardware Designs for Decimal Multiplication (Thesis). Lehigh University: ProQuest (published 2009). ISBN 9781109042283. 1109042280. Retrieved 2016-02-10.
- Kneusel, Ronald T. (2015). Numbers and Computers. Springer. ISBN 9783319172606. 3319172603. Retrieved 2016-02-10.
- Joe Zbiciak. "AS1600 Quick-and-Dirty Documentation". Retrieved 2013-04-28.
- "315 Electronic Data Processing System" (PDF). NCR. November 1965. NCR MPN ST-5008-15. Archived (PDF) from the original on 2016-05-24. Retrieved 2015-01-28.
- Bardin, Hillel (1963). "NCR 315 Seminar" (PDF). Computer Usage Communique. 2 (3). Archived (PDF) from the original on 2016-05-24.
- Schneider, Carl (2013) . Datenverarbeitungs-Lexikon [Lexicon of information technology] (in German) (softcover reprint of hardcover 1st ed.). Wiesbaden, Germany: Springer Fachmedien Wiesbaden GmbH / Betriebswirtschaftlicher Verlag Dr. Th. Gabler GmbH. pp. 201, 308. doi:10.1007/978-3-663-13618-7. ISBN 978-3-409-31831-0. ISBN 3-663-13618-3 / ISBN 978-3-663-13618-7 (ebook). Retrieved 2016-05-24.
slab, Abk. aus syllable = Silbe, die kleinste adressierbare Informationseinheit für 12 bit zur Übertragung von zwei Alphazeichen oder drei numerischen Zeichen. (NCR) […] Hardware: Datenstruktur: NCR 315-100 / NCR 315-RMC; Wortlänge: Silbe; Bits: 12; Bytes: –; Dezimalziffern: 3; Zeichen: 2; Gleitkommadarstellung: fest verdrahtet; Mantisse: 4 Silben; Exponent: 1 Silbe (11 Stellen + 1 Vorzeichen) [slab, abbr. for syllable = syllable, smallest addressable information unit for 12 bits for the transfer of two alphabetical characters or three numerical characters. (NCR) […] Hardware: Data structure: NCR 315-100 / NCR 315-RMC; Word length: Syllable; Bits: 12; Bytes: –; Decimal digits: 3; Characters: 2; Floating point format: hard-wired; Significand: 4 syllables; Exponent: 1 syllable (11 digits + 1 prefix)]
- The Art of Computer Programming.
- IEEE Std 1754-1994 - IEEE Standard for a 32-bit Microcontroller Architecture. The Institute of Electrical and Electronic Engineers, Inc. pp. 5–7. doi:10.1109/IEEESTD.1995.79519. ISBN 1-55937-428-4. Retrieved 2016-02-10. (NB. The standard defines doublets, quadlets, octlets and hexlets as 2, 4, 8 and 16 bytes, giving the numbers of bits (16, 32, 64 and 128) only as a secondary meaning. This might be important given that bytes were not always understood to mean 8 bits (octets) historically.)
- Brousentsov, N. P.; Maslov, S. P.; Ramil Alvarez, J.; Zhogolev, E.A. "Development of ternary computers at Moscow State University". Retrieved 2010-01-20.
- US4319227, Malinowski, Christopher W.; Heinz Rinderle & Martin Siegle, "Three-state signaling system", issued 1982-03-09, assigned to Department of Research and Development, AEG-Telefunken, Heilbronn, Germany