164 in Binary

164 in binary is 1010 0100 (10100100).

Result 10100100.

Binary (base 2)1010 0100

Step by step

  1. Divide by 2 repeatedly and write down the remainders:
    DivisionQuotientRemainder
    164 ÷ 2820
    82 ÷ 2410
    41 ÷ 2201
    20 ÷ 2100
    10 ÷ 250
    5 ÷ 221
    2 ÷ 210
    1 ÷ 201
  2. Read the remainders from bottom to top: 1010 0100
binary (base 2)1010 0100
octal (base 8)244
decimal (base 10)164
hexadecimal (base 16)A4
Bits needed8 bits (fits in 1 byte)
8-bit form1010 0100
16-bit form0000 0000 1010 0100
32-bit form0000 0000 0000 0000 0000 0000 1010 0100

Quick method for 164

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

164 in other forms

  • Place values: 128 + 32 + 4 = 164
  • Hex: A4
  • Octal: 244
  • 8 bits — fits in one byte
  • 3 one-bits (odd parity)
  • Padded: 1010 0100
  • 16-bit: 0000 0000 1010 0100
  • One's complement (8-bit): 0101 1011
  • As a signed byte (two's complement): -92
  • Between 27 = 128 and 28 = 256

Going back: binary to decimal.

More numbers in binary

All numbers 0–255 in binary

164 in binary: questions

What is 164 in binary?

10100100.

What is 164 in hex?

A4.

How many bits is 164?

8.