31 Hexadecimal to Ternary

31 hexadecimal = 1211 ternary

31 written in ternary is 1211, the number 49 in everyday decimal.

31 hexadecimal = 1211 ternary

How to convert 31 to ternary

Step 1: Hexadecimal to decimal

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

DigitPlace valueDigit × place
3161 = 1648
1160 = 11

48 + 1 = 49

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)
49 ÷ 3161
16 ÷ 351
5 ÷ 312
1 ÷ 301

Result: 49 = 1211 in ternary.

About the number 49

  • 49 is an odd number.
  • 49 is not a prime number.
  • 49 is a perfect square: 7 × 7.
  • Written in binary it needs 6 bits, so it fits in one byte.

Reverse conversion

Frequently asked questions

What is 31 in ternary?

31 in hexadecimal is 1211 in ternary (the number 49 in decimal).