Computer Fundamental
Computer Tutorial

Binary Arithmetic



Binary Arithmetic

The arithmetic operations—addition, subtraction, multiplication and division, performed on the binary numbers is called binary arithmetic. In computer, the basic arithmetic operations performed on the binary numbers is—
 • Binary addition
 • Binary subtraction

1. Binary Addition

Binary addition involves addition of two or more binary numbers. The binary addition rules are used while performing the binary addition.

Binary Addition Rules

Binary Addition Rules

Addition of the binary numbers involves the following steps—

1. Start addition by adding the bits in unit column (the right-most column). Use the rules of binary addition.
2. The result of adding bits of a column is a sum with or without a carry.
3. Write the sum in the result of that column.
4. If a carry is present, the carry is carried-over to the addition of the next left column.
5. Repeat steps 2–4 for each column, i.e., the tens column, hundreds column and so on.

Add 10 and 01.

Binary Addition

Binary Addition

Binary Subtraction

Binary subtraction involves subtracting of two binary numbers. The binary subtraction rules are used while performing the binary subtraction.

Binary Subtraction Rule

Binary Subtraction Rule

The steps for performing subtraction of the binary numbers are as follows —

1. Start subtraction by subtracting the bit in the lower row from the upper row, in the unit column.
2. Use the binary subtraction rules. If the bit in the upper row is less than lower row, borrow 1 from the upper row of the next column (on the left side). The result of subtracting two bits is the difference.
3. Write the difference in the result of that column.
4. Repeat steps 2 and 3 for each column, i.e., the tens column, hundreds column and so on.

Subtract 01 from 11.

Binary Subtraction