Skip to content

Unit 6 · Lesson 4

Numeric operations (1)

5 steps. Each one is a short story and a question to answer.

Adding and subtracting binary numbers works just like the decimal way you learned in primary school.

We work column by column, starting from the right (the lowest place) and moving left.

The only difference: binary has just two digits (0 and 1), so the rules are specific to them.

In addition we use a carry, in subtraction we use a borrow.

Addition
Column by column from the right
Uses a carry
Subtraction
Column by column from the right
Uses a borrow
VS
Column by column from the right: carry in addition, borrow in subtraction

We start binary addition from...

Pick an answer

Same idea as decimal

Column by column from the right: carry in addition, borrow in subtraction. We work column by column, starting from the right (the lowest place) and moving left. The only difference: binary has just two digits (0 and 1), so the rules are specific to them.

Binary addition rules

1 + 1 = 10 (write 0, carry 1) and 1 + 1 + 1 = 11 (write 1, carry 1). 0 + 0 = 0 and 0 + 1 = 1. 1 + 1 = 10: we write 0 and carry 1 to the next column, because the sum reached 2.

Example: 0101 + 1001

0101 + 1001 = 1110. First column: 1 + 1 = 10, write 0, carry 1. Second: 0 + 0 + carried 1 = 1. Third: 1 + 0 = 1.

Subtraction rules and borrowing

When the top digit is too small: borrow 1 from the next column to make 10. 0 − 0 = 0, 1 − 0 = 1 and 1 − 1 = 0. When the top digit is too small (like 0 − 1), we borrow 1 from the next column, which turns into 10, worth 2.

Example: 1010 − 0110

1010 − 0110 = 0100 (we borrowed from the fourth column). First: 0 − 0 = 0. Second: 1 − 1 = 0. No borrowing. Third: 0 − 1 is impossible, so borrow 1 from the fourth to get 10, and 10 − 1 = 1.

Done, see the summary
✕

Numeric operations (1)

Scroll down ↓ to continue

The lesson on one page

Every idea in the lesson with its rule, ready to screenshot and revise from.

  1. Same idea as decimal

    Column by column from the right: carry in addition, borrow in subtraction

  2. 2

    Binary addition rules

    1 + 1 = 10 (write 0, carry 1) and 1 + 1 + 1 = 11 (write 1, carry 1)

  3. 3

    Example: 0101 + 1001

    0101 + 1001 = 1110

  4. 4

    Subtraction rules and borrowing

    When the top digit is too small: borrow 1 from the next column to make 10

  5. 5

    Example: 1010 − 0110

    1010 − 0110 = 0100 (we borrowed from the fourth column)

Test yourself

One question from every step. Answer and see your score.

Question 1 of 5

We start binary addition from...

Watch and listen

Quick reel

Unit 6

Learn how a computer adds and subtracts binary numbers: the addition rules and carry, the subtraction rules and borrow, with worked examples step by step, in an animated explainer.

Share this lessonWhatsApp

The lesson in writing

The same explanation as the 3D scene, written out for quick review.

Same idea as decimal

Column by column from the right: carry in addition, borrow in subtraction. We work column by column, starting from the right (the lowest place) and moving left. The only difference: binary has just two digits (0 and 1), so the rules are specific to them.

Page 116, 119

Binary addition rules

1 + 1 = 10 (write 0, carry 1) and 1 + 1 + 1 = 11 (write 1, carry 1). 0 + 0 = 0 and 0 + 1 = 1. 1 + 1 = 10: we write 0 and carry 1 to the next column, because the sum reached 2.

Page 116, 119

Example: 0101 + 1001

0101 + 1001 = 1110. First column: 1 + 1 = 10, write 0, carry 1. Second: 0 + 0 + carried 1 = 1. Third: 1 + 0 = 1.

Page 116

Subtraction rules and borrowing

When the top digit is too small: borrow 1 from the next column to make 10. 0 − 0 = 0, 1 − 0 = 1 and 1 − 1 = 0. When the top digit is too small (like 0 − 1), we borrow 1 from the next column, which turns into 10, worth 2.

Page 117, 119

Example: 1010 − 0110

1010 − 0110 = 0100 (we borrowed from the fourth column). First: 0 − 0 = 0. Second: 1 − 1 = 0. No borrowing. Third: 0 − 1 is impossible, so borrow 1 from the fourth to get 10, and 10 − 1 = 1.

Page 117

Questions about this lesson

How do we add binary numbers?
Column by column from right to left. Adding 1 + 1 gives 10, so we write 0 and carry 1 to the next column.
What is a carry?
The digit passed to the next higher column when the sum reaches 2 in binary.
How do we subtract binary numbers?
Column by column from the right; when the top digit is too small we borrow 1 from the next column, turning it into 10 (which is 2 in decimal).
What is 0101 + 1001?
The result is 1110 in binary.