31 in Binary
BINARY
0001 1111
The decimal number 31 in binary is 11111.
All Representations of 31
| System | Value |
|---|---|
| Decimal | 31 |
| Binary | 0001 1111 |
| Hexadecimal | 1f |
| Octal | 37 |
| ASCII | (code 31) |
Step-by-Step Conversion
| Dividend | ÷ 2 | Quotient | Remainder (bit) |
|---|---|---|---|
| 31 | ÷ 2 | 15 | 1 |
| 15 | ÷ 2 | 7 | 1 |
| 7 | ÷ 2 | 3 | 1 |
| 3 | ÷ 2 | 1 | 1 |
| 1 | ÷ 2 | 0 | 1 |
| Read remainders bottom to top: | 11111 | ||
Powers of 2 in 31
31 = 24 (16) + 23 (8) + 22 (4) + 21 (2) + 20 (1)
24 = 16
23 = 8
22 = 4
21 = 2
20 = 1
Nearby Values
← Back to Decimal to Binary Converter
Frequently Asked Questions
- What is 31 in binary?
31 in binary is 11111.
- How do you convert 31 to binary?
Divide 31 repeatedly by the target base, recording remainders. Read the remainders from bottom to top to get the binary result: 11111.
- What are all the representations of 31?
Decimal: 31, Binary: 11111, Hexadecimal: 1f, Octal: 37, ASCII: character "null" (code 31).