15 in Binary

15 in binary is 1111.

Result 1111.

Binary (base 2)1111

Step by step

  1. Divide by 2 repeatedly and write down the remainders:
    DivisionQuotientRemainder
    15 ÷ 271
    7 ÷ 231
    3 ÷ 211
    1 ÷ 201
  2. Read the remainders from bottom to top: 1111
binary (base 2)1111
octal (base 8)17
decimal (base 10)15
hexadecimal (base 16)F
Bits needed4 bits (fits in 1 byte)
8-bit form0000 1111
16-bit form0000 0000 0000 1111
32-bit form0000 0000 0000 0000 0000 0000 0000 1111

Quick method for 15

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

15 in other forms

  • Place values: 8 + 4 + 2 + 1 = 15
  • Hex: F
  • Octal: 17
  • 4 bits — fits in one byte
  • 4 one-bits (even parity)
  • Padded: 0000 1111
  • 16-bit: 0000 0000 0000 1111
  • One's complement (8-bit): 1111 0000
  • Between 23 = 8 and 24 = 16
  • −15 in 8-bit two's complement: 1111 0001
  • ASCII: SI — ASCII table

Going back: binary to decimal.

More numbers in binary

All numbers 0–255 in binary

15 in binary: questions

What is 15 in binary?

1111.

What is 15 in hex?

F.

How many bits is 15?

4.