1989 in Binary
2026-02-28 01:00 Diff

1989 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 1989 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

29 = 512

210 = 1024

211 = 2048

Since 2048 is greater than 1989, we stop at 210 = 1024.

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

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, 965. So, the next largest power of 2 is 29, which is less than or equal to 965. Now, we have to write 1 in the 29 place. And then subtract 512 from 965. 965 - 512 = 453.

Step 4 - Repeat until remainder is 0: Continue identifying the next largest power of 2 and writing 1 in those places. Subtract until the remainder is 0.

Step 5 - Fill in with 0s: For unused place values, write 0. Now, by substituting the values, we get the binary representation of 1989 as 11111000101.

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

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

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

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

Step 4 - Continue dividing until the quotient is 0.

Step 5 - Write down the remainders from bottom to top. Therefore, 1989 (decimal) = 11111000101 (binary).