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

Tilly P.

Degree: Computer Science and Mathematics (Bachelors) - Exeter University

Subjects offered: Computing, Maths


“About Me: I'm a Maths and Computer Science student at the university of Exeter. I've always enjoyed maths and I really want to help others enjoy it too! I have a lot of experience in helping out with younger students as I've taken pa...”

£18 /hr

João D.

Degree: Computer Science (Bachelors) - Bath University

Subjects offered: Computing, ICT


“Computer Science has always been a passion of mine, academically and as a hobby. It combines creativity with analytical thinking and I found that very appealing. In retrospect, all of my best teachers, lecturers and tutors had a share...”

£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...”

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

How do you convert a number from denary to hexadecimal?

What is SQL? I know it's a 'query' language, but what does that mean?

What is the denary representation of the binary number 10110110?

Convert 01010001 from binary to decimal

View GCSE Computing tutors


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