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:

DigitPlace valueDigit × place
124 = 1616
023 = 80
122 = 44
021 = 20
120 = 11

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:

DivisionQuotientRemainder (digit)
21 ÷ 451
5 ÷ 411
1 ÷ 401

Result: 21 = 111 in quaternary.

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).