1221 Ternary to Quaternary

1221 ternary = 310 quaternary

1221 written in quaternary is 310, the number 52 in everyday decimal.

1221 ternary = 310 quaternary

How to convert 1221 to quaternary

Step 1: Ternary to decimal

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

DigitPlace valueDigit × place
133 = 2727
232 = 918
231 = 36
130 = 11

27 + 18 + 6 + 1 = 52

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)
52 ÷ 4130
13 ÷ 431
3 ÷ 403

Result: 52 = 310 in quaternary.

About the number 52

  • 52 is an even number.
  • 52 is not a prime number.
  • Written in binary it needs 6 bits, so it fits in one byte.

Reverse conversion

Frequently asked questions

What is 1221 in quaternary?

1221 in ternary is 310 in quaternary (the number 52 in decimal).