B in binary (uppercase)
AnswerUppercase B B is 01000010 in binary — ASCII code 66.
012816403201608041201
How uppercase B becomes 01000010
The character’s code is 66. Writing 66 as a sum of powers of two gives 64 + 2 = 66. Put a 1 under each place value used and a 0 everywhere else, and you get 01000010.
| Binary (8-bit) | 01000010 |
|---|---|
| Decimal (ASCII code) | 66 |
| Hexadecimal | 42 (0x42) |
| Octal | 102 |
| Unicode | U+0042 |
| HTML entity | B |
The lowercase version, b in binary, is 01100010 — only the 32s bit changes.
Example: the word Bustralia in binary is 01000010 01110101 01110011 01110100 01110010 01100001 01101100 01101001 01100001. Open it in the text to binary converter.
Frequently asked questions
What is uppercase B in binary?
Uppercase B is 01000010 in 8-bit binary. That is ASCII and UTF-8 code 66, which is 64 + 2 = 66.
How is uppercase B different from b in binary?
They differ only in the 32s bit (the third bit from the left): B is 01000010 and b is 01100010. Flipping that bit switches the case.