What is 31 in Hexadecimal (Hex)?
Decimal 31 in binary is 11111, in hexadecimal is 0x1F, and in octal is 37. See the step-by-step division-by-16 conversion table.
Exact Answer
3110 = 1F16
Binary (Base 2)
11111
Hexadecimal (Base 16)
0x1F
Octal (Base 8)
37
Bit Length
5 bits
Step-by-Step Solution: 31ââ = 1Fââ
Step 1
Successive Division by 16
Divide 31 repeatedly by 16 and convert remainders (0â15 to 0âF) to obtain 1F.
3110 = 1F16
Summary & Alternative Representations
| Property / Format | Value |
|---|---|
| Binary (Base 2) | 11111 |
| Hexadecimal (Base 16) | 0x1F |
| Octal (Base 8) | 37 |
| 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 31 in binary?
31 in binary is 11111, which requires 5 bits.