Add, subtract, multiply, divide, or run bitwise AND, OR, and XOR on two binary numbers.
How to Use the Binary Calculator
Enter two binary numbers (0s and 1s only), then choose an operation — the decimal equivalent of each input updates live underneath it, and the result comes back in both binary and decimal.
Add, subtract, multiply, and divide work on binary numbers exactly the way they work in decimal — same operations, same relationships, just base 2 in place of base 10. AND, OR, and XOR are a different animal entirely, and they're the real reason a dedicated binary calculator earns its own page instead of just being a base converter.
Take the calculator's own defaults, 1010 and 0110, lined up bit by bit:
1 0 1 0 (10 in decimal)
0 1 1 0 (6 in decimal)
---------
AND 0 0 1 0 → 2 (both bits must be 1)
OR 1 1 1 0 → 14 (either bit is 1)
XOR 1 1 0 0 → 12 (bits differ)
Each column is judged entirely on its own — the leftmost bits (1 and 0) don't know or care what the rightmost bits (0 and 0) are doing. AND keeps a 1 only where both inputs have a 1. OR keeps a 1 wherever either input does. XOR keeps a 1 only where the two bits disagree, which is why it shows up behind toggle switches and simple encryption schemes: XOR something twice with the same key and you land back exactly where you started.
None of this has a decimal equivalent. Base-10 arithmetic has no concept of a "bit position," so there's nothing for AND, OR, or XOR to act on outside of binary — this is the one place base 2 does something a decimal calculator structurally can't.