5021 Decimal in Binary

Let's convert the decimal number 5021 to binary without using a calculator:

Step 1: Divide by 2

Start by dividing 5021 by 2:

5021 ÷ 2 = 2510 (Quotient) with a remainder of 1

Step 2: Divide the Quotient

Now, divide the quotient (2510) by 2:

2510 ÷ 2 = 1255 (Quotient) with a remainder of 0

Step 3: Divide the Quotient

Now, divide the quotient (1255) by 2:

1255 ÷ 2 = 627 (Quotient) with a remainder of 1

Step 4: Divide the Quotient

Now, divide the quotient (627) by 2:

627 ÷ 2 = 313 (Quotient) with a remainder of 1

Step 5: Divide the Quotient

Now, divide the quotient (313) by 2:

313 ÷ 2 = 156 (Quotient) with a remainder of 1

Step 6: Divide the Quotient

Now, divide the quotient (156) by 2:

156 ÷ 2 = 78 (Quotient) with a remainder of 0

Step 7: Divide the Quotient

Now, divide the quotient (78) by 2:

78 ÷ 2 = 39 (Quotient) with a remainder of 0

Step 8: Divide the Quotient

Now, divide the quotient (39) by 2:

39 ÷ 2 = 19 (Quotient) with a remainder of 1

Step 9: Divide the Quotient

Now, divide the quotient (19) by 2:

19 ÷ 2 = 9 (Quotient) with a remainder of 1

Step 10: Divide the Quotient

Now, divide the quotient (9) by 2:

9 ÷ 2 = 4 (Quotient) with a remainder of 1

Step 11: Divide the Quotient

Now, divide the quotient (4) by 2:

4 ÷ 2 = 2 (Quotient) with a remainder of 0

Step 12: Divide the Quotient

Now, divide the quotient (2) by 2:

2 ÷ 2 = 1 (Quotient) with a remainder of 0

Step 13: Final actions

The Quotient is less than 2 (1), so we will transfer it to the beginning of the number as a reminder.

Step 14: Write the Remainders in Reverse Order

Now, write down the remainders obtained in reverse order:

1001110011101

So, the binary representation of the decimal number 5021 is 1001110011101.
Decimal To Binary Converter



Other examples of Decimal to Binary conversion
See also: