Binary Addition Calculator

Add binary numbers with step-by-step solutions and carry bit visualization

Calculate Binary Addition

Maximum decimal value: 255

Addition Results

Enter two binary numbers to see the addition result
Use only digits 0 and 1 (e.g., 1011, 1101)

Binary Addition Rules

0 + 0 = 0
0 + 0 = 0
0 + 1 = 1
0 + 1 = 1
1 + 0 = 1
1 + 0 = 1
1 + 1 = 0 (carry 1)
1 + 1 = 10 (0 with carry 1)

When sum ≥ 2, write the remainder and carry 1 to the next column

Quick Examples

Simple Addition

101
+ 011
-----
1000

5 + 3 = 8 in decimal

With Carry

1011
+ 1101
------
11000

11 + 13 = 24 in decimal

Binary System

Base 2 System

Uses only digits 0 and 1

Place Values

Powers of 2: ...16, 8, 4, 2, 1

Computer Language

All computer data is stored in binary

Overflow Detection

What is Overflow?

Occurs when the result exceeds the maximum value that can be represented in the specified number of bits.

Detection Method

Check if there's a final carry bit or if the result exceeds 2^n - 1 (where n is the bit width).

Understanding Binary Addition

What is Binary Addition?

Binary addition is the process of adding numbers in the binary (base-2) number system. It works similarly to decimal addition, but uses only two digits (0 and 1) and follows specific rules for carrying over when the sum exceeds 1.

The Binary System

In the binary system, each digit position represents a power of 2, starting from 2⁰ = 1 on the right. For example, 1011₂ = 1×2³ + 0×2² + 1×2¹ + 1×2⁰ = 8 + 0 + 2 + 1 = 11₁₀.

Addition Process

  • Align numbers by their rightmost digits
  • Add column by column from right to left
  • Apply binary addition rules for each column
  • Carry over when necessary (when sum ≥ 2)

Real-World Applications

Computer Arithmetic

All arithmetic operations in computers are performed using binary addition, including subtraction (via two's complement), multiplication, and division.

Digital Circuits

Binary adders are fundamental components in processors, calculators, and digital systems for performing mathematical operations.

Error Detection

Binary addition is used in parity checking, checksums, and other error detection and correction techniques in data transmission.

Learning Benefits

Understanding binary addition helps grasp how computers process numbers and is essential for computer science, digital electronics, and programming.