Binary to Decimal Conversion

Posted on 2006-05-22
Last Modified: 2013-11-12
I am looking for a good website that gives some good examples on how to do binary to decimal conversion. Thanks.
Question by:dude02
    LVL 4

    Accepted Solution

    If you have a binary number

    1 0 1 0 1

    Then all you need to do is add the appropriate powers of two.

    Work from right to left gives

    1 * (2^0) + 0*(2^1) + 1*(2^2) + 0*(2^3) + 1*(2^4)

    Which is equivelent to

    1 + 0 + 4 + 0 + 16

    Add them together to get the result gives 21.

    A few website links below:

    Hope that helps!
    LVL 14

    Expert Comment


    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    Highfive + Dolby Voice = No More Audio Complaints!

    Poor audio quality is one of the top reasons people don’t use video conferencing. Get the crispest, clearest audio powered by Dolby Voice in every meeting. Highfive and Dolby Voice deliver the best video conferencing and audio experience for every meeting and every room.

    Author Note: Since this E-E article was originally written, years ago, formal testing has come into common use in the world of PHP.  PHPUnit ( and similar technologies have enjoyed wide adoption, making it possib…
    The CRUD Functions CRUD, meaning "Create, Read, Update, Delete (,_read,_update_and_delete)" is a common term to data base developers.  It describes the essential functions of data base table maintenance.  This art…
    how to add IIS SMTP to handle application/Scanner relays into office 365.
    This video is in connection to the article "The case of a missing mobile phone (". It will help one to understand clearly the steps to track a lost android phone.

    779 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    12 Experts available now in Live!

    Get 1:1 Help Now