How do you convert from binary to decimal?

Our conventional numbering system is based around the idea that we can represent any number with 10 different digits arranged in a specific order. Because of this, this is called a base-10 or decimal system. In binary, we can represent any number we want with only two different numbers a 1 or 0, so it is called a base-2 system. 
Let's look at an example, first in decimal.
The number 1234 can be broken down into:
1 x 4 +
10 x 3 +
100 x 2 +
1000 x 1
or alternatively
10x 4 +
10x 3 + 
102 x 2 +
103 x 1
From this we can see the evidence of a base 10 system, each time we look at the next digit, we increase the power of the multiplier.
 
So bearing this in mind, we can look at a binary number, made of just 1's and 0's, for example 0110.
Just as above, every time we look at teh next digit, we increase the power of the multiplier BUT binary is base-2...so:
2x 0 +
2x 1 +
22 x 1+
23 x 0
And adding all these numbers up lets you convert a binary number to decimal. So 0110 in decimal is 0+2+4+0 = 6!

Answered by James T. Computing tutor

3436 Views

See similar Computing A Level tutors

Related Computing A Level answers

All answers ▸

Define resolution in regards to images and how it differs from colour depth


What is method "Overloading" in object-oriented programming (OOP) ?


What is the time complexity of Bubble Sort?


Calculate -3 + 3 using Two's Complement and the Sign and Magnitude Method. Which works correctly?


We're here to help

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

© MyTutorWeb Ltd 2013–2025

Terms & Conditions|Privacy Policy
Cookie Preferences