1F Hexadecimal to Ternary

1F hexadecimal = 1011 ternary

1F written in ternary is 1011, the number 31 in everyday decimal.

1F hexadecimal = 1011 ternary

How to convert 1F 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
1161 = 1616
F = 15160 = 115

16 + 15 = 31

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)
31 ÷ 3101
10 ÷ 331
3 ÷ 310
1 ÷ 301

Result: 31 = 1011 in ternary.

About the number 31

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

Reverse conversion

Frequently asked questions

What is 1F in ternary?

1F in hexadecimal is 1011 in ternary (the number 31 in decimal).