ASCII 54 — 6
The printable character "6" at ASCII code 54.
All Representations
540x360o066001101106Character Details
| Character | 6 |
| Name | 6 |
| Decimal | 54 |
| Hexadecimal | 0x36 |
| Octal | 0o066 |
| Binary | 00110110 |
| HTML Entity | 6 |
| Category | Digit |
| Printable | Yes |
About ASCII 54 (6)
Six is a factor of 60, the base of the sexagesimal system used for measuring time (60 seconds per minute, 60 minutes per hour) and angles (360 degrees in a circle). In computing, hexadecimal (base-16) uses digits 0–9 plus letters A–F, meaning 6 is the count of additional letter-digits beyond decimal. IPv6, designed as the successor to IPv4, uses 128-bit addresses to solve address exhaustion. Six is also the smallest perfect number, equaling the sum of its proper divisors (1+2+3).
The ten decimal digit characters (0–9) occupy consecutive ASCII codes 48 through 57, arranged sequentially by deliberate design. This placement enables the classic parsing technique of subtracting the character '0' (code 48) from any digit character to yield its integer value — a trick embedded in virtually every text processing system and parser written in the past six decades. Digit characters are fundamentally distinct from numeric values: the character '5' is stored as byte value 53, not the integer 5.
In the ASCII encoding table, Digit 6 is assigned code point 54 in decimal (0x36 hexadecimal, 066 octal, 00110110 binary). The 7-bit ASCII standard, first published in 1963 by the American Standards Association, defines exactly 128 characters that remain the foundation of text encoding systems worldwide. UTF-8, the dominant encoding on the modern web, is fully backward compatible with ASCII — every ASCII character is encoded as the identical single byte in UTF-8, guaranteeing that Digit 6 works reliably across all operating systems, programming languages, and internet protocols.
Related ASCII Characters
Nearby ASCII Codes
Explore the Full ASCII Table
Browse all 128 ASCII characters with codes, representations, and detailed references.