155 in Binary
155 in binary is 1001 1011 (10011011).
Result 10011011.
Binary (base 2)1001 1011
Step by step
- Divide by 2 repeatedly and write down the remainders:
Division Quotient Remainder 155 ÷ 2 77 1 77 ÷ 2 38 1 38 ÷ 2 19 0 19 ÷ 2 9 1 9 ÷ 2 4 1 4 ÷ 2 2 0 2 ÷ 2 1 0 1 ÷ 2 0 1 - Read the remainders from bottom to top: 1001 1011
| binary (base 2) | 1001 1011 |
|---|---|
| octal (base 8) | 233 |
| decimal (base 10) | 155 |
| hexadecimal (base 16) | 9B |
| Bits needed | 8 bits (fits in 1 byte) |
| 8-bit form | 1001 1011 |
| 16-bit form | 0000 0000 1001 1011 |
| 32-bit form | 0000 0000 0000 0000 0000 0000 1001 1011 |
Quick method for 155
Find the powers of 2 that add up to 155: 128 + 16 + 8 + 2 + 1. Put a 1 in those places and 0 elsewhere: 10011011.
155 in other forms
- Place values: 128 + 16 + 8 + 2 + 1 = 155
- Hex: 9B
- Octal: 233
- 8 bits — fits in one byte
- 5 one-bits (odd parity)
- Padded: 1001 1011
- 16-bit: 0000 0000 1001 1011
- One's complement (8-bit): 0110 0100
- As a signed byte (two's complement): -101
- Between 27 = 128 and 28 = 256
Going back: binary to decimal.
More numbers in binary
155 in binary: questions
What is 155 in binary?
10011011.
What is 155 in hex?
9B.
How many bits is 155?
8.