150 in Binary

Binary1001 0110
Decimal
150
Binary
1001 0110
Hexadecimal
96
Octal
226
Bits needed
8

150 = 10010110₂

The decimal number 150 is 1001 0110 in binary.

Step by step

  1. 150 ÷ 2 = 75 remainder 0
  2. 75 ÷ 2 = 37 remainder 1
  3. 37 ÷ 2 = 18 remainder 1
  4. 18 ÷ 2 = 9 remainder 0
  5. 9 ÷ 2 = 4 remainder 1
  6. 4 ÷ 2 = 2 remainder 0
  7. 2 ÷ 2 = 1 remainder 0
  8. 1 ÷ 2 = 0 remainder 1
  9. Read the remainders from bottom to top: 10010110.

Check the answer by adding the place values: 1×128 + 0×64 + 0×32 + 1×16 + 0×8 + 1×4 + 1×2 + 0×1 = 150. Each 1 bit adds its power of two and each 0 bit adds nothing.

Details

Binary
1001 0110
8-bit form
10010110
Hexadecimal
96
Octal
226
Bits needed
8
Number of 1 bits
4

How it works

Binary is base 2: each digit is a bit worth a power of two (1, 2, 4, 8, 16, 32 …). To convert a decimal number to binary, divide it by 2 again and again, writing down each remainder (0 or 1), until the quotient reaches 0. The binary number is the remainders read from the last one to the first. To check, add the powers of two where the bits are 1.

Nearby values

DecimalBinary
5011 0010
6011 1100
6311 1111
64100 0000
100110 0100
127111 1111
1281000 0000
1501001 0110
2001100 1000

Related conversions

Frequently asked questions

What is 150 in binary?

10010110.

How do you convert 150 to binary?

Divide by 2 repeatedly and read the remainders from bottom to top.

How many bits are needed for 150?

8 bits.

What is 150 in hexadecimal?

96.

Related tools