# Octal Number System

The octal number system is the base 8 number system. Thus, it has 8 characters or numbers starting from 0 to 8. It is written as 2148.

Some more examples of octal numbers are 558, 1018, 608

In 1801, James Anderson suggested the base 8 number system and coined the term ‘octal.’

Like the hexadecimal number system, the advantage of the octal number system is that it provides an easier way of converting large binary numbers into more compact and smaller groups. However, it is less commonly used due to its limitations of having elements till 7.

Although it is widely used in computer applications and other digital systems, computers cannot comprehend octal numbers. Thus, they convert it to binary numbers first.

## Octal to Binary Conversion

To convert octal numbers to binary, we convert each number from the octal number to the binary number.

Here is the table of the octal numbers with their corresponding binary equivalents. We use 3 bits to represent all octal numbers. Each group has a value between 000 and 111. Thus, numbers above 7, like 11, 12, and 19 are not octal.

Let us convert (15)8 into the binary number system.

The given octal number is (18)8

Using the octal-to-binary conversion table, we get

18 →0012

5 →1012

Thus, (15)8 → (001101)2

## Octal to Decimal Conversion

To convert an octal number to a decimal number, it is expanded with the base of eight, each digit multiplied by the power of 8, based on its position.

Let us convert (282)8 into the decimal number system.

The given octal number is (282)8

To convert it to the decimal form:

(282)8 = (2 × 82) + (2 × 81) + (2 × 80)

= 128 + 16 + 2

= 146

Thus, (282)8 → (146)10

Check our hexadecimal number system article to learn this conversion.

## Binary to Octal Conversion

Converting a binary number to an octal number is similar to an octal-to-binary conversion using the table.

Let us convert (101011)2 to an octal number.

The given binary number is (101011)2

To convert it to the corresponding octal number, we will use the table below:

101 → 5

011 → 3

Thus, (101011)2→ (53)2

## Decimal to Octal Conversion

Here, the decimal number is divided by 8 with the reminder obtained from the previous division.

Let us convert (712)10 to an octal number

Thus,

(712)10 → (1310)8