#### A PHP Error was encountered

Severity: Warning

Message: count(): Parameter must be an array or an object that implements Countable

Filename: controllers/calculator.php

Line Number: 37

Binary Calculator - Online Calculator - Tutorpace

# Binary Calculator

## Online Tutoring Is The Easiest, Most Cost-Effective Way For Students To Get The Help They Need Whenever They Need It.

Binary number system is a numerical system where all the numbers are represented only by 1 or 0. The binary

system is also called as the base-2 number system. We can add or subtract, multiply or divide binary numbers as

well and Binary calculator is the easy and fun tool useful in carrying out these numerical operations on binary

numbers.

Example 1: Add the given two binary numbers, 11101 and 1010.

Binary addition is similar to the addition we use in our usual decimal system, except that we only include ‘1’ and ‘0’s in our answer

Rules: 0 + 0 = 0

1 + 0 = 1

1 + 1 = 10

1 + 1 + 1 = 11

Using the above rules to add, we have 11101

(When we have 1 + 1, we carry the ‘1’ up for the next number)                         +   1010

100111

Example 2: Subtract the given binary numbers, 10001 and 100.

Binary subtraction is similar to the subtraction we use in our usual decimal system, except that we only include ‘1’ and ‘0’s in

Rules: 0 – 0 = 0

1 – 1 = 0

1 – 0 = 1

10 – 1 = 1

Using the above rules to add, we have 10001

(When we have 0 - 1, we borrow the ‘1’ up for the  next number)                                     - 100

1101