Binary Calculator

Please type in both first two input fields and the value will change on the other fields!

First Binary

Second Binary

Additon Ouput

000000

Subtraction Ouput

000000

Multiplication Ouput

000000

Division Ouput

000000

Our Binary Calculator is mainly created for mathematical activities, like addition, subtraction, multiplication, and division, using binary numbers instead of decimal numbers.Binary always uses two numbers, 0 and 1, and is basic in digital electronics and computer science.

DecimalBinary OctalHexadecimal
1111
21022
31133
410044
510155
611066
711177
81000108
91001119
10101012a
11101113b
12110014c
13110115d
14111016e
15111117f
16100002010
17100012111
18100102212
19100112313
20101002414
21101012515
22101102616
23101112717
24110003018
25110013119
2611010321a
2711011331b
2811100341c
2911101351d
3011110361e
3111111371f
321000004020
331000014121
341000104222
351000114323
361001004424
371001014525
381001104626
391001114727
401010005028
411010015129
42101010522a
43101011532b
44101100542c
45101101552d
46101110562e
47101111572f
481100006030
491100016131
501100106232

How to Perform Binary Addition:

1. Write down the two binary numbers you want to add.Align them so that the rightmost digits (the least significant bits) are in the same column.
2. Move to the left and Start from the rightmost column.
3. Add the digits in the current column (from both numbers) along with any carry from the previous column, if applicable.
4. Write down the sum in the result, and if the sum is 2 or greater, carry over the extra 1 to the next column on the left.
5. Repeat step 2 for each column, moving from right to left, until you have added all the columns.
6. After adding all the columns, check if there's an extra carry in the leftmost column. Then If so, add it to the result.

1101
+1011
------
11000

move to the left and then,Start from the rightmost column.

then Subtract an number in the 2nd number from the digit in the 1st number in the recent column.

If the digit in 1st number is smaller than the digit in the 2nd number, borrow 1 from the next top column(if available)and add it to the digit in the first number.

Write down the result in the result column.

Rightmost Column:
1
-1
---
0
Second Rightmost Column:
1
-1
---

In this case, we need to borrow 1 from the next higher column.

Borrowing 1:
1
-1
-------------
(borrowed) 1
Subtracting the Second Rightmost Column:
(borrowed) 1
0
1
-------------
1
Third Rightmost Column:
(borrowed) 1
1
-0
-------------
1

If you last up with a negatory result (e.g., trying to subtract 1 from 0), you can indicate it in the result.