Binary Calculator

Digits 0 and 1 only.
Digits 0 and 1 only.

Add, subtract, multiply, or divide two binary numbers and see the result in binary, decimal, and hexadecimal. Enter each value using only 0s and 1s, choose an operation, and the calculator converts to decimal, performs the operation, and converts the answer back — handy for learning base-2 arithmetic and digital logic.

Formula

Each binary number is converted to decimal, the chosen operation is applied, and the result is converted back to binary, decimal and hexadecimal.
  • Each binary input is converted to decimal, the chosen operation is performed, and the result is shown in binary, decimal and hexadecimal.
  • Enter values using only the digits 0 and 1.
  • Division is integer division; if there's a remainder, it's shown in binary alongside the quotient.
  • Subtraction that would give a negative result isn't shown in binary, since this tool displays non-negative binary output.
  • Binary (base 2) is the number system computers use internally; each digit is a bit.

1010 + 11 in binary

Inputs
  • First binary number: 1010
  • Operation: +
  • Second binary number: 11

1010 is 10 in decimal and 11 is 3. Their sum is 13, which is 1101 in binary and 0xD in hexadecimal.

Frequently asked questions

What is a binary calculator?
It performs arithmetic on base-2 numbers. You enter binary values, and it returns the result in binary, decimal, and hexadecimal.
How does binary addition work?
It follows the same place-value rules as decimal, but in base 2: 1 + 1 = 10 (carry a 1). This tool handles the carrying for you.
Why is the result also shown in decimal and hex?
Seeing the same value in binary, decimal, and hexadecimal makes it easier to check your work and is useful in programming and digital electronics.
What happens with division?
Division is integer division — it gives a whole-number quotient, and any remainder is shown separately in binary.

Related calculators