Blog

Binary is a way of writing numbers using two digits, typically represented by 1 and 0. It takes some practice to be able to read binary, but it’s the basis of how almost all computers do arithmetic!

Reading a binary number

A binary number looks like a standard decimal number, but it only has the digits 1 and 0. To distinguish binary from standard numbers, we’ll put a ‘B’ on the end of any binary numbers. Some people will instead write “0b” at the start, or “2” at the end to show the same thing.

A standard number has a ones column, a tens column, a hundreds column and so on. If binary used the same values for each column, the only numbers would be 1, 10, 11, 100 and so on.

Binary columns are valued differently. A binary number has a ones column, a twos column, a fours column, an eights column, and so on. Each column is twice the previous column. To read a binary number, add the values of the columns together. For example:

1011B

Has 1 in the ones column, 1 in the twos column, 0 in the fours column and 1 in the eights column, so

1011B = one + two + eight = eleven

And for a bigger example:

1000110B = two + four + sixty-four = seventy

Adding binary numbers

Binary addition is based on one simple fact:

1B + 1B = 10B

To do binary addition, write the numbers with their columns lined up like you would with regular numbers:

  111B

+ 110B

Then add the columns, starting from the ones column and move up. The following three facts should help you:

0B + 0B = 0B
1B + 0B = 1B
1B + 1B = 10B

Don’t forget to carry when you add two 1s together!

  111B

+ 110B

––––––

 1101B

To check your answer, you can convert it to standard decimal numbers:

111B = seven, 110B = six, 1101B = thirteen, so:

Seven + six = thirteen

What’s happening?

If you do this activity, you might think that binary is complicated and slow. In the example above, it takes four steps to add six and seven. However, most arithmetic in the world is done in binary – because most arithmetic is done by computers.

Binary numbers are written with only two digits: 1 and 0. A computer can store a binary number using open or closed switches to represent each digit. It is also easier to design chips to add binary. There are only three addition facts needed to make a binary adder work (0 + 0 = 0, 1 + 0 = 1, 1 + 1 = 10). A decimal adding machine would need 55 facts.

The binary system was formally described by Gottfried Leibniz about 300 years ago. Gottfried based his binary system on ideas he found in a fortune telling system known as I Ching. Leibniz though that binary would make a good system for computation, but it was hundreds of years before the first binary computers were made.

If you’re after more maths activities for kids, subscribe to Double Helix magazine!

Subscribe now! button

4 responses

  1. David Avatar
    David

    David, I love your content. Me and my two friends would like you to make an article about hexadecimal because you’re very helpful. I hope you have an amazing day!

  2. Josiah Avatar
    Josiah

    1st former here cant understand this t all and project due tmrw

  3. David Avatar
    David

    Hi Josiah,
    Binary can be very hard to get your head around! You might want to ask an adult or a teacher to help you.

    You might also learn something from an online converter – something like:
    https://www.binaryhexconverter.com/decimal-to-binary-converter

    Try putting some numbers in and see what comes out! There are lots of patterns you can spot that might help you learn binary.

  4. sirvan I FUAD Avatar
    sirvan I FUAD

    Thank you very much for your help

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.

By submitting this form, you give CSIRO permission to publish your comments on our websites. Please make sure the comments are your own. For more information please see our terms and conditions.

Why choose the Double Helix magazine for your students?

Perfect for ages 8 – 14

Developed by experienced editors

Engaging and motivating

*84% of readers are more interested in science

Engaging students voice