24 in Binary

24 in binary is 1 1000 (11000).

Result 11000.

Binary (base 2)1 1000

Step by step

  1. Divide by 2 repeatedly and write down the remainders:
    DivisionQuotientRemainder
    24 ÷ 2120
    12 ÷ 260
    6 ÷ 230
    3 ÷ 211
    1 ÷ 201
  2. 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 needed5 bits (fits in 1 byte)
8-bit form0001 1000
16-bit form0000 0000 0001 1000
32-bit form0000 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

All numbers 0–255 in binary

24 in binary: questions

What is 24 in binary?

11000.

What is 24 in hex?

18.

How many bits is 24?

5.