How to Convert A Binary Number To Decimal Number

The Decimal number system consists has ten values ranging from 0 to 9.The Binary system consists of only two values 0 and 1.
Number conversions are very useful for Engineering, especially during first semester. This article is very useful to help students convert Binary Numbers to Decimal Numbers.It is preferred that engineering students also learn How to Decimal Numbers to Binary Numbers.

In order to differentiate decimal numbers with binary numbers Base values of 10 and 2 are given in subscripts such as Binary numbers are represented as 100111(2) (read as 100111 to the base 2)and decimal numbers are represented as 39(10) (read as 39 to the base 10).To convert binary numbers to decimal numbers just follow these simple steps:
Let us consider a binary number 100111(2).In Order to convert it to decimal number

  1. Identify the position of each value of the given Binary value
  2. Write down the Given Values below the respective positions
  3. Multiply the binary values with the respective weights.
  4. The weight of first position is 2 raised to power (position-1)
  5. For example the weight of second position is 2(2-1)=21.
  6. Then just multiply the Binary value with the weights.
  7. Then add all the final values to get the decimal equivalent of the binary number.
6th5th4th3rd2nd1stPosition
100111Given Binary value
X25X24X23X22X21X20Weights
1X32+0X16+0X8+1X4+1X2 +1X1.
32+0+0+4+2+1=39(10)

Therefore the decimal equivalent of 100111(2) =39(10).

0 comments:

Post a Comment

 
Powered by Blogger