Handitab

Binary Calculator

Add, subtract, multiply, divide, or apply AND, OR, and XOR to two binary numbers and see the result in binary, decimal, hex, and octal.

About Binary Calculator

Binary is the base-2 number system, written with only the digits 0 and 1, where each place is worth twice the one to its right. This calculator reads two binary integers of any length, applies the chosen operation with exact big-integer arithmetic, and shows the result in binary, decimal, hexadecimal, and octal. Division is integer division that discards the remainder. A leading minus sign marks a negative number; fractions are not supported.

How to use Binary Calculator

  1. Fill in "First number", "Operation" and "Second number".
  2. The result appears below and updates as you type.
  3. Copy the result with the copy button, or download it as a file where that is offered.

Questions about Binary Calculator

How does binary addition work?

Add column by column from the right, as in decimal, but carry whenever a column reaches 2. 1 + 1 is 10 in binary: write 0 and carry 1. So 1011 + 110 = 10001, which is 11 + 6 = 17.

Runs in your browser. Page last updated .

More math calculators

All 36 math calculators