Bit numbering
In computing, bit numbering is the convention used to identify the bit positions in a binary number.[src] The bits can be those in a memory byte or word, or those of an internal CPU register or data bus.[src]
In computing, bit numbering is the convention used to identify the bit positions in a binary number.[src] The bits can be those in a memory byte or word, or those of an internal CPU register or data bus.[src] ==Bit significance and indexing== In computing, the least significant bit (LSb) is the bit position in a binary integer representing the lowest-order place of the integer.[src] Similarly, the most significant bit (MSb) represents the highest-order place of the binary integer.[src] The LSb is sometimes referred to as the low-order bit.[src] Due to the convention in positional notation of writing less significant digits further to the right, the LSb also might be referred to as the right-most bit.[src] The MSb is similarly referred to as the high-order bit or left-most bit.[src] In both cases, the LSb and MSb correlate directly to the least significant digit and most significant digit of a decimal integer.[src] Bit indexing correlates to the positional notation of the value in base 2.[src] For this reason, bit index is not affected by how the value is stored on the device, such as the value's byte order.[src] Rather, it is a property of the numeric value in binary itself.[src] This is often utilized in programming via bit shifting: A value of 1 << n corresponds to the n th bit of a binary integer (with a value of 2 n ).[src] This table illustrates an example of decimal value of 149 and the location of LSb.[src] In this particular example, the position of unit value (decimal 1 or 0) is located in bit position 0 (n = 0).[src] MSb stands for most significant bit, while LSb stands for least significant bit.[src] This table illustrates an example of an 8 bit signed decimal value using the two's complement method.[src] The MSb most significant bit has a negative weight in signed integers, in this case −2 7 = −128.[src] The other bits have positive weights.[src] The lsb (least significant bit) has weight 1.[src] The signed value is in this case −128+2 = −126.[src] ==LSb 0 bit numbering == When the bit numbering starts at zero for the least significant bit (LSb) the numbering scheme is called LSb 0.[src] This bit numbering method has the advantage that for any unsigned number the value of the number can be calculated by using exponentiation with the bit number and a base of 2.[src] The value of an unsigned binary integer is therefore \sum_{i=0}^{N-1} b_i \cdot 2^i where b i denotes the value of the bit with number i, and N denotes the number of bits in total.[src] ==MSb 0 bit numbering == When the bit numbering starts at zero for the most significant bit (MSb) the numbering scheme is called MSb 0.[src] The value of an unsigned binary integer is therefore \sum_{i=0}^{N-1} b_i \cdot 2^{N-1-i} \sum_{i=1}^{N} b_i \cdot 2^{N-i} PL/I numbers strings starting with 1 for the leftmost bit.[src] The Fortran function uses LSb 0 numbering.[src] ==See also== ARINC 429 Binary numeral system Signed number representations Two's complement Endianness Binary logarithm Unit in the last place (ULP) Find first set MAC address: Bit-reversed notation ==References==[src]
29 sentences · 29 cited inline · 0 references stored
References
No reference rows published for this article.
Cite this article
MLA
"Bit numbering." encyclopegia.org, 2026, https://encyclopegia.org/wiki/bit-numbering. Accessed 03 December 2026.
Chicago
"Bit numbering." encyclopegia.org. Accessed December 3, 2026. https://encyclopegia.org/wiki/bit-numbering.
APA
encyclopegia.org. (2026). Bit numbering. Retrieved December 3, 2026, from https://encyclopegia.org/wiki/bit-numbering
Accessed December 3, 2026 · CC BY-SA 4.0 · citation page · JSON