31 Quaternary to Ternary

31 quaternary = 111 ternary

31 written in ternary is 111, the number 13 in everyday decimal.

31 quaternary = 111 ternary

How to convert 31 to ternary

Step 1: Quaternary to decimal

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

DigitPlace valueDigit × place
341 = 412
140 = 11

12 + 1 = 13

Step 2: Decimal to ternary

Divide by 3 repeatedly and keep the remainders. Reading the remainders from the last one to the first gives the ternary digits:

DivisionQuotientRemainder (digit)
13 ÷ 341
4 ÷ 311
1 ÷ 301

Result: 13 = 111 in ternary.

About the number 13

  • 13 is an odd number.
  • 13 is a prime number.
  • Written in binary it needs 4 bits, so it fits in one byte.

Reverse conversion

Frequently asked questions

What is 31 in ternary?

31 in quaternary is 111 in ternary (the number 13 in decimal).