p in binary (lowercase)

AnswerLowercase p p is 01110000 in binary — ASCII code 112.

012816413211608040201

How lowercase p becomes 01110000

The character’s code is 112. Writing 112 as a sum of powers of two gives 64 + 32 + 16 = 112. Put a 1 under each place value used and a 0 everywhere else, and you get 01110000.

Binary (8-bit)01110000
Decimal (ASCII code)112
Hexadecimal70 (0x70)
Octal160
UnicodeU+0070
HTML entityp

The uppercase version, P in binary, is 01010000 — only the 32s bit changes.

Example: the word pate in binary is 01110000 01100001 01110100 01100101. Open it in the text to binary converter.

Frequently asked questions

What is lowercase p in binary?

Lowercase p is 01110000 in 8-bit binary. That is ASCII and UTF-8 code 112, which is 64 + 32 + 16 = 112.

How is lowercase p different from P in binary?

They differ only in the 32s bit (the third bit from the left): p is 01110000 and P is 01010000. Flipping that bit switches the case.