How to Add Binary Numbers Step by Step
Adding binary numbers is a fundamental skill in computing and digital electronics. Once you understand the simple rules, binary addition is very similar to decimal addition—except you only have two digits: 0 and 1. Follow this step-by-step guide to master binary addition by hand.
You'll Need:
- Paper and pencil (or any note-taking tool)
- Two binary numbers to add
- Basic understanding of binary digits (bits)
- Familiarity with decimal addition (helps but not required)
Step-by-Step Process
- Align the numbers to the right. Write the two binary numbers one above the other, aligning them by their least significant bit (rightmost digit). If one number is shorter, pad it with leading zeros on the left. This ensures each column lines up.
- Start from the rightmost column. Binary addition works column by column, just like decimal addition. Begin with the column that has the least place value (the ones place).
- Apply the four basic binary addition rules:
- 0 + 0 = 0
- 0 + 1 = 1
- 1 + 0 = 1
- 1 + 1 = 0 (with a carry of 1 to the next column)
- Write the sum bit and carry. For the current column, add the two bits (and any incoming carry from the previous column). The result gives a sum bit (the digit to write at the bottom of that column) and possibly a carry bit to the next column. For example, 1 + 1 + 1 (with a carry) = 1 (sum) and carry 1.
- Move one column to the left. Repeat steps 3 and 4 for each column, moving from right to left. Don't forget to include any carry from the previous step.
- Handle the final carry. After processing the leftmost column, if there is a remaining carry, write it as the new leftmost digit of the result.
- Check your result. Convert both binary numbers and the result to decimal to verify correctness. For example, 1010 (10) + 0110 (6) should equal 10000 (16).
If you'd like a concise reference for the rules, see our Binary Addition Rules and Formula Reference. For a broader understanding of binary arithmetic, check out What is Binary Arithmetic? A Complete Guide.
Worked Examples
Example 1: Adding 1010 and 0110
Let's add 1010 (decimal 10) and 0110 (decimal 6).
1010 + 0110 -------
Align them (they are already same length; if not, pad with zeros). Start from the rightmost column:
- Column 1 (rightmost): 0 + 0 = 0 (no carry)
- Column 2: 1 + 1 = 0, carry 1
- Column 3: 0 + 1 + carry 1 = 0, carry 1
- Column 4: 1 + 0 + carry 1 = 0, carry 1
- Final carry: write 1 as the leftmost digit
Result: 10000 (decimal 16). So 1010 + 0110 = 10000.
Example 2: Adding 1101 and 1011
Now add 1101 (13) and 1011 (11).
1101 + 1011 -------
Proceed column by column:
- Column 1: 1 + 1 = 0, carry 1
- Column 2: 0 + 1 + carry 1 = 0, carry 1
- Column 3: 1 + 0 + carry 1 = 0, carry 1
- Column 4: 1 + 1 + carry 1 = 1, carry 1
- Final carry: write 1
Result: 11000 (24). Check: 13 + 11 = 24. Correct.
Common Pitfalls When Adding Binary Numbers
- Forgetting carries. The most frequent mistake is to ignore a carry or not add it to the next column. Always track carries carefully.
- Misalignment. If numbers are different lengths, pad the shorter one with leading zeros. Failing to do so leads to wrong sums.
- Confusing binary with decimal. Remember that in binary, 1 + 1 equals 10 (not 2). Practice until the rules become second nature.
- Overflow. If the result has more bits than the operands (e.g., adding two 4-bit numbers yielding a 5-bit result), you may need to handle overflow depending on the context. For more on this, see Binary Number Range and Overflow Explained.
- Not checking the result. Always verify by converting to decimal or using a calculator. A simple mental check can catch errors.
For more advanced applications and bitwise operations, read Binary Arithmetic for Programmers: Bitwise & More. If you have further questions, our Binary Arithmetic FAQ covers common issues.
Try the free Binary Calculator ⬆
Get your Binary arithmetic and bitwise operations for computing and programming. result instantly — no signup, no clutter.
Open the Binary Calculator