189 in Binary
2026-02-28 09:53 Diff

189 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 189 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.

20 = 1

21 = 2

22 = 4

23 = 8

24 = 16

25 = 32

26 = 64

27 = 128

28 = 256 Since 256 is greater than 189, we stop at 27 = 128.

Step 2 - Identify the largest power of 2: In the previous step, we stopped at 27 = 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, 189.

Since 2^7 is the number we are looking for, write 1 in the 27 place.

Now the value of 27, which is 128, is subtracted from 189. 189 - 128 = 61.

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, 61.

So, the next largest power of 2 is 25 = 32.

Now, we have to write 1 in the 25 place.

And then subtract 32 from 61. 61 - 32 = 29.

Step 4 - Identify the next largest power of 2: The next largest power of 2 that fits into 29 is 24 = 16. Write 1 in the 24 place. Subtract 16 from 29. 29 - 16 = 13.

Step 5 - Identify the next largest power of 2: The next largest power of 2 that fits into 13 is 23 = 8. Write 1 in the 23 place. Subtract 8 from 13. 13 - 8 = 5.

Step 6 - Identify the next largest power of 2: The next largest power of 2 that fits into 5 is 22 = 4. Write 1 in the 22 place. Subtract 4 from 5. 5 - 4 = 1.

Step 7 - Identify the next largest power of 2: The next largest power of 2 that fits into 1 is 20 = 1. Write 1 in the 20 place. Subtract 1 from 1. 1 - 1 = 0.

Step 8 - Identify the unused place values: In step 2 through step 7, we wrote 1 in the 27, 25, 24, 23, 22, and 20 places.

Now, we can just write 0s in the remaining places, which are 26 and 21.

Now, by substituting the values, we get, 1 in the 20 place 0 in the 21 place 1 in the 22 place 1 in the 23 place 1 in the 24 place 1 in the 25 place 0 in the 26 place 1 in the 27 place

Step 9 - Write the values in reverse order: We now write the numbers upside down to represent 189 in binary. Therefore, 10111101 is 189 in binary.

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

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

Step 2 - Divide the previous quotient (94) by 2. 94 / 2 = 47. Here, the quotient is 47 and the remainder is 0.

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

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

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

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

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

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

Step 9 - Write down the remainders from bottom to top.

Therefore, 189 (decimal) = 10111101 (binary).