This system has 8 digits. These are 0, 1, …, 7. The decimal value of an octal number is computed by summing the result of multiplying each of its digits by the base 8 raised to a power determined by the digit position.
The octal numbering system was advised so as to represent long strings of bits in a more compressed format. Since the octal base 8 is equal to the binary base 2 raised to the power of 3 (8 = 23), a binary number is converted to an octal number by replacing each 3 consecutive bits by the equivalent octal digit starting from right to left. Similarly, an octal number is converted to a binary number by replacing each octal digit by its 3-bit binary equivalent.