How To Turn Binary Into Decimal?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
To convert from binary to decimal, you need to use the following formula:
Decimal = (sum of (2^n)*b(n))
where:
• n is the power of two
• b(n) is the binary digit at the nth position, starting from the right
For example, the binary number 10010101 would convert to decimal:
Decimal = (2^7)*1 + (2^6)*0 + (2^5)*0 + (2^4)*1 + (2^3)*0 + (2^2)*1 + (2^1)*0 + (2^0)*1
Decimal = 128 + 0 + 0 + 16 + 0 + 4 + 0 + 1
Decimal = 149