How Binary Addition Works Compared to Decimal

This article explores how binary addition functions in comparison to everyday decimal addition. While both systems rely on positional notation and the concept of carrying values to higher-value columns, they operate on different numerical bases. By understanding the core rules of base-2 arithmetic alongside the familiar base-10 system, you will see how computers perform fundamental calculations using only zeros and ones.

The Decimal System (Base-10) Basics

The decimal system is built on a base of 10, utilizing ten distinct digits: 0 through 9. Each position in a decimal number represents an increasing power of 10 (units, tens, hundreds, thousands).

When adding numbers in decimal: 1. You add digits in the same place-value column starting from the right. 2. If the sum of a column is between 0 and 9, you write the result below that column. 3. If the sum reaches 10 or greater, you write down the units digit and “carry” the tens digit over to the next column on the left.

For example, in \(7 + 5 = 12\), the sum exceeds 9, so you write down 2 and carry 1 to the tens place.

The Binary System (Base-2) Rules

The binary system operates on a base of 2, using only two digits: 0 and 1. Each position in a binary number represents an increasing power of 2 (1s, 2s, 4s, 8s, 16s, and so on).

Because there are only two digits, binary addition follows four simple rules:

When including a carried-in 1: * 1 + 1 + 1 = 11 (Write down 1, carry 1 to the next column)

In binary, the number \(2\) is represented as 10 (one 2 and zero 1s), and the number \(3\) is represented as 11 (one 2 and one 1).

Side-by-Side Comparison: An Example

Consider adding the decimal numbers 5 and 3, which equals 8.

In binary: * 5 in decimal is 101 (\(1\times4 + 0\times2 + 1\times1\)) * 3 in decimal is 011 (\(0\times4 + 1\times2 + 1\times1\))

Carrying out the column addition from right to left:

  Carry:  1 1 1
          0 1 0 1  (5 in decimal)
        + 0 0 1 1  (3 in decimal)
        ---------
          1 0 0 0  (8 in decimal)
  1. Rightmost column (1s place): \(1 + 1 = 0\), carry \(1\).
  2. Middle column (2s place): \(0 + 1 + 1 \text{ (carry)} = 0\), carry \(1\).
  3. Third column (4s place): \(1 + 0 + 1 \text{ (carry)} = 0\), carry \(1\).
  4. Fourth column (8s place): \(0 + 0 + 1 \text{ (carry)} = 1\).

The result is 1000 in binary, which corresponds to \(1\times8 + 0\times4 + 0\times2 + 0\times1 = 8\) in decimal.

Key Differences