Join Sarthaks eConnect Today - India's Largest Online Education Community!

how to convert binary digit into decimal and decimal to binary??

+4 votes
asked Jul 3, 2016 in Computer by abhiraj_576 (90 points) 1 3 8

1 Answer

+2 votes
answered Jul 3, 2016 by sarthaks (25,068 points) 8 21 33

Conversion from Binary to Decimal

Expand the number given in binary form in the power of 2 and sum the values, the result which we will get will be in the decimal form. For example-

Conversion from Decimal to Binary

Divide the number by 2 and take only the remainder, if division is completed than take only the remainder which gives the binary number.


∴ (87)10 = (1110101)2

Welcome to Sarthaks eConnect: A unique platform where students can interact with teachers/experts/students to get solutions to their queries. Students (upto class 10+2) preparing for All Government Exams, CBSE Board Exam, ICSE Board Exam, State Board Exam, JEE (Mains+Advance) and NEET can ask questions from any subject and get quick answers by subject teachers/ experts/mentors/students.

One Thought Forever

“There is a close connection between getting up in the world and getting up in the morning.“
– Anon