All Topics  
Bit

 

   Email Print
   Bookmark   Link






 

Bit



 
 
A bit is a binary
Binary numeral system

The binary numeral system, or notation with a radix of 2. Owing to its straightforward implementation in digital electronic circuitry using logic gates, the binary system is used internally by all modern computers....
 digit
Numerical digit

In mathematics and computer science, a digit is a symbol used in numerals , to represent numbers, in Positional notation numeral systems. The name "digit" comes from the fact that the 10 digits of the hands correspond to the 10 symbols of the common base 10 number system, i.e....
, taking a value of either 0 or 1. Binary digits are a basic unit of information
Information

Information as a Conveyed concept has a diversity of meanings, from everyday usage to technical settings. Generally speaking, the concept of information is closely related to notions of constraint, communication, control system, data, form, instruction, knowledge, Meaning , stimulation, pattern, perception, and knowledge representation....
 storage and communication
Transmission (telecommunications)

In telecommunications, transmission is the process of sending, propagating and receiving an analogue or digital information signal over a physical point-to-point or point-to-multipoint transmission medium, either wired or wireless....
 in digital computing
Computing

Computing is usually defined as the activity of using and developing computer technology, computer hardware and computer software. It is the computer-specific part of information technology....
 and digital information theory
Information theory

Information theory is a branch of applied mathematics and electrical engineering involving the quantification of information. Historically, information theory was developed by Claude E....
. Information theory also often uses the natural digit, called either a nit or a nat
Nat (information)

A nat is a logarithmic unit of information or information entropy, based on natural logarithms and powers of e , rather than the powers of 2 and binary logarithm which define the bit....
. Quantum computing also uses qubit
Qubit

A quantum bit or qubit is a unit of quantum information. That information is described by a Quantum state in a Two-state quantum system, which is formally equivalent to a two-dimensional vector space over the complex numbers....
s, a single piece of information with a probability of being true.

The bit is also a unit of measurement, the information capacity of one binary digit.






Discussion
Ask a question about 'Bit'
Start a new discussion about 'Bit'
Answer questions from other users
Full Discussion Forum



Encyclopedia


A bit is a binary
Binary numeral system

The binary numeral system, or notation with a radix of 2. Owing to its straightforward implementation in digital electronic circuitry using logic gates, the binary system is used internally by all modern computers....
 digit
Numerical digit

In mathematics and computer science, a digit is a symbol used in numerals , to represent numbers, in Positional notation numeral systems. The name "digit" comes from the fact that the 10 digits of the hands correspond to the 10 symbols of the common base 10 number system, i.e....
, taking a value of either 0 or 1. Binary digits are a basic unit of information
Information

Information as a Conveyed concept has a diversity of meanings, from everyday usage to technical settings. Generally speaking, the concept of information is closely related to notions of constraint, communication, control system, data, form, instruction, knowledge, Meaning , stimulation, pattern, perception, and knowledge representation....
 storage and communication
Transmission (telecommunications)

In telecommunications, transmission is the process of sending, propagating and receiving an analogue or digital information signal over a physical point-to-point or point-to-multipoint transmission medium, either wired or wireless....
 in digital computing
Computing

Computing is usually defined as the activity of using and developing computer technology, computer hardware and computer software. It is the computer-specific part of information technology....
 and digital information theory
Information theory

Information theory is a branch of applied mathematics and electrical engineering involving the quantification of information. Historically, information theory was developed by Claude E....
. Information theory also often uses the natural digit, called either a nit or a nat
Nat (information)

A nat is a logarithmic unit of information or information entropy, based on natural logarithms and powers of e , rather than the powers of 2 and binary logarithm which define the bit....
. Quantum computing also uses qubit
Qubit

A quantum bit or qubit is a unit of quantum information. That information is described by a Quantum state in a Two-state quantum system, which is formally equivalent to a two-dimensional vector space over the complex numbers....
s, a single piece of information with a probability of being true.

The bit is also a unit of measurement, the information capacity of one binary digit. It has the symbol bit or b, the latter recommended by IEEE 1541-2002, see discussion below.

