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


£22 /hr

Joe C.

Degree: General Engineering (Masters) - Durham University

Subjects offered:Computing, Science+ 2 more


“Masters student at Durham University, ready to help you excel at Maths and Science ”

£18 /hr

Juris B.

Degree: Computer Science (Bachelors) - St. Andrews University

Subjects offered:Computing, Maths


“I am a Computer Science at the University of St. Andrews. Before that however, I was a pupil in a school in the North-East of Scotland. With the combined passion and availability of superb teachers - I was given an opportunity to exce...”

£20 /hr

Jay L.

Degree: Computer Science (Masters) - Bristol University

Subjects offered:Computing, Maths+ 1 more


“About me: Hi, I’m Jay, a first year Computer Science student at the University of Bristol! I am here to help students prepare for their exams (GCSE, AS/A Level etc) in Maths and Computing. My teaching style can vary depending on how y...”

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 batch processing?

What do 0s and 1s have anything to do with Boolean Logic?

Convert 01010001 from binary to decimal

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