The Binary Numbering System is the most fundamental numbering system in mathematics as well as in all digital and computer based systems. Binary numbers follow the same set of rules as the decimal numbering system.

The Binary Numbering System contains only 0s and 1s. A binary number such as 101100101 is expressed with a string of 0s and 1s with each digit having a value twice that of the previous digit.

While, writing the binary numbers you need to signify the number is binary (base 2), for instance: let’s take the value 101. As it is written, it would be hard to know to work out whether it is a binary or decimal value.

The weight of each binary bit rely on its relative position within the number. The binary formula to convert decimal to binary is given below:

**Binary to Decimal Formula**

To convert binary to decimal the following chart is used and binary is noted as per the given decimal number.

Converting binary to decimal number or decimal to binary number is an easy task. But, you need to be careful that not mix up the two sets of numbers. For instance, if you write the digits 10 on the page it could mean the number “ten” if we assume it to be a decimal number, or it could equally be a “1” and a “0” together in binary, which is equal to the number two in the weighted decimal format from above table.

So, for instance, if you use a binary number string it should add the subscript “2” to denote a base 2 number so the binary number would be written as 10<sub>2</sub>. Likewise, if it was a standard decimal number it would add the subscript “10” to denote a base 10 and written as 10<sub>10</sub>.

**Binary Numbers Addition basic rules
**0 + 0 = 0

0 + 1 = 1

1 + 0 = 1

1 + 1 = 0 (CARRY 1)

1 + 1 + 1 = 11 (CARRY 1)

**Binary Numbers Subtraction**

0 – 0 = 0

0 – 1 = (Take carry 1 from left)

1 – 0 = 1

1 – 1 = 0

**Binary Examples
**Here are some examples of adding and subtracting binary numbers.

**Example 1**

Add the following binary numbers: 11100<sub>2</sub> and 10110<sub>2</sub>.

Given binary numbers are: 11100 and 10110

11100

+ 10110

———–

110010

———–

**Question 2:**Subtract (10001)

_{2}from (11101)

_{2}

**Solution:**

11101

-10001

———-

01100

———-