💻 Binary Calculator
Binary is the language of computers: every number is a string of 0s and 1s, where each position is worth twice the one to its right. This calculator does the base-2 arithmetic for you and translates the answer back to decimal.
Type two binary numbers using only 0 and 1, pick the operation, and you get the result in both binary and decimal — handy for checking homework or debugging bit math.
How to use this calculator
Type two binary numbers using only 0s and 1s, pick add, subtract or multiply, and press Calculate.
- Type the first binary number into the First binary number field, using only the digits 0 and 1.
- Choose the Operation: add, subtract or multiply.
- Type the second binary number into the Second binary number field.
- Press Calculate and read the answer in binary, with the decimal equivalent shown underneath.
Frequently asked questions
What does this binary calculator compute?
It adds, subtracts and multiplies binary numbers, the base-2 system computers use. Every answer appears in binary and in decimal, so you can check your work in the system you understand best.
What counts as a valid binary number?
Only the digits 0 and 1, with no spaces, letters or decimal points. Each position from the right is worth double the previous one, so 1010 equals 8 + 2, which is 10 in decimal.
Can you show a worked example?
Add 1010 and 0110. In decimal that is 10 + 6 = 16, and 16 in binary is 10000, which is exactly what the calculator shows.
What happens if I subtract a larger number from a smaller one?
You get a negative result, shown with a minus sign in both binary and decimal, for example 101 minus 111 gives -10 in binary, which is -2 in decimal.