21 Duodecimal to Quaternary

21 duodecimal = 121 quaternary

21 written in quaternary is 121, the number 25 in everyday decimal.

21 duodecimal = 121 quaternary

How to convert 21 to quaternary

Step 1: Duodecimal to decimal

Multiply each digit by 12 to the power of its position (0 on the right), then add:

DigitPlace valueDigit × place
2121 = 1224
1120 = 11

24 + 1 = 25

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)
25 ÷ 461
6 ÷ 412
1 ÷ 401

Result: 25 = 121 in quaternary.

About the number 25

  • 25 is an odd number.
  • 25 is not a prime number.
  • 25 is a perfect square: 5 × 5.
  • 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 duodecimal is 121 in quaternary (the number 25 in decimal).