10101 in Binary = 21 in Decimal
10101 in binary is
21 in decimal, XXI in Roman numerals, 15 in hexadecimal and 25 in octal.
10101 binary = 21 decimal
10101 in every number system
| System | Written as |
|---|---|
| Decimal (base 10) | 21 |
| Roman numerals | XXI |
| Hexadecimal (base 16) | 15 |
| Octal (base 8) | 25 |
| Duodecimal (base 12) | 19 |
| Ternary (base 3) | 210 |
| Base 36 | L |
| Vigesimal (base 20) | 11 |
| Quaternary (base 4) | 111 |
| Quinary (base 5) | 41 |
| Senary (base 6) | 33 |
How to read 10101 in binary
Binary to decimal
Multiply each digit by 2 to the power of its position (0 on the right), then add:
| Digit | Place value | Digit × place |
|---|---|---|
1 | 24 = 16 | 16 |
0 | 23 = 8 | 0 |
1 | 22 = 4 | 4 |
0 | 21 = 2 | 0 |
1 | 20 = 1 | 1 |
16 + 0 + 4 + 0 + 1 = 21
About the number 21
- 21 is an odd number.
- 21 is not a prime number.
- Written in binary it needs 5 bits, so it fits in one byte.