How to convert any binary number to decimal?

Let us take a binary number 10010111. To make conversion easier let us write down numbers 0 to 7 under this binary number starting from the right side.

These numbers will represent powers of 2. For each '1' in the given binary number we will need to sum its power of 2 to get the decimal representation.


1 0 0 1 0 1 1 1

7 6 5 4 3 2 1 0

would mean that we need to sum up 27, 24, 22, 21 and 20. Accordingly, 128+16+4+2+1 = 151.

This technique will work with any size binary number, provided that you will sum up all the powers of 2 starting from 0 up to the number of digits in binary number minus 1.

Mantas S. GCSE Maths tutor, GCSE ICT tutor

1 year ago

Answered by Mantas, a GCSE Computing tutor with MyTutor

Still stuck? Get one-to-one help from a personally interviewed subject specialist


£18 /hr

Brendon W.

Degree: Computer Science (Bachelors) - Bristol University

Subjects offered:Computing, Maths


“Aspiring developer who wishes to share his passionate knowledge of Computing and Mathematics, and help those get over the hurdles they need to succeed.”

MyTutor guarantee

£18 /hr

Connor M.

Degree: Electronic and Electrical Engineering (Masters) - Bath University

Subjects offered:Computing, Maths+ 3 more

Business Studies

“About Me: I am a electronic and electrical engineering student at the University of Bath. I have a strong passion for learning and I'm more than happy to help those willing to learn. I am patient and encouraging, I have previously tu...”

£18 /hr

Jose Ignacio M.

Degree: Electronics and Software Engineering (Masters) - Edinburgh University

Subjects offered:Computing, Spanish+ 2 more


“About Me: I am a Spanish engineering student at The University of Edinburgh. Half way through my first year for an MEng degree on Electronics and Software Engineering. If you take a quick look at my grades you may think I have always ...”

MyTutor guarantee

About the author

Mantas S.

Currently unavailable: until 13/02/2017

Degree: Software Engineering (Bachelors) - Newcastle University

Subjects offered:Computing, Maths


“Hi, I'm Mantas.I am a Software Engineering student at Newcastle University and I enjoy helping others. I consider Computing as my main expertise and I will do my best to guide you through the fun process of learning all things relate...”

MyTutor guarantee

You may also like...

Other GCSE Computing questions

What is the difference between a data structure and a data type?

What is the difference between data verification and data validation?

What is batch processing?

What is the denary representation of the binary number 10110110?

View GCSE Computing tutors

We use cookies to improve your site experience. By continuing to use this website, we'll assume that you're OK with this. Dismiss