Binary to Octal & Binary to Hexadecimal Conversion

We have already seen octal to binary and hexadecimal to binary conversion in an earlier article. In this post, we will be learning how to convert binary to octal and binary to hexadecimal numbers. Following is the technique for these conversions.

Technique

  • For Octal, Group bits in threes, starting from the right
  • For Hexadecimal, Group bits in fours, starting from the right
  • Append ‘0’s to the leftmost bits if required
  • Convert the grouped bits to octal or hexadecimal digits

Binary to Octal Conversion

Example: 10110101112 = ?8

Example of Binary to Octal Conversion

Binary to Hexadecimal Conversion

Example: 10101110112 = ?16

Example of Binary to Hexadicimal Conversion

For a detailed explanation, watch the following lecture video.

Previous           Table of Content           Next

Leave a Reply

Your email address will not be published. Required fields are marked *