10101 Binary to Ternary
10101 binary = 210 ternary
10101 written in ternary is 210, the number 21 in everyday decimal.
10101 binary = 210 ternary
How to convert 10101 to ternary
Step 1: 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
Step 2: Decimal to ternary
Divide by 3 repeatedly and keep the remainders. Reading the remainders from the last one to the first gives the ternary digits:
| Division | Quotient | Remainder (digit) |
|---|---|---|
| 21 ÷ 3 | 7 | 0 |
| 7 ÷ 3 | 2 | 1 |
| 2 ÷ 3 | 0 | 2 |
Result: 21 = 210 in ternary.
10101 (binary) in other systems
| Decimal | 21 |
| Roman numerals | XXI |
| Hexadecimal | 15 |
| Octal | 25 |
| Duodecimal | 19 |
| Base 36 | L |
| Vigesimal | 11 |
| Quaternary | 111 |
| Quinary | 41 |
| Senary | 33 |
Nearby binary to ternary conversions
| 10000 to ternary | 121 |
| 10001 to ternary | 122 |
| 10010 to ternary | 200 |
| 10011 to ternary | 201 |
| 10100 to ternary | 202 |
| 10110 to ternary | 211 |
| 10111 to ternary | 212 |
| 11000 to ternary | 220 |
| 11001 to ternary | 221 |
| 11010 to ternary | 222 |
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.
Reverse conversion
Frequently asked questions
What is 10101 in ternary?
10101 in binary is 210 in ternary (the number 21 in decimal).