binary to decimal Converter

0

What is a number system?

A number system of base B or radix R is a system in which numbers are represented with R or B symbols. for example, Binary number system is a base-2 system that means in this system all the numbers are represented with 0 and 1.

Similarly, Octal-8, Decimal-10, Hexadecimal-16 are some of the common number systems. The loop begins after base digits. for example, if we talk about the decimal Number system. lets write 0, 1, 2, 3, 4, 5, 6, 7, 8, 9 now all our symbols ended then how to write 10th digit. By repeating the existing one. like10, 11, 12, ....... so on.

Lets apply the same logic with the binary number system. we have two symbols 0 and 1 so for the single binary digit the possible value is 0 and 1.
After that for two binary digits we have 00, 01, 10 and 11 since 00 is 0 and 01 is 1
For three binary digits we have 100, 101, 110, 111 so on.

Why Number conversion is important?

For our daily usage we are relied on Decimal Number System. Physical units such as length-meters, weight-kilograms, temperature-centigrade all are written in the Decimal Number System. But we lives are heavily relied on the digital gadgets and all the electronic gadgets runs on binary number of system.
Inorder to compute our data we need to convert it to the digital form ie,Binary Form
And for some other use like giving codes to the colors we use Hexa-decimal number system because it is easy to remember and write.

Conversion of 101101 in binary to Decimal Number System.

We can convert binary Number to Decimal Number by multiplying each binary digits with 2  and then raising the power from right to left as below.

+ + + + +
32 + 0 + 8 + 4 + 0 + 1

Conversion of 11101001 in binary to Decimal Number System.

We can convert binary Number to Decimal Number by multiplying each binary digits with 2  and then raising the power from right to left as below.

+ + + + + + +
128 + 64 + 32 + 0 + 8 + 0 + 0 + 1

Conversion of 100001 in binary to Decimal Number System.

We can convert binary Number to Decimal Number by multiplying each binary digits with 2  and then raising the power from right to left as below.

+ + + + +
32 + 0 + 0 + 0 + 0 + 1