Recognised as Base-16 literal
0x41
- Base 16
- 7 bits
- = 65
0x41 is a hexadecimal literal equal to 65 in decimal. It needs 7 bits (1 bytes) of storage, and is 0x41 in hexadecimal and 1000001 in binary.
In every base
Decimal65
Binary1000001
Octal101
Hexadecimal41
Base 3221
Base 361T
Prefixed literals0x41 · 0o101 · 0b1000001
Bit width & storage
Significant bits7
Bytes needed1
Fits in 8 bitsYes
Fits in 16 bitsYes
Fits in 32 bitsYes
Fits in 64 bitsYes
Padded to 8 bits01000001
Padded to 32 bits00000000000000000000000001000001
Read another way
Bitwise operations
NOT (32-bit)4,294,967,230
Shift left by 1130
Shift right by 132
Population count2the number of set bits
Lowest set bit1
Keep nerding
Every link below is a page Nerdulator can generate from what it already knows about this value.
The same value
Also reads as
U+0041 (unicode character)
- U+0041
- A
- Uppercase letter
U+0041 is code point 65 (A), an uppercase letter in the Basic Latin (ASCII) block of the Basic Multilingual Plane. It takes 1 byte in UTF-8 and 1 unit in UTF-16.
Identity
Code pointU+0041
Decimal65
CharacterA
General categoryUppercase letter
BlockBasic Latin (ASCII)
PlaneBasic Multilingual Planeplane 0
Official nameNot includedthe Unicode Character Database is not bundled; a stale copy would be worse than none
Encodings
UTF-8411 byte
UTF-160041a single unit
UTF-3200000041
Binary1000001
Bytes in UTF-8 vs UTF-161 vs 2UTF-16 is not always smaller, even for non-Latin text
Writing it in code
HTML numeric entityA
HTML hex entityA
CSS escape\0041
JavaScript\u0041
Python\u0041
Percent-encoded (URL)%41
Things that catch people out
JavaScript string length1
Needs a surrogate pairNo
Safe in a URL unescapedYes
Keep nerding
Every link below is a page Nerdulator can generate from what it already knows about this value.
Nerdulate something else
Nothing in mind? Surprise me · today’s page