145 in Binary

145 in binary is 1001 0001 (10010001).

Result 10010001.

Binary (base 2)1001 0001

Step by step

  1. Divide by 2 repeatedly and write down the remainders:
    DivisionQuotientRemainder
    145 ÷ 2721
    72 ÷ 2360
    36 ÷ 2180
    18 ÷ 290
    9 ÷ 241
    4 ÷ 220
    2 ÷ 210
    1 ÷ 201
  2. Read the remainders from bottom to top: 1001 0001
binary (base 2)1001 0001
octal (base 8)221
decimal (base 10)145
hexadecimal (base 16)91
Bits needed8 bits (fits in 1 byte)
8-bit form1001 0001
16-bit form0000 0000 1001 0001
32-bit form0000 0000 0000 0000 0000 0000 1001 0001

Quick method for 145

Find the powers of 2 that add up to 145: 128 + 16 + 1. Put a 1 in those places and 0 elsewhere: 10010001.

145 in other forms

  • Place values: 128 + 16 + 1 = 145
  • Hex: 91
  • Octal: 221
  • 8 bits — fits in one byte
  • 3 one-bits (odd parity)
  • Padded: 1001 0001
  • 16-bit: 0000 0000 1001 0001
  • One's complement (8-bit): 0110 1110
  • As a signed byte (two's complement): -111
  • Between 27 = 128 and 28 = 256

Going back: binary to decimal.

More numbers in binary

All numbers 0–255 in binary

145 in binary: questions

What is 145 in binary?

10010001.

What is 145 in hex?

91.

How many bits is 145?

8.