How to Find the LSB Bit in an ASCII Byte
Find the LSB bit in an ASCII byte, see how changing it turns A into @, and distinguish bit significance from numbering and byte order.
- Bit Significance
- ASCII
On this page
The lowest-order bit (also known as the least significant bit, or LSB) is the rightmost position of a conventionally displayed byte. The highest-order bit is the leftmost position. A bit’s significance is its place value, but that doesn’t mean that the bit contains either zero or one. (In fact, the term “LSB bit” is redundant: the “B” already stands for “bit.”) RFC 20 describes how seven-bit ASCII was embedded within an eight-bit byte, with the leading high-order 0 still regarded as the highest-order position.
For a quick check, take the rightmost bit of an eight-bit byte written with the high-order bit on the left. That position has the weight 1. For A, 01000001 ends in 1; for @, 01000000 ends in 0. The table lines up the same positions under different numbering schemes. RFC 20’s added high-order 0 sits outside the seven ASCII data bits labeled b7 through b1.
| Written left to right | 1st (MSB) | 2nd | 3rd | 4th | 5th | 6th | 7th | 8th (LSB) |
|---|---|---|---|---|---|---|---|---|
| Weight | 128 | 64 | 32 | 16 | 8 | 4 | 2 | 1 |
| LSB0 index | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| MSB0 index | 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 |
| RFC 20 ASCII labels | added 0 | b7 | b6 | b5 | b4 | b3 | b2 | b1 |
| A | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 |
| @ | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 |
Numbering Bits by Significance
Numbering bits from the least significant end, you can give a position the index 0 (the rightmost position) through 7 (the leftmost). You can also call the leftmost position bit 0. Under that scheme, the rightmost position is bit 7, but it still has the weight 1. But whether you choose numbering based on least-significance or most-significance doesn’t change the place value of the position itself. This matters when you’re encoding and decoding characters, as shown below.

RFC 20 says that b7 through b1 represent seven bits of ASCII data: b7 is the high-order bit and b1 is the low-order bit. So the rightmost bit is the lowest-order, or least-significant, bit. When you look at an ASCII character, say A, you can see that it’s made up of a sequence of bits. For example, A is represented by 65 decimal, which is 01000001 in binary. In this case, the ASCII code for A uses the column and row rules described in RFC 20: the first three bits determine the column, and the last four determine the row. Here, the column is determined by b7, b6, and b5 (from 100), so column 4; the row is determined by b4, b3, b2, and b1 (from 0001), so row 1. That gives us the ASCII pattern 1000001, where the leftmost bit is b7, followed by b6, then b5, down to b1.
The ASCII code for @ is 64, or 01000000 as a byte. In the RFC 20 table it’s still in column 4 (100), but it’s in row 0 (0000) instead of row 1.
If you line up the two patterns and compare them bit by bit, you’ll see only one bit has changed — the rightmost bit. And that makes sense: A and @ are only different in their rightmost bit. By changing that bit to 0 instead of 1, we’ve gone from A to @.
The LSB also tells you whether the character code is odd or even: 1 means odd, and 0 means even.
| Character | Decimal | Binary | LSB |
|---|---|---|---|
| A | 65 | 01000001 | 1 |
| B | 66 | 01000010 | 0 |
| a | 97 | 01100001 | 1 |
| 0 | 48 | 00110000 | 0 |
| 1 | 49 | 00110001 | 1 |
You can check your result with bitwise operations: value & 1 extracts the LSB, while value ^ 1 flips only that bit. For our examples, 65 & 1 = 1, 64 & 1 = 0, and 65 ^ 1 = 64. Every other position contributes a multiple of 2, so flipping only the weight-1 bit changes the integer by exactly 1. That’s also why this bit determines whether the code’s integer value is odd or even. This differs from a transmission parity bit, which is set according to the count of 1 bits.
The ASCII codes for the digit characters 0–9 run from 48 to 57. Since 48 is even, the digit and its ASCII code have the same odd-or-even result.
Significance Byte Order and Serial Order
Why do these terms matter? Because they describe what the bits represent and how they’re stored. Significance tells you the bit’s place value, regardless of whether it holds 0 or 1. Byte order determines how bytes are arranged in storage within a multibyte value, while serial order tells you which bit comes first within a sequence of bits. These concepts resolve any confusion about whether transmission order changes how a byte should be read on the page.
Least Significant Bit First Transmission
The concept of least-significant-bit-first refers to the lowest-order bit being transmitted first. Most-significant-bit-first, in contrast, refers to the highest-order bit being transmitted first. The format or protocol tells you which bit goes first. Conventional written bytes, however, display the LSB on the far right, even if it’s actually transmitted first.
Take H, written as 01001000. Suppose you send all eight data bits one at a time, starting with the LSB. You’ll receive them in the order shown below. This is the result of that assumed sending order, rather than a general transmission rule for ASCII.
| View of the same H byte | Bit sequence |
|---|---|
| MSB first on paper, left → right | 0 1 0 0 1 0 0 0 |
| LSB first in transmission, first arrival → last arrival | 0 0 0 1 0 0 1 0 |
Byte order applies to multibyte values. For example, the same two-byte integer 0x4140 is stored as 41 40 in big-endian order and 40 41 in little-endian order. Those are hexadecimal byte values. Their order changes, but each position within each byte keeps its original weight.
Check the Bits Yourself
You can try the weight-1 change in How to Read Binary Code, under “Practice: Flip the Bits.” The exercise starts at H, 01001000, or 72. Click only the rightmost position, labeled with weight 1. You’ll get I, 01001001, or 73. Click it again and you’ll return to H.
For a width check, paste 1000001 01000000 into Binary Translator and choose Binary → Text. Auto gives you A@ and flags the first group as seven bits. Switch to “Read strictly as 8-bit bytes” and you’ll get an error: group 1 has length 7, but the expected length is 8.
If you know that the first group came from seven-bit ASCII, add the leading 0 to make 01000001 01000000. The eight-bit setting can then decode it as A@. If you don’t know the source format, check it first. A missing bit isn’t a reason to add a 0 wherever one seems convenient.
Sources
Try it yourself
Free, in your browser. Nothing you type is uploaded.
More in Binary Basics
- Bits and Bytes Explained Through ASCII and UTF-8 TextUnderstand bits and bytes with ASCII and UTF-8 examples: eight bits per byte, 256 patterns, and why letters and emoji use different byte counts.
- Bits Bytes and Words Explained Through Text StorageUnderstand bits bytes and words through text storage: eight-bit bytes, context-dependent machine words, and why CPU width does not set character size.
- What Is Binary Code Used For? Text, Images, Audio and ProgramsLearn what binary code is used for in text, images, audio and programs, with an ASCII example and an explanation of why decoding depends on format.