Binary digit

Claude E. Shannon first used the word bit in his 1948 paper A Mathematical Theory of Communication
A Mathematical Theory of Communication

"A Mathematical Theory of Communication" is an influential 1948 article by mathematician Claude E. Shannon....
. He attributed its origin to John W. Tukey, who had written a Bell Labs memo on 9 January 1947 in which he contracted "binary digit" to simply "bit". Interestingly, Vannevar Bush
Vannevar Bush

Vannevar Bush was an United States engineer and science administrator known for his work on analog computer, his political role in the development of the atomic bomb, and the idea of the memex, which was seen decades later as a pioneering concept for the World Wide Web....
 had written in 1936 of "bits of information" that could be stored on the punch card
Punch card

A punch card or punched card , is a piece of paperboard that contains digital information represented by the presence or absence of holes in predefined positions....
s used in the mechanical computers of that time.

A bit of storage can be either on (1) or off (0). A single bit is a one or a zero, a true or a false, a "flag" which is "on" or "off", or in general, the quantity of information required to distinguish two mutually exclusive equally probable state
State (computer science)

In computer science and automata theory, a state is a unique configuration of information in a program or machine. It is a concept that occasionally extends into some forms of systems programming such as Lexical analysiss and parsers....
s
from each other. Gregory Bateson
Gregory Bateson

Gregory Bateson was a United Kingdom anthropology, social sciences, linguistics, semiotics and cybernetics whose work intersected that of many other fields....
 defined a bit as "a difference which makes a difference".

Representation


Transmission

Bits can be implemented in many forms depending on context. For example, in digital circuit
Digital circuit

Digital electronics are electronics systems that use digital signals. Digital electronics are representations of Boolean algebra and are used in computers, mobile phones, and other consumer products....
ry in most computing devices as well as flash memories, a bit is an electrical pulse generated by the internal clock in the control unit or data register. For devices using positive logic, a logical 1 (true value) is represented by up to 5 volt
Volt

The volt is the SI SI derived unit of electric potential difference or electromotive force, commonly known as voltage. It is named in honor of the Lombard physicist Alessandro Volta , who invented the voltaic pile, possibly the first chemical battery ....
s, while a logical 0 (false value) is represented by 0 volt.

Storage


Bits are manipulated in the volatile memory
Volatile memory

Volatile memory, also known as volatile storage or primary storage device, is computer memory that requires power to maintain the stored information, unlike non-volatile memory which does not require a maintained power supply....
 of a computer, and can further be kept in a persistent manner on a magnetic storage
Magnetic storage

Magnetic storage and magnetic recording are terms from engineering referring to the storage of data on a magnetized medium. Magnetic storage uses different patterns of magnetization in a magnetizable material to store data and is a form of non-volatile memory....
 device such as magnetic tape or disc, as well as on optical disc
Optical disc

In computing, sound reproduction, and video, an optical disc is a flat, circular disc wherein Data is stored in the pits in its flat surface ? sequentially on the continuous, spiral track extending from the innermost track to the outermost track, covering the entire disc surface....
s.

Unit


It is important to differentiate between the use of "bit" in referring to a discrete storage unit and the use of "bit" in referring to a statistical unit of information. The bit, as a discrete storage unit, can by definition store only 0 or 1. A statistical bit is the amount of information that, on average, can be stored in a discrete bit. It is thus the amount of information carried by a choice between two equally likely outcomes. One bit corresponds to about 0.693 nat
Nat (information)

A nat is a logarithmic unit of information or information entropy, based on natural logarithms and powers of e , rather than the powers of 2 and binary logarithm which define the bit....
s (ln(2)), or 0.301 hartley
Ban (information)

A ban, sometimes called a hartley or a dit , is a logarithmic unit which measures information or information entropy, based on base 10 logarithms and powers of 10, rather than the powers of 2 and binary logarithm which define the bit....
s (log10(2)).

Consider, for example, a computer file
Computer file

A computer file is a block of arbitrary information, or resource for storing information, which is available to a computer program and is usually based on some kind of durable computer storage....
 with one thousand 0s and 1s which can be losslessly compressed
Lossless data compression

Lossless data compression is a class of data compression algorithms that allows the exact original data to be reconstructed from the compressed data....
 to a file of five hundred 0s and 1s (on average, over all files of that kind). The original file, although having 1,000 bits of storage, has at most 500 bits of information entropy
Information entropy

In information theory, entropy is a measure of the uncertainty associated with a random variable. The term by itself in this context usually refers to the Shannon entropy, which quantifies, in the sense of an expected value, the self-information contained in a message, usually in units such as bits....
, since information is not destroyed by lossless compression. A file can have no more information theoretical bits than it has storage bits. If these two ideas need to be distinguished, sometimes the name bit is used when discussing data storage while shannon is used for the statistical bit. However, most of the time, the meaning is clear from the context.

Abbreviation and symbol

IEEE 1541-2002 specifies "b" to be the unit symbol for bit and "B" to be that for byte. This convention is also widely used in computing.

SATA-IO uses Gb/s.

The relevant ISO/IEC standard is IEC 80000-13:2008
ISO/IEC 80000

International standard ISO 80000 or IEC 80000 , successor of ISO 31 and partially of IEC 60027, is the most widely respected style guide for the use of physical quantities and units of measurement, and formulas involving them, in scientific and educational documents worldwide....
 which is not publicly available. ISO says: "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."

These subclauses were related to information theory and prefixes for binary multiples.

The International Electrotechnical Commission
International Electrotechnical Commission

The International Electrotechnical Commission is a Non-profit organization, non-governmental international standards organization that prepares and publishes International Standards for all electrical, electronic and related technologies ? collectively known as "electrotechnology"....
's IEC 60027
IEC 60027

IEC 60027 is the International Electrotechnical Commission's standard on Letter symbols to be used in electrical technology. It consists of several parts:...
, specifies that the bit should have the symbol bit, used in all multiples, such as "kbit" (for kilobit). In the same documents, the symbols "o" and "B" are specified for the byte
Byte

A byte is a basic unit of measurement of Computer storage in computer science. In many computer architectures it is a Byte addressing memory address space....
.

NIST in their "Guide for the Use of the International System of Units Edition 2008" recommends "bit" while referring to obsolete ISO 31
ISO 31

International Standard ISO 31 is the most widely respected style guide for the use of physical quantities and units of measurement, and formulas involving them, in scientific and educational documents worldwide....
 and IEC 60027
IEC 60027

IEC 60027 is the International Electrotechnical Commission's standard on Letter symbols to be used in electrical technology. It consists of several parts:...
.

Multiple bits

A byte
Byte

A byte is a basic unit of measurement of Computer storage in computer science. In many computer architectures it is a Byte addressing memory address space....
 is a collection of bits, which may differ in size but the standard at present is almost always eight bits. Eight-bit bytes, also known as octet
Octet (computing)

In computing, an octet is a grouping of eight bits.Octet, with the only exception noted below, always refers to an entity having exactly eight bits....
s
, can represent 256 values (28 values, 0–255). A four-bit quantity is known as a nibble
Nibble

A nibble is the computing term for a four-bit aggregation, or half an octet . As a nibble contains 4 bits, there are sixteen possible values, so a nibble corresponds to a single hexadecimal digit ....
, and can represent 16 values (24 values, 0–15). A rarely used term, crumb, can refer to a two-bit quantity, and can represent 4 values (2² values, 0–3).

"Word" is a term for a slightly larger group of bits, but it has no standard size. It represents the size of one register in a Computer
Computer

A computer is a machine that manipulates Data according to a list of Code .The first devices that resemble modern computers date to the mid-20th century , although the computer concept and various machines similar to computers existed earlier....
-CPU. In the IA-32
IA-32

IA-32 , often generically called x86 or x86-32, is the instruction set architecture of Intel's most commercially successful microprocessors....
 architecture more commonly known as x86-32, 16 bits are called a "word" (with 32 bits being a double word or dword
Word (computer science)

In computing, "word" is a term for the natural unit of data used by a particular computer design. A word is simply a fixed-sized group of bits that are handled together by the machine....
), but other architectures have word sizes of 8, 32, 64, 80 or others.

Terms for large quantities of bits can be formed using the standard range of SI prefixes, e.g., kilo
Kilo

Kilo is a SI prefix in the SI and other systems of units denoting 1 E3 or 1,000. For example:* one kilogram is 1,000 grams* one kilometre is 1,000 metres...
bit (kbit), mega
Mega

mega is an SI prefix in the SI system of Units of measurements denoting a factor of 1 E6, 1,000,000 .For example, 1 MW = 1,000,000 watts = 1,000 kilowatts....
bit (Mbit) and giga
Giga

Giga is a SI prefix in the SI system of units denoting Orders of magnitude , or 1,000,000,000. The Oxford English Dictionary reports the earliest written use of giga- in this sense to be in the Reports of the International Union of Pure and Applied Chemistry 14th Conference in 1947: "The following prefixes to abbreviations for the names...
bit (Gbit). Note that much confusion exists regarding these units and their abbreviations, due in part to the issues above and in part to the issues surrounding binary prefix
Binary prefix

In computing, a binary prefix is a set of letters that precede a unit of measure to indicate multiplication by a power of two. In certain contexts in computing, such as computer memory sizes, units of information storage and communication traffic have traditionally been reported in multiples of powers of two....
es.

When a bit within a group of bits such as a byte or word is to be referred to, it is usually specified by a number from 0 (not 1) upwards corresponding to its position within the byte or word. However, 0 can refer to either the most significant bit
Most significant bit

In computing, the most significant bit is the bit position in a Binary numeral system having the greatest value. The msb is sometimes referred to as the left-most bit on big-endian architectures, due to the convention in positional notation of writing more significant digits further to the left....
 or to the least significant bit
Least significant bit

In computing, the least significant bit is the bit position in a Binary numeral system integer giving the units value, that is, determining whether the number is even or odd....
 depending on the context, so the convention being used must be known.

Certain bitwise
Bitwise operation

In computer programming, a bitwise operation operates on one or two bit patterns or Binary numeral system at the level of their individual bits....
 computer processor
Central processing unit

A central processing unit is an electronic circuit that can execute computer programs. This broad definition can easily be applied to many early computers that existed long before the term "CPU" ever came into widespread usage....
 instructions (such as bit set) operate at the level of manipulating bits rather than manipulating data interpreted as an aggregate of bits.

Telecommunications or computer network
Computer network

A computer network is a group of interconnected computers. Networks may be classified according to a wide variety of characteristics. This article provides a general overview of some types and categories and also presents the basic components of a network....
 transfer rates are usually described in terms of bits per second (bit/s), not to be confused with baud
Baud

In telecommunications and electronics, baud is synonymous to symbols/s or pulses/s. It is the unit of symbol rate, also known as baud rate or modulation rate; the number of distinct symbol changes made to the transmission medium per second in a digitally modulation signal or a line code....
.

See also

  • Units of information
    Units of information

    Units of information are a way of measuring a quantity of information or an entropy....
  • Byte
    Byte

    A byte is a basic unit of measurement of Computer storage in computer science. In many computer architectures it is a Byte addressing memory address space....
  • Integral data type
  • Bitstream
    Bitstream

    A bitstream or bit stream is a time series of bits.A bytestream is a series of bytes, typically of 8 bits each, and can be regarded as a special case of a bitstream....
  • Information entropy
    Information entropy

    In information theory, entropy is a measure of the uncertainty associated with a random variable. The term by itself in this context usually refers to the Shannon entropy, which quantifies, in the sense of an expected value, the self-information contained in a message, usually in units such as bits....
  • Binary arithmetic
  • Ternary numeral system
    Ternary numeral system

    Ternary or trinary is the Base - numeral system. Analogous to a "bit", a ternary numerical digit is known as a trit . One trit contains about 1.58596 bit of information....