382 in Binary
2026-02-28 23:42 Diff

382 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 382 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 less than 382, we stop at 2^8 = 256.

Step 2 - Identify the largest power of 2: In the previous step, we stopped at 28 = 256. 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, 382. Since 28 is the number we are looking for, write 1 in the 28 place. Now the value of 28, which is 256, is subtracted from 382. 382 - 256 = 126.

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, 126. So, the next largest power of 2 is 26, which is less than or equal to 126. Now, we have to write 1 in the 26 places. And then subtract 64 from 126. 126 - 64 = 62.

Step 4 - Repeat the process: Continue to find the largest power of 2 that fits into the result of the previous step, 62. Now, the next largest power of 2 is 25. Now, we have to write 1 in the 2^5 places. And then subtract 32 from 62. 62 - 32 = 30.

Step 5 - Continue identifying powers of 2 until the remainder is 0. 30 - 16(24) = 14, write 1 in 24 place. 14 - 8(23) = 6, write 1 in 23 place. 6 - 4(22) = 2, write 1 in 22 place. 2 - 2(21) = 0, write 1 in 21 place. Finally, write 0 in the 20 place.

Step 6 - Write the values in reverse order: We now write the numbers upside down to represent 382 in binary. Therefore, 101111110 is 382 in binary.

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

Step 1 - Divide the given number 382 by 2. 382 / 2 = 191. Here, 191 is the quotient and 0 is the remainder.

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

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

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

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

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

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

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

Step 9 - Repeat the previous step. 1 / 2 = 0. Here, the remainder is 1. And we stop the division here because the quotient is 0. Step 10 - Write down the remainders from bottom to top. Therefore, 382 (decimal) = 101111110 (binary).