Binary Calculator

Binary numbers use only 0 and 1. This calculator does arithmetic and bitwise operations on them and shows the answer in binary, decimal and hexadecimal.

Results update as you type.

Result (binary)

1 0001

Result in decimal
17
Inputs in decimal
11 + 6
Result in hex
11

About this calculator

Very long numbers are handled exactly.

How to use it

  1. Enter the first binary number.
  2. Choose the operation.
  3. Enter the second number.

The formula

Each binary digit is worth 2 raised to its position from the right
AND, OR, XOR
bitwise operations

Worked example

1011 + 110

  1. 1011 is 11 and 110 is 6.
  2. 11 + 6 = 17 = 10001 in binary.

What the result means

Division gives the whole-number quotient and the remainder.

Assumptions

  • Non-negative inputs for bitwise operations.

Limitations

  • Two’s complement is not shown.

Frequently asked questions

How do I add binary numbers?

Add column by column; 1 + 1 = 10, so write 0 and carry 1.

What is 1011 in decimal?

11.

What does XOR do?

Gives 1 where the bits differ.

Last reviewed on 3 October 2026. Found a mistake? Tell us.