Binary Calculator
Please type in both first two input fields and the value will change on the other fields!
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.
Decimal | Binary | Octal | Hexadecimal |
---|
1 | 1 | 1 | 1 |
2 | 10 | 2 | 2 |
3 | 11 | 3 | 3 |
4 | 100 | 4 | 4 |
5 | 101 | 5 | 5 |
6 | 110 | 6 | 6 |
7 | 111 | 7 | 7 |
8 | 1000 | 10 | 8 |
9 | 1001 | 11 | 9 |
10 | 1010 | 12 | a |
11 | 1011 | 13 | b |
12 | 1100 | 14 | c |
13 | 1101 | 15 | d |
14 | 1110 | 16 | e |
15 | 1111 | 17 | f |
16 | 10000 | 20 | 10 |
17 | 10001 | 21 | 11 |
18 | 10010 | 22 | 12 |
19 | 10011 | 23 | 13 |
20 | 10100 | 24 | 14 |
21 | 10101 | 25 | 15 |
22 | 10110 | 26 | 16 |
23 | 10111 | 27 | 17 |
24 | 11000 | 30 | 18 |
25 | 11001 | 31 | 19 |
26 | 11010 | 32 | 1a |
27 | 11011 | 33 | 1b |
28 | 11100 | 34 | 1c |
29 | 11101 | 35 | 1d |
30 | 11110 | 36 | 1e |
31 | 11111 | 37 | 1f |
32 | 100000 | 40 | 20 |
33 | 100001 | 41 | 21 |
34 | 100010 | 42 | 22 |
35 | 100011 | 43 | 23 |
36 | 100100 | 44 | 24 |
37 | 100101 | 45 | 25 |
38 | 100110 | 46 | 26 |
39 | 100111 | 47 | 27 |
40 | 101000 | 50 | 28 |
41 | 101001 | 51 | 29 |
42 | 101010 | 52 | 2a |
43 | 101011 | 53 | 2b |
44 | 101100 | 54 | 2c |
45 | 101101 | 55 | 2d |
46 | 101110 | 56 | 2e |
47 | 101111 | 57 | 2f |
48 | 110000 | 60 | 30 |
49 | 110001 | 61 | 31 |
50 | 110010 | 62 | 32 |
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.
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:Second Rightmost Column: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.