FORM 2 • TERM 1 • LESSON 07
In the last lesson you converted numbers from other bases into base 10. Now you will calculate in other bases. You will add and subtract in binary and other bases using the same column method you use in base 10, change base 10 numbers into other bases, and work with numbers that are written in different bases by putting them into one base first.
Learning outcomes
By the end of this lesson you should be able to:
- 2.1.3.6 – Add and subtract numbers in any base, including binary.
- 2.1.3.8 – Convert numbers to a single base so that they can be added or subtracted.
Changing a base 10 number into another base
To write a base 10 number in base b, divide by b again and again and write down each remainder. Stop when you reach 0, then read the remainders from the bottom up.
| Divide by 2 | Answer | Remainder |
|---|---|---|
| 45 ÷ 2 | 22 | 1 |
| 22 ÷ 2 | 11 | 0 |
| 11 ÷ 2 | 5 | 1 |
| 5 ÷ 2 | 2 | 1 |
| 2 ÷ 2 | 1 | 0 |
| 1 ÷ 2 | 0 | 1 |
Reading the remainders upwards gives 45 = 1011012. Check: 32 + 8 + 4 + 1 = 45. ✓
Adding in any base
Line up the digits in columns and add from the right, just as in base 10. The only change is when you carry: in base 10 you carry when a column reaches 10; in base b you carry when a column reaches b.
- In binary: 0 + 0 = 0, 0 + 1 = 1, 1 + 1 = 102 (write 0, carry 1), and 1 + 1 + 1 = 112 (write 1, carry 1).
- In base 5: if a column adds to 7, that is one 5 and 2 left over, so write 2 and carry 1.
For example, 2435 + 1345:
- Units: 3 + 4 = 7 = 1 × 5 + 2. Write 2, carry 1.
- Fives: 4 + 3 + 1 = 8 = 1 × 5 + 3. Write 3, carry 1.
- Twenty-fives: 2 + 1 + 1 = 4. Write 4.
- Answer: 4325.
Subtracting in any base
Subtract column by column from the right. When the top digit is too small, borrow 1 from the next column. In base 10 the borrowed 1 is worth 10; in base b it is worth b. In binary a borrowed 1 is worth 2.
For example, 3528 − 1678:
- Units: 2 − 7 cannot be done. Borrow 1 eight from the next column: 2 + 8 = 10, and 10 − 7 = 3.
- Eights: 5 became 4. 4 − 6 cannot be done. Borrow: 4 + 8 = 12, and 12 − 6 = 6.
- Sixty-fours: 3 became 2. 2 − 1 = 1.
- Answer: 1638.
Check by converting. 3528 = 234 and 1678 = 119. 234 − 119 = 115, and 1638 = 64 + 48 + 3 = 115. ✓
Numbers in different bases
You cannot add 11012 and 235 column by column, because their columns have different place values. First convert them to the same base – base 10 is usually easiest – then calculate. If the question asks for the answer in a particular base, convert the answer at the end.
Worked examples
Example 1: Base 10 to base 5
Question: Write 87 in base 5.
- 87 ÷ 5 = 17 remainder 2.
- 17 ÷ 5 = 3 remainder 2.
- 3 ÷ 5 = 0 remainder 3.
- Read the remainders upwards: 322.
- Check: 3 × 25 + 2 × 5 + 2 = 87. ✓
Answer: 3225.
Example 2: Binary addition
Question: Work out 10112 + 1102.
- Units: 1 + 0 = 1.
- Twos: 1 + 1 = 102. Write 0, carry 1.
- Fours: 0 + 1 + 1 (carried) = 102. Write 0, carry 1.
- Eights: 1 + 1 (carried) = 102. Write 0, carry 1 into a new column.
- Check: 11 + 6 = 17, and 100012 = 16 + 1 = 17. ✓
Answer: 100012.
Example 3: Binary subtraction
Question: Work out 11012 − 1102.
- Units: 1 − 0 = 1.
- Twos: 0 − 1 cannot be done. Borrow from the fours: 0 + 2 = 2, and 2 − 1 = 1.
- Fours: 1 became 0. 0 − 1 cannot be done. Borrow from the eights: 0 + 2 = 2, and 2 − 1 = 1.
- Eights: 1 became 0. Nothing is left.
- Check: 13 − 6 = 7 = 1112. ✓
Answer: 1112.
Example 4: Adding in base 3
Question: Work out 2123 + 1213.
- Units: 2 + 1 = 3 = 1 × 3 + 0. Write 0, carry 1.
- Threes: 1 + 2 + 1 = 4 = 1 × 3 + 1. Write 1, carry 1.
- Nines: 2 + 1 + 1 = 4 = 1 × 3 + 1. Write 1, carry 1 into a new column.
- Check: 23 + 16 = 39, and 11103 = 27 + 9 + 3 = 39. ✓
Answer: 11103.
Example 5: Mixed bases
Question: Work out 11012 + 235. Give your answer in base 10 and in base 2.
- Convert both to base 10: 11012 = 8 + 4 + 1 = 13, and 235 = 2 × 5 + 3 = 13.
- Add: 13 + 13 = 26.
- Change 26 to base 2: 26 = 16 + 8 + 2, so 26 = 110102.
Answer: 26, or 110102.
Example 6: Mixed-base subtraction
Question: Work out 2046 − 11112 and give the answer in base 10.
- 2046 = 2 × 36 + 0 × 6 + 4 = 76.
- 11112 = 8 + 4 + 2 + 1 = 15.
- 76 − 15 = 61.
Answer: 61.
Common mistakes
- Carrying at 10 in every base. In base 5 you carry when a column reaches 5, and in binary when it reaches 2.
- Borrowing 10 in every base. A borrowed 1 is worth the base: 8 in base 8, 2 in binary.
- Writing a digit that does not exist. A digit 2 or more in a binary answer, or a 5 in a base 5 answer, means you forgot to carry.
- Reading remainders top-down. When converting from base 10, read the remainders from the bottom up.
- Adding numbers in different bases column by column. Convert them to one base first.
Practice questions
Try these yourself first, then open each answer to check your working.
1. Change to binary:
(a) 13
(b) 30
(c) 100.
Show answer
(a) 11012
(b) 111102
(c) 11001002.
2. Change to the base shown:
(a) 50 to base 5
(b) 100 to base 8
(c) 40 to base 3.
Show answer
(a) 2005
(b) 1448
(c) 11113.
3. Work out in binary:
(a) 1012 + 112
(b) 11102 + 10112
(c) 1112 + 1112.
Show answer
(a) 10002
(b) 110012
(c) 11102.
4. Work out in binary:
(a) 11002 − 1012
(b) 100002 − 12
(c) 110112 − 11102.
Show answer
(a) 1112
(b) 11112
(c) 11012.
5. Work out in the base shown:
(a) 345 + 235
(b) 2657 + 1547
(c) 578 + 368.
Show answer
(a) 1125
(b) 4527
(c) 1158.
6. Work out in the base shown:
(a) 425 − 135
(b) 2103 − 1023
(c) 4008 − 1258.
Show answer
(a) 245
(b) 1013
(c) 2538.
7. Work out 1012 + 123 + 214. Give the answer in base 10.
Show answer
5 + 5 + 9 = 19.
8. Work out 1005 − 10102. Give the answer in base 10 and in base 2.
Show answer
25 − 10 = 15 = 11112.
Quick check
1. What is 12 + 12?
Show answer
102.
2. In base 7, when do you carry?
Show answer
When a column reaches 7.
3. What should you do before adding 123 and 124?
Show answer
Convert them to the same base (for example base 10).
Previous: Number Bases: Place Value, Expanded Form, Binary and Converting to Base 10
Next: Algebra Review: Variables, Word Statements and Substituting Integers
Curriculum link: This post is relevant to the Trinidad and Tobago National Lower Secondary (NCSE) Mathematics Curriculum – Form 2, Term 1, Strand 2.1 Number Operations and Number Theory, Topic 2.1.3 Number Bases – Learning Outcomes 2.1.3.6 (adding and subtracting in any base, including binary) and 2.1.3.8 (converting numbers to a single base to calculate).
Updates
2026/10/23
– First version of this lesson.
2026/10/25
– Put each lettered part of the questions and answers on its own line.
© 2026 Vedesh Kungebeharry. All rights reserved.
