Octal, also known as the base-8 number system, uses eight symbols to represent values: the numbers 0 to 7. Each octal digit represents three binary digits (bits), making it a convenient way to express binary numbers in a more compact form compared to binary but less so than hexadecimal.

Here are the key points about octal:
Octal Digits:

0-7: Represent values 0 to 7.

Octal to Decimal Conversion:

To convert an octal number to decimal, multiply each octal digit by 8 raised to the power of its position (starting from 0) from right to left.

Example:

Decimal to Octal Conversion:

To convert a decimal number to octal, repeatedly divide the number by 8 and record the remainders. The remainders, read in reverse order, form the octal number.

Example:
Convert 469 to octal:

469 ÷ 8 = 58 remainder 5
58 ÷ 8 = 7 remainder 2
7 ÷ 8 = 0 remainder 7

Reading the remainders from bottom to top, we get:
469=725 (octal)
Binary to Octal Conversion:

To convert binary to octal, group the binary digits into sets of three (starting from the right). Then, convert each group to its octal equivalent.

Example:
Binary 110101111:

Group into sets of three: 110 101 111
Convert each group to octal: 6 5 7

So, 110101111 in binary is 657 in octal.
Octal to Binary Conversion:

To convert octal to binary, convert each octal digit to its three-bit binary equivalent.

Example:
Octal 657:

Convert each digit to binary: 6 (110), 5 (101), 7 (111)
Combine the groups: 110 101 111

So, 657 in octal is 110101111 in binary.
Uses of Octal:

Unix File Permissions: Octal notation is used to represent file permissions in Unix and Unix-like systems.
Digital Electronics: Octal can be used in digital electronics and microprocessor programming, though hexadecimal is more common.

Summary Table:
Decimal Binary Octal
0 000 0
1 001 1
2 010 2
3 011 3
4 100 4
5 101 5
6 110 6
7 111 7
8 1000 10
9 1001 11
10 1010 12
11 1011 13
12 1100 14
13 1101 15
14 1110 16
15 1111 17

Understanding octal is particularly useful in contexts where simplifying binary representation is important, especially in specific computing and digital electronics applications.