47 in Binary

47 in binary is 10 1111 (101111).

Result 101111.

Binary (base 2)10 1111

Step by step

  1. Divide by 2 repeatedly and write down the remainders:
    DivisionQuotientRemainder
    47 ÷ 2231
    23 ÷ 2111
    11 ÷ 251
    5 ÷ 221
    2 ÷ 210
    1 ÷ 201
  2. Read the remainders from bottom to top: 10 1111
binary (base 2)10 1111
octal (base 8)57
decimal (base 10)47
hexadecimal (base 16)2F
Bits needed6 bits (fits in 1 byte)
8-bit form0010 1111
16-bit form0000 0000 0010 1111
32-bit form0000 0000 0000 0000 0000 0000 0010 1111

Quick method for 47

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

47 in other forms

  • Place values: 32 + 8 + 4 + 2 + 1 = 47
  • Hex: 2F
  • Octal: 57
  • 6 bits — fits in one byte
  • 5 one-bits (odd parity)
  • Padded: 0010 1111
  • 16-bit: 0000 0000 0010 1111
  • One's complement (8-bit): 1101 0000
  • Between 25 = 32 and 26 = 64
  • −47 in 8-bit two's complement: 1101 0001
  • ASCII: “/” — ASCII table

Going back: binary to decimal.

More numbers in binary

All numbers 0–255 in binary

47 in binary: questions

What is 47 in binary?

101111.

What is 47 in hex?

2F.

How many bits is 47?

6.