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:
| Digit | Place value | Digit × place |
|---|---|---|
1 | 161 = 16 | 16 |
F = 15 | 160 = 1 | 15 |
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:
| Division | Quotient | Remainder (digit) |
|---|---|---|
| 31 ÷ 3 | 10 | 1 |
| 10 ÷ 3 | 3 | 1 |
| 3 ÷ 3 | 1 | 0 |
| 1 ÷ 3 | 0 | 1 |
Result: 31 = 1011 in ternary.
1F (hexadecimal) in other systems
| Binary | 11111 |
| Decimal | 31 |
| Roman numerals | XXXI |
| Octal | 37 |
| Duodecimal | 27 |
| Base 36 | V |
| Vigesimal | 1B |
| Quaternary | 133 |
| Quinary | 111 |
| Senary | 51 |
Nearby hexadecimal to ternary conversions
| 1A to ternary | 222 |
| 1B to ternary | 1000 |
| 1C to ternary | 1001 |
| 1D to ternary | 1002 |
| 1E to ternary | 1010 |
| 20 to ternary | 1012 |
| 21 to ternary | 1020 |
| 22 to ternary | 1021 |
| 23 to ternary | 1022 |
| 24 to ternary | 1100 |
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).