127 Octal to Ternary
127 octal = 10020 ternary
127 written in ternary is 10020, the number 87 in everyday decimal.
127 octal = 10020 ternary
How to convert 127 to ternary
Step 1: Octal to decimal
Multiply each digit by 8 to the power of its position (0 on the right), then add:
| Digit | Place value | Digit × place |
|---|---|---|
1 | 82 = 64 | 64 |
2 | 81 = 8 | 16 |
7 | 80 = 1 | 7 |
64 + 16 + 7 = 87
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) |
|---|---|---|
| 87 ÷ 3 | 29 | 0 |
| 29 ÷ 3 | 9 | 2 |
| 9 ÷ 3 | 3 | 0 |
| 3 ÷ 3 | 1 | 0 |
| 1 ÷ 3 | 0 | 1 |
Result: 87 = 10020 in ternary.
127 (octal) in other systems
| Binary | 1010111 |
| Decimal | 87 |
| Roman numerals | LXXXVII |
| Hexadecimal | 57 |
| Duodecimal | 73 |
| Base 36 | 2F |
| Vigesimal | 47 |
| Quaternary | 1113 |
| Quinary | 322 |
| Senary | 223 |
Nearby octal to ternary conversions
| 122 to ternary | 10001 |
| 123 to ternary | 10002 |
| 124 to ternary | 10010 |
| 125 to ternary | 10011 |
| 126 to ternary | 10012 |
| 130 to ternary | 10021 |
| 131 to ternary | 10022 |
| 132 to ternary | 10100 |
| 133 to ternary | 10101 |
| 134 to ternary | 10102 |
About the number 87
- 87 is an odd number.
- 87 is not a prime number.
- Written in binary it needs 7 bits, so it fits in one byte.
Reverse conversion
Frequently asked questions
What is 127 in ternary?
127 in octal is 10020 in ternary (the number 87 in decimal).