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:

DigitPlace valueDigit × place
182 = 6464
281 = 816
780 = 17

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:

DivisionQuotientRemainder (digit)
87 ÷ 3290
29 ÷ 392
9 ÷ 330
3 ÷ 310
1 ÷ 301

Result: 87 = 10020 in ternary.

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).