Convert 01010001 from binary to decimal

Each digit in binary has a different value, very much the same as the way the three in 32 has a different value than the three in 321. Whereas this goes from 30 to 300, and you multiply by 10 every time, in binary we multiply by 2 every time instead. This means the right most digit has a value of 1, the next 2, the next 4, and you keep multiplying by 2 until you get to the end of the sequence of numbers. Once we know how much each one is worth, every time we see a '1', we add this number to our total, starting from the right! So for our example we would do 1+16+64 = 81. This means 01010001 represents 81 in binary.

Answered by Jay L. Computing tutor

13869 Views

See similar Computing GCSE tutors

Related Computing GCSE answers

All answers ▸

Describe the time complexity for the search operation in a binary search tree.


What is Bubble Sort algorithm and how it works? Give an example of pseudo-code explaining the process.


What is the purpose of RAM in a computer?


Convert 10101101 from binary to both decimal and hexadecimal


We're here to help

contact us iconContact usWhatsapp logoMessage us on Whatsapptelephone icon+44 (0) 203 773 6020
Facebook logoInstagram logoLinkedIn logo
Cookie Preferences