Summarize this article:
Last updated on September 25, 2025
The binary system is a type of numerical system that we use to represent numbers with two digits: 0 and 1. The number 21 in binary is represented as 10101. It is a system of numerical data that computers use, as they operate with electric signals. In this topic, we are going to talk about 21 in binary.
To get the binary number of 21, we need to divide 21 by 2 and record the remainder. It is done as below:
21 / 2 → quotient = 10, remainder = 1
10 / 2 → quotient = 5, remainder = 0
5 / 2 → quotient = 2, remainder = 1
2 / 2 → quotient = 1, remainder = 0
1 / 2 → quotient = 0, remainder = 1
Finally, we read the remainders from bottom to top and we get 10101 which is the binary number of 21.
To understand the binary of 21 let us look at the binary chart of numbers from 20 to 30:
Numericals | Binary |
20 | 00010100 |
21 | 00010101 |
22 | 00010110 |
23 | 00010111 |
24 | 00011000 |
25 | 00011001 |
26 | 00011010 |
27 | 00011011 |
28 | 00011100 |
29 | 00011101 |
30 | 00011110 |
In the above chart, we see the binary conversions of numbers from 20 to 30. The above chart uses 8-bit notations for the binary numbers. We can represent the binary of 21 as 10101 or 00010101.
We can write 21 in binary in two ways. We convert a decimal number to binary using the following two methods:
Expansion Method:
We use this method to break the number into sums of powers of 2
Step 1: Identify the largest power of 2 that fits into 21
List powers of 2 (starting from the largest power ≤ 21):
24 = 16
23 = 8
22 = 4
21 = 2
20 = 1
Step 2: Now we find the largest power of 2 and break it down
21 = 16 + 4 + 1
This corresponds with the powers of 2:
24 = 16
22 = 4
20 = 1
Step 3: Let us write the binary number:
Place 1 in positions where the power of 2 is used
Place 0 in positions where it is not used
Arrange the powers from highest to lowest:
24 23 22 21 20 = 10101
The final binary form is 10101
Grouping Method:
In this method we divide the number by 2, then we record the quotient, and read the remainders from bottom to top.
Step 1: First, we have to divide 21 by 2 and record the quotient and remainder
21/2 = 10 remainder = 1
Record the remainder: 1
Step 2: Divide the previous quotient (10) by 2
10 / 2 = 5 Remainder = 0
Record the remainder: 0
Step 3: Divide quotient 5 by 2
5 / 2 = 2 remainder = 1
Record the remainder: 1
Step 4: Divide the previous quotient by 2
2 / 2 = 1 Remainder = 0
Record the remainder: 0
Step 5: Divide 1 by 2
1 / 2 = 0 remainder = 1
Record the remainder: 1
Now we read the remainder from bottom to top:
So 21 in binary = 10101
When converting 21 into binary, there are certain rules that must be followed. Some of the rules are as follows:
Rule 1: Place Value Method
In this method we break down the number into a sum of powers of 2, in which each of them is represented by 1 in the corresponding binary position.
Rule 2: Division by 2
This method converts decimal numbers into binary numbers by repeatedly dividing by 2 and then we record the remainder.
Rule 3: Representation Method
We use the representation method to convert a binary number to its decimal equivalent using positional values.
Rule 4: Limitation Rule
The limitation rule outlines the constraints when converting between binary and decimal systems.
Binary is very easy to learn, but it can be quite confusing for students. Here are a few tips and tricks that students can use to master binary numbers:
When learning about binary numbers, students might often make mistakes during conversions. Here are some common mistakes that students make and ways to avoid them:
Convert 13 to binary
1101
Divide 13 by 2 → Quotient = 6, Remainder = 1
Divide 6 by 2 → Quotient = 3, Remainder = 0
Divide 3 by 2 → Quotient = 1, Remainder = 1
Divide 1 by 2 → Quotient = 0, Remainder = 1
Read remainders from bottom to top → 1101
Convert 19 to binary using place value method
10011
Identify the powers of 2 that sum to 19:
16+2+1=19
Assign 1 to the used powers and 0 to the unused ones:
24 = 16 = 1
23 = 8 = 0
22 = 4 = 0
21 = 2 = 1
20 = 1 = 1
Arrange in order: 10011
Convert 45 to binary by division by 2 method
101101
Divide 45 by 2 → Quotient = 22, Remainder = 1
Divide 22 by 2 → Quotient = 11, Remainder = 0
Divide 11 by 2 → Quotient = 5, Remainder = 1
Divide 5 by 2 → Quotient = 2, Remainder = 1
Divide 2 by 2 → Quotient = 1, Remainder = 0
Divide 1 by 2 → Quotient = 0, Remainder = 1
Read from bottom to top: 101101
Convert 58 to binary
111010
Break 58 into binary place values:
32 + 16 + 8 + 2 = 58
Assign 1 only to the used values, and put 0 for the unused values.
The binary is: 111010
Convert 100 to binary
1100100
Divide 100 by 2 → Quotient = 50, Remainder = 0
Divide 50 by 2 → Quotient = 25, Remainder = 0
Divide 25 by 2 → Quotient = 12, Remainder = 1
Divide 12 by 2 → Quotient = 6, Remainder = 0
Divide 6 by 2 → Quotient = 3, Remainder = 0
Divide 3 by 2 → Quotient = 1, Remainder = 1
Divide 1 by 2 → Quotient = 0, Remainder = 1
Read the remainders from bottom to top = 1100100
Hiralee Lalitkumar Makwana has almost two years of teaching experience. She is a number ninja as she loves numbers. Her interest in numbers can be seen in the way she cracks math puzzles and hidden patterns.
: She loves to read number jokes and games.