142 in Binary

142 in binary is 1000 1110 (10001110).

Result 10001110.

Binary (base 2)1000 1110

Step by step

  1. Divide by 2 repeatedly and write down the remainders:
    DivisionQuotientRemainder
    142 ÷ 2710
    71 ÷ 2351
    35 ÷ 2171
    17 ÷ 281
    8 ÷ 240
    4 ÷ 220
    2 ÷ 210
    1 ÷ 201
  2. Read the remainders from bottom to top: 1000 1110
binary (base 2)1000 1110
octal (base 8)216
decimal (base 10)142
hexadecimal (base 16)8E
Bits needed8 bits (fits in 1 byte)
8-bit form1000 1110
16-bit form0000 0000 1000 1110
32-bit form0000 0000 0000 0000 0000 0000 1000 1110

Quick method for 142

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

142 in other forms

  • Place values: 128 + 8 + 4 + 2 = 142
  • Hex: 8E
  • Octal: 216
  • 8 bits — fits in one byte
  • 4 one-bits (even parity)
  • Padded: 1000 1110
  • 16-bit: 0000 0000 1000 1110
  • One's complement (8-bit): 0111 0001
  • As a signed byte (two's complement): -114
  • Between 27 = 128 and 28 = 256

Going back: binary to decimal.

More numbers in binary

All numbers 0–255 in binary

142 in binary: questions

What is 142 in binary?

10001110.

What is 142 in hex?

8E.

How many bits is 142?

8.