180 in Binary

180 in binary is 1011 0100 (10110100).

Result 10110100.

Binary (base 2)1011 0100

Step by step

  1. Divide by 2 repeatedly and write down the remainders:
    DivisionQuotientRemainder
    180 ÷ 2900
    90 ÷ 2450
    45 ÷ 2221
    22 ÷ 2110
    11 ÷ 251
    5 ÷ 221
    2 ÷ 210
    1 ÷ 201
  2. Read the remainders from bottom to top: 1011 0100
binary (base 2)1011 0100
octal (base 8)264
decimal (base 10)180
hexadecimal (base 16)B4
Bits needed8 bits (fits in 1 byte)
8-bit form1011 0100
16-bit form0000 0000 1011 0100
32-bit form0000 0000 0000 0000 0000 0000 1011 0100

Quick method for 180

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

180 in other forms

  • Place values: 128 + 32 + 16 + 4 = 180
  • Hex: B4
  • Octal: 264
  • 8 bits — fits in one byte
  • 4 one-bits (even parity)
  • Padded: 1011 0100
  • 16-bit: 0000 0000 1011 0100
  • One's complement (8-bit): 0100 1011
  • As a signed byte (two's complement): -76
  • Between 27 = 128 and 28 = 256

Going back: binary to decimal.

More numbers in binary

All numbers 0–255 in binary

180 in binary: questions

What is 180 in binary?

10110100.

What is 180 in hex?

B4.

How many bits is 180?

8.