21 Decimal to Quaternary
21 decimal = 111 quaternary
21 written in quaternary is 111.
21 decimal = 111 quaternary
How to convert 21 to quaternary
Decimal to quaternary
Divide by 4 repeatedly and keep the remainders. Reading the remainders from the last one to the first gives the quaternary digits:
| Division | Quotient | Remainder (digit) |
|---|---|---|
| 21 ÷ 4 | 5 | 1 |
| 5 ÷ 4 | 1 | 1 |
| 1 ÷ 4 | 0 | 1 |
Result: 21 = 111 in quaternary.
21 (decimal) in other systems
| Binary | 10101 |
| Roman numerals | XXI |
| Hexadecimal | 15 |
| Octal | 25 |
| Duodecimal | 19 |
| Ternary | 210 |
| Base 36 | L |
| Vigesimal | 11 |
| Quinary | 41 |
| Senary | 33 |
Nearby decimal to quaternary conversions
| 16 to quaternary | 100 |
| 17 to quaternary | 101 |
| 18 to quaternary | 102 |
| 19 to quaternary | 103 |
| 20 to quaternary | 110 |
| 22 to quaternary | 112 |
| 23 to quaternary | 113 |
| 24 to quaternary | 120 |
| 25 to quaternary | 121 |
| 26 to quaternary | 122 |
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 quaternary?
21 in decimal is 111 in quaternary.