Represents 8 types of digits from 0 to 7, so the base of number system is 8. It takes exactly three binary digits to represent an octal digit. Similar to binary number system, it is also positional system and has two parts i.e. integer and fractional part separated by radix point (.).

Octal to Binary conversion

Steps :

- Replace each octal digit by its 3-bit equivalent binary.

Example:

(2351.23)_{8} = ( 010 011 101 001 . 010 011 )_{2} = (010011101001.010011)_{2}

Octal to Decimal conversion

Steps:

- Multiply each bit by 8
^{n}, where n is the weight of the bit. - Weight is calculated by the position of bit, starting from 0 on the right.
- Add the results.

Example:

Octal to Hexadecimal conversion

Steps:

- Replace each octal digit by its 3-bit equivalent binary.
- Group four bits starting from right for integer part and left for fractional part.
- Convert to hexadecimal digits.

Example:

As it was difficult to handle binary number system, it gave rise to two more number system i.e octal and hexadecimal.

Terms of Use | Privacy Policy | Contact Us | Advertise

CodesandTutorials © 2014 All Rights Reserved