Binary to Octal and Binary to Hexadecimal Conversion for Fractional Number

In a recent article, we have seen how to convert a binary number to its corresponding octal as well as hexadecimal number. However, in that article, we have considered the conversions for only the whole numbers. In this article, we will do the conversions for the binary fractional numbers. Following is the technique for such conversions.

Technique

  • Grouping of bits will be done to convert from binary to octal and hexadecimal
  • For octal, 3-bit grouping; and for hexadecimal, 4-bit grouping is done
  • Both the parts before and after the binary point are considered separately for conversion
  • Append zero to the left if required for the part before the binary point
  • Append zero to the right if required for the part after the binary point

Binary to Octal Conversion

Example: 10.10112 = ?8

Fractional Binary to Octal Conversion

Binary to Hexadecimal Conversion

Example: 10.10112 = ?16

Fractional Binary to Hexadecimal 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 *