17 in Binary

17 in binary is 1 0001 (10001).

Result 10001.

Binary (base 2)1 0001

Step by step

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

Quick method for 17

Find the powers of 2 that add up to 17: 16 + 1. Put a 1 in those places and 0 elsewhere: 10001.

17 in other forms

  • Place values: 16 + 1 = 17
  • Hex: 11
  • Octal: 21
  • 5 bits — fits in one byte
  • 2 one-bits (even parity)
  • Padded: 0001 0001
  • 16-bit: 0000 0000 0001 0001
  • One's complement (8-bit): 1110 1110
  • Between 24 = 16 and 25 = 32
  • −17 in 8-bit two's complement: 1110 1111
  • ASCII: DC1 — ASCII table

Going back: binary to decimal.

More numbers in binary

All numbers 0–255 in binary

17 in binary: questions

What is 17 in binary?

10001.

What is 17 in hex?

11.

How many bits is 17?

5.