Number Base Converter · Tutorial

How to convert binary to decimal and check your work

5 min readbeginnerUpdated

Whether it's for a computer science class or reading a register value, converting binary to decimal is a skill worth having. This tutorial works through 1011 0110 by hand using place values, then uses the converter to check the result and see its hex form.

What you need

Steps

  1. Write the place values

    Write the binary number and, under each bit from the right, the values 1, 2, 4, 8, 16, 32, 64 and 128.

    1   0   1   1   0   1   1   0
    128 64  32  16  8   4   2   1
  2. Add the values under each 1

    The ones sit under 128, 32, 16, 4 and 2. Adding them gives 182.

  3. Check with the converter

    Type 1011 0110 into Number. The decimal row shows 182, so your working is right.

  4. Look at the hex form

    The hex row shows B6. Each group of four bits is one hex digit, 1011 = B (11) and 0110 = 6, which is a quick way to convert binary to hex in your head.

Try it yourself

Opens the Number Base Converter with this tutorial's sample loaded.

Try it now

Common mistakes

Starting the place values from the left
Place values always start at 1 on the right. Starting from the left gives a completely different number.
Losing track of zeros
Write every bit, including zeros in the middle. Skipping one shifts all the place values.
Mixing up signed and unsigned
1011 0110 is 182 unsigned, but -74 as a signed 8-bit value. The converter shows the unsigned value. Use the Bitwise Calculator to see both.

Next steps

Go back to the Number Base Converter, or keep going with one of these: