21 Decimal to Ternary
21 decimal = 210 ternary
21 written in ternary is 210.
21 decimal = 210 ternary
How to convert 21 to ternary
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.
21 (decimal) in other systems
| Binary | 10101 |
| Roman numerals | XXI |
| Hexadecimal | 15 |
| Octal | 25 |
| Duodecimal | 19 |
| Base 36 | L |
| Vigesimal | 11 |
| Quaternary | 111 |
| Quinary | 41 |
| Senary | 33 |
Nearby decimal to ternary conversions
| 16 to ternary | 121 |
| 17 to ternary | 122 |
| 18 to ternary | 200 |
| 19 to ternary | 201 |
| 20 to ternary | 202 |
| 22 to ternary | 211 |
| 23 to ternary | 212 |
| 24 to ternary | 220 |
| 25 to ternary | 221 |
| 26 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 21 in ternary?
21 in decimal is 210 in ternary.