104 in Binary

104 in binary is 110 1000 (1101000).

Result 1101000.

Binary (base 2)110 1000

Step by step

  1. Divide by 2 repeatedly and write down the remainders:
    DivisionQuotientRemainder
    104 ÷ 2520
    52 ÷ 2260
    26 ÷ 2130
    13 ÷ 261
    6 ÷ 230
    3 ÷ 211
    1 ÷ 201
  2. Read the remainders from bottom to top: 110 1000
binary (base 2)110 1000
octal (base 8)150
decimal (base 10)104
hexadecimal (base 16)68
Bits needed7 bits (fits in 1 byte)
8-bit form0110 1000
16-bit form0000 0000 0110 1000
32-bit form0000 0000 0000 0000 0000 0000 0110 1000

Quick method for 104

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

104 in other forms

  • Place values: 64 + 32 + 8 = 104
  • Hex: 68
  • Octal: 150
  • 7 bits — fits in one byte
  • 3 one-bits (odd parity)
  • Padded: 0110 1000
  • 16-bit: 0000 0000 0110 1000
  • One's complement (8-bit): 1001 0111
  • Between 26 = 64 and 27 = 128
  • −104 in 8-bit two's complement: 1001 1000
  • ASCII: “h” — ASCII table

Going back: binary to decimal.

More numbers in binary

All numbers 0–255 in binary

104 in binary: questions

What is 104 in binary?

1101000.

What is 104 in hex?

68.

How many bits is 104?

7.