What is 18 in Hexadecimal (Hex)?
Decimal 18 in binary is 10010, in hexadecimal is 0x12, and in octal is 22. See the step-by-step division-by-16 conversion table.
Exact Answer
1810 = 1216
Binary (Base 2)
10010
Hexadecimal (Base 16)
0x12
Octal (Base 8)
22
Bit Length
5 bits
Step-by-Step Solution: 18₁₀ = 12₁₆
Step 1
Successive Division by 16
Divide 18 repeatedly by 16 and convert remainders (0–15 to 0–F) to obtain 12.
1810 = 1216
Summary & Alternative Representations
| Property / Format | Value |
|---|---|
| Binary (Base 2) | 10010 |
| Hexadecimal (Base 16) | 0x12 |
| Octal (Base 8) | 22 |
| Bit Length | 5 bits |
Was this solution helpful?
Help us improve our free step-by-step tools
Frequently Asked Questions
How many bits are needed to represent 18 in binary?
18 in binary is 10010, which requires 5 bits.