Skip to content
QuicklyTools

Binary Calculator

Add, subtract, multiply and divide binary numbers, plus AND, OR, XOR and bit shifts, with decimal and hex results.

Runs in your browser
Loading tool…

About the Binary Calculator

Practice computer science homework or debug bitwise logic. Enter two binary numbers and choose an arithmetic or bitwise operation; the result is shown in binary, decimal, hex and octal, with the inputs converted to decimal so you can verify.

How to use it

  1. Enter two binary numbers.
  2. Choose an operation.
  3. Read the result in several bases.

Good to know

  • Division is integer division.
  • Negative values use a minus sign rather than two's complement representation.

Frequently asked questions

What is 1011 + 110?

10001 (11 + 6 = 17).

What does XOR do?

Each result bit is 1 when exactly one of the input bits is 1.

More utilities & converters →