162 in Binary

162 in binary is 1010 0010 (10100010).

Result 10100010.

Binary (base 2)1010 0010

Step by step

  1. Divide by 2 repeatedly and write down the remainders:
    DivisionQuotientRemainder
    162 ÷ 2810
    81 ÷ 2401
    40 ÷ 2200
    20 ÷ 2100
    10 ÷ 250
    5 ÷ 221
    2 ÷ 210
    1 ÷ 201
  2. Read the remainders from bottom to top: 1010 0010
binary (base 2)1010 0010
octal (base 8)242
decimal (base 10)162
hexadecimal (base 16)A2
Bits needed8 bits (fits in 1 byte)
8-bit form1010 0010
16-bit form0000 0000 1010 0010
32-bit form0000 0000 0000 0000 0000 0000 1010 0010

Quick method for 162

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

162 in other forms

  • Place values: 128 + 32 + 2 = 162
  • Hex: A2
  • Octal: 242
  • 8 bits — fits in one byte
  • 3 one-bits (odd parity)
  • Padded: 1010 0010
  • 16-bit: 0000 0000 1010 0010
  • One's complement (8-bit): 0101 1101
  • As a signed byte (two's complement): -94
  • Between 27 = 128 and 28 = 256

Going back: binary to decimal.

More numbers in binary

All numbers 0–255 in binary

162 in binary: questions

What is 162 in binary?

10100010.

What is 162 in hex?

A2.

How many bits is 162?

8.