Skip to content
AllCalcHub

Binary Calculator

Add, subtract, multiply and divide binary numbers, with the decimal equivalents shown.

About the Binary Calculator

Enter two binary numbers and an operation. The calculator gives the result in binary, decimal and hexadecimal.

Binary arithmetic follows the same rules as decimal, but carries happen at 2 instead of 10: 1 + 1 = 10. Computers do all arithmetic this way. Division gives a whole-number quotient and remainder.

The formula

0 + 0 = 0, 0 + 1 = 1, 1 + 1 = 10 (carry 1)

Worked example

101101 + 1101

  1. 45 + 13 = 58
  2. 58 = 111010

Questions people ask

How are negative results shown?

With a minus sign. Computers often store negatives as two's complement instead, which depends on the number of bits.

Can I enter lower-case letters?

Yes; input isn't case-sensitive.

How do I convert binary to decimal?

Add the place values of each 1: 101101 = 32 + 8 + 4 + 1 = 45.