24 in Binary
24 in binary is 1 1000 (11000).
Result 11000.
Binary (base 2)1 1000
Step by step
- Divide by 2 repeatedly and write down the remainders:
Division Quotient Remainder 24 ÷ 2 12 0 12 ÷ 2 6 0 6 ÷ 2 3 0 3 ÷ 2 1 1 1 ÷ 2 0 1 - Read the remainders from bottom to top: 1 1000
| binary (base 2) | 1 1000 |
|---|---|
| octal (base 8) | 30 |
| decimal (base 10) | 24 |
| hexadecimal (base 16) | 18 |
| Bits needed | 5 bits (fits in 1 byte) |
| 8-bit form | 0001 1000 |
| 16-bit form | 0000 0000 0001 1000 |
| 32-bit form | 0000 0000 0000 0000 0000 0000 0001 1000 |
Quick method for 24
Find the powers of 2 that add up to 24: 16 + 8. Put a 1 in those places and 0 elsewhere: 11000.
24 in other forms
- Place values: 16 + 8 = 24
- Hex: 18
- Octal: 30
- 5 bits — fits in one byte
- 2 one-bits (even parity)
- Padded: 0001 1000
- 16-bit: 0000 0000 0001 1000
- One's complement (8-bit): 1110 0111
- Between 24 = 16 and 25 = 32
- −24 in 8-bit two's complement: 1110 1000
- ASCII: CAN — ASCII table
Going back: binary to decimal.
More numbers in binary
24 in binary: questions
What is 24 in binary?
11000.
What is 24 in hex?
18.
How many bits is 24?
5.