Bit
A bit is a binary digit with one of two values, conventionally written 0 and 1.
Storage: A bit represents a two-state choice; it need not be independently addressable. A group of n bits has 2^n possible patterns, so eight bits have 256 patterns. [2]
Units: In modern storage-unit notation, 1 B is eight bits. Decimal and binary prefixes apply to either unit: 1 Mbit is 1,000,000 bits, while 1 Mibit is 1,048,576 bits. A bit count is not a byte count or a rate in bits per second. [1]
Rates: Dividing 1 Gbit/s by eight gives 125,000,000 B/s, or 125 MB/s. This changes the unit of the same rate; it does not remove protocol overhead or turn a link rating into measured file-transfer throughput. [1]
Information: Storage width is not source entropy. Shannon's base-2 entropy measures uncertainty under specified probabilities. Eight stored bits can represent eight independent fair choices or one fair choice repeated eight times; their joint entropies are 8 and 1 bits respectively. Correlations matter, so a marginal count alone does not establish compressibility. These are source models, not measured files. [3]
Relations
- related
- Byte, Binary prefix, Storage throughput
Citations
- NIST: Prefixes for binary multiples, unit examples
- WG14 N1570, C11 committee draft: sections 3.5-3.6, 5.2.4.2.1 and 6.5.3.4
- C. E. Shannon (1948), A Mathematical Theory of Communication: sections 6-7, corrected reprint
Sources & caveats
- The C terminology is read from the April 2011 N1570 committee draft; the rate conversion is arithmetic, not a device measurement.