151 in Binary
2026-02-28 09:07 Diff

151 can be converted easily from decimal to binary. The methods mentioned below will help us convert the number. Let’s see how it is done.

Expansion Method: Let us see the step-by-step process of converting 151 using the expansion method.

Step 1 - Figure out the place values: In the binary system, each place value is a power of 2. Therefore, in the first step, we will ascertain the powers of 2. 2¹ = 1 2² = 2 2³ = 4 2⁴ = 8 2⁵ = 16 2⁶ = 32 2⁷ = 64 2⁸ = 128 Since 128 is less than 151, we stop at 2⁸ = 128.

Step 2 - Identify the largest power of 2: In the previous step, we stopped at 2⁸ = 128. This is because in this step, we have to identify the largest power of 2, which is less than or equal to the given number, 151. Since 2⁸ is the number we are looking for, write 1 in the 2⁸ place. Now the value of 2⁸, which is 128, is subtracted from 151. 151 - 128 = 23.

Step 3 - Identify the next largest power of 2: In this step, we need to find the largest power of 2 that fits into the result of the previous step, 23. So, the next largest power of 2 is 2⁴ = 16. Now, we have to write 1 in the 2⁴ place and then subtract 16 from 23. 23 - 16 = 7.

Step 4 - Repeat the steps for the remainder: The largest power of 2 less than or equal to 7 is 2³ = 4. Write 1 in the 2³ place. Subtract 4 from 7. 7 - 4 = 3. The next largest power of 2 is 2¹ = 2. Write 1 in the 2¹ place. Subtract 2 from 3. 3 - 2 = 1. Finally, write 1 in the 2⁰ place since 2⁰ = 1.

Step 5 - Write the values in reverse order: We now write the numbers upside down to represent 151 in binary. Therefore, 10010111 is 151 in binary.

Grouping Method: In this method, we divide the number 151 by 2. Let us see the step-by-step conversion.

Step 1 - Divide the given number 151 by 2. 151 / 2 = 75. Here, 75 is the quotient and 1 is the remainder.

Step 2 - Divide the previous quotient (75) by 2. 75 / 2 = 37. Here, the quotient is 37 and the remainder is 1.

Step 3 - Repeat the previous step. 37 / 2 = 18. Now, the quotient is 18, and 1 is the remainder.

Step 4 - Repeat the previous step. 18 / 2 = 9. Here, the quotient is 9 and the remainder is 0.

Step 5 - Repeat the previous step. 9 / 2 = 4. Here, the quotient is 4 and the remainder is 1.

Step 6 - Repeat the previous step. 4 / 2 = 2. Here, the quotient is 2 and the remainder is 0.

Step 7 - Repeat the previous step. 2 / 2 = 1. Here, the quotient is 1 and the remainder is 0.

Step 8 - Repeat the previous step. 1 / 2 = 0. Here, the remainder is 1. We stop the division here because the quotient is 0.

Step 9 - Write down the remainders from bottom to top. Therefore, 151 (decimal) = 10010111 (binary).