10101 Binary to Quaternary
10101 binary = 111 quaternary
10101 written in quaternary is 111, the number 21 in everyday decimal.
10101 binary = 111 quaternary
How to convert 10101 to quaternary
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 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.
10101 (binary) in other systems
| Decimal | 21 |
| Roman numerals | XXI |
| Hexadecimal | 15 |
| Octal | 25 |
| Duodecimal | 19 |
| Ternary | 210 |
| Base 36 | L |
| Vigesimal | 11 |
| Quinary | 41 |
| Senary | 33 |
Nearby binary to quaternary conversions
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 quaternary?
10101 in binary is 111 in quaternary (the number 21 in decimal).