135 in Binary

135 in binary is 1000 0111 (10000111).

Result 10000111.

Binary (base 2)1000 0111

Step by step

  1. Divide by 2 repeatedly and write down the remainders:
    DivisionQuotientRemainder
    135 ÷ 2671
    67 ÷ 2331
    33 ÷ 2161
    16 ÷ 280
    8 ÷ 240
    4 ÷ 220
    2 ÷ 210
    1 ÷ 201
  2. Read the remainders from bottom to top: 1000 0111
binary (base 2)1000 0111
octal (base 8)207
decimal (base 10)135
hexadecimal (base 16)87
Bits needed8 bits (fits in 1 byte)
8-bit form1000 0111
16-bit form0000 0000 1000 0111
32-bit form0000 0000 0000 0000 0000 0000 1000 0111

Quick method for 135

Find the powers of 2 that add up to 135: 128 + 4 + 2 + 1. Put a 1 in those places and 0 elsewhere: 10000111.

135 in other forms

  • Place values: 128 + 4 + 2 + 1 = 135
  • Hex: 87
  • Octal: 207
  • 8 bits — fits in one byte
  • 4 one-bits (even parity)
  • Padded: 1000 0111
  • 16-bit: 0000 0000 1000 0111
  • One's complement (8-bit): 0111 1000
  • As a signed byte (two's complement): -121
  • Between 27 = 128 and 28 = 256

Going back: binary to decimal.

More numbers in binary

All numbers 0–255 in binary

135 in binary: questions

What is 135 in binary?

10000111.

What is 135 in hex?

87.

How many bits is 135?

8.