Binary Number System Solved Examples

Last Updated : 16 Jul, 2026

The binary number system is a number system that uses only two digits: 0 and 1. It is also called the base-2 number system.

Example 1: Convert the Decimal Number (98)10 into Binary.
Solution:Ā 

Convert Decimal Number (98) into Binary

Thus, Binary Number for (98)10 is equal to (1100010)2

Example 2: Convert the Binary Number (1010101)2 to a decimal Number.
Solution:Ā 

Given Binary Number, (1010101)2

= (1 Ɨ 20) + (0 Ɨ 21) + (1 Ɨ 22) + (0 Ɨ 23) + (1 Ɨ 24) + (0 Ɨ 25) + (1 Ɨ26)
= 1 + 0 + 4 + 0 + 16 + 0 + 64
= (85)10

Thus, Binary Number (1010101)2 is equal to (85)10 in decimal system.

Example 3: Divide (11110)2 by (101)2.
Solution:

Divide binary numbers (11110) by (101)

Example 4: Add (11011)2 and (10100)2.
Solution:

Add binary numbers (11011) and (10100)

Hence, (11011)2 + (10100)2 = Ā (101111)2

Example 5: Subtract (11010)2 and (10110)2.
Solution:Ā 

Subtract binar numbers (11010) and (10110)

Hence, (11010)2 - (10110)2 = (00100)2

Example 6: Multiply (1110)2 and (1001)2.
Solution:Ā 

Multiply binary numbers (1110) and (1001)

Thus, (1110)2 Ɨ (1001)2 = (1111110)2

Example 7: Convert (28)10 into a binary number.

Solution:

Convert (28) into a binary number.

Hence, (28)10 is expressed as (11100)2.

Example 8: Convert (10011)2 to a decimal number.
Solution:

The given binary number is (10011)2.

(10011)2 = (1 Ɨ 24) + (0 Ɨ 23) + (0 Ɨ 22) + (1 Ɨ 21) + (1 Ɨ 20)

= 16 + 0 + 0 + 2 + 1 = (19)10

Hence, the binary number (10011)2 is expressed as (19)10.

Practice Problems

Question 1. Convert the decimal number (98)₁₀ into binary.
Question 2. Divide the binary number (11110)ā‚‚ by (101)ā‚‚
Question 3. Find the 2's complement of the binary number (1011)ā‚‚.
Question 4. Multiply the binary numbers (1110)ā‚‚ and (1001)ā‚‚.
Question 5. Subtract the binary numbers (11010)ā‚‚ and (10110)ā‚‚.
Question 6. Add the binary numbers (11011)ā‚‚ and (10100)ā‚‚.

Answer:-

1. (1100010)2​, 2. (110)2​, 3. (0101)2, 4. (1111110)2, 5. (00100)2​​, 6. (101111)2

Comment

Explore