9 in Binary

9 in binary is 1001.

Result 1001.

Binary (base 2)1001

Step by step

  1. Divide by 2 repeatedly and write down the remainders:
    DivisionQuotientRemainder
    9 ÷ 241
    4 ÷ 220
    2 ÷ 210
    1 ÷ 201
  2. Read the remainders from bottom to top: 1001
binary (base 2)1001
octal (base 8)11
decimal (base 10)9
hexadecimal (base 16)9
Bits needed4 bits (fits in 1 byte)
8-bit form0000 1001
16-bit form0000 0000 0000 1001
32-bit form0000 0000 0000 0000 0000 0000 0000 1001

Quick method for 9

Find the powers of 2 that add up to 9: 8 + 1. Put a 1 in those places and 0 elsewhere: 1001.

9 in other forms

  • Place values: 8 + 1 = 9
  • Hex: 9
  • Octal: 11
  • 4 bits — fits in one byte
  • 2 one-bits (even parity)
  • Padded: 0000 1001
  • 16-bit: 0000 0000 0000 1001
  • One's complement (8-bit): 1111 0110
  • Between 23 = 8 and 24 = 16
  • −9 in 8-bit two's complement: 1111 0111
  • ASCII: TAB (tab) — ASCII table

Going back: binary to decimal.

More numbers in binary

All numbers 0–255 in binary

9 in binary: questions

What is 9 in binary?

1001.

What is 9 in hex?

9.

How many bits is 9?

4.