111 in Binary

111 in binary is 110 1111 (1101111).

Result 1101111.

Binary (base 2)110 1111

Step by step

  1. Divide by 2 repeatedly and write down the remainders:
    DivisionQuotientRemainder
    111 ÷ 2551
    55 ÷ 2271
    27 ÷ 2131
    13 ÷ 261
    6 ÷ 230
    3 ÷ 211
    1 ÷ 201
  2. Read the remainders from bottom to top: 110 1111
binary (base 2)110 1111
octal (base 8)157
decimal (base 10)111
hexadecimal (base 16)6F
Bits needed7 bits (fits in 1 byte)
8-bit form0110 1111
16-bit form0000 0000 0110 1111
32-bit form0000 0000 0000 0000 0000 0000 0110 1111

Quick method for 111

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

111 in other forms

  • Place values: 64 + 32 + 8 + 4 + 2 + 1 = 111
  • Hex: 6F
  • Octal: 157
  • 7 bits — fits in one byte
  • 6 one-bits (even parity)
  • Padded: 0110 1111
  • 16-bit: 0000 0000 0110 1111
  • One's complement (8-bit): 1001 0000
  • Between 26 = 64 and 27 = 128
  • −111 in 8-bit two's complement: 1001 0001
  • ASCII: “o” — ASCII table

Going back: binary to decimal.

More numbers in binary

All numbers 0–255 in binary

111 in binary: questions

What is 111 in binary?

1101111.

What is 111 in hex?

6F.

How many bits is 111?

7.