P in binary (uppercase)
AnswerUppercase P P is 01010000 in binary — ASCII code 80.
012816403211608040201
How uppercase P becomes 01010000
The character’s code is 80. Writing 80 as a sum of powers of two gives 64 + 16 = 80. Put a 1 under each place value used and a 0 everywhere else, and you get 01010000.
| Binary (8-bit) | 01010000 |
|---|---|
| Decimal (ASCII code) | 80 |
| Hexadecimal | 50 (0x50) |
| Octal | 120 |
| Unicode | U+0050 |
| HTML entity | P |
The lowercase version, p in binary, is 01110000 — only the 32s bit changes.
Example: the word Pustralia in binary is 01010000 01110101 01110011 01110100 01110010 01100001 01101100 01101001 01100001. Open it in the text to binary converter.
Frequently asked questions
What is uppercase P in binary?
Uppercase P is 01010000 in 8-bit binary. That is ASCII and UTF-8 code 80, which is 64 + 16 = 80.
How is uppercase P different from p in binary?
They differ only in the 32s bit (the third bit from the left): P is 01010000 and p is 01110000. Flipping that bit switches the case.