Ad Space
Math Calculators

XOR Calculator (Bitwise)

Perform a bitwise XOR (exclusive OR) operation on two integers and see the binary result.

A XOR B (decimal)
A in binary
B in binary
Result in binary
Ad Space — 300×250

About the XOR Calculator (Bitwise)

The bitwise XOR (exclusive OR) operation compares two numbers bit by bit: each resulting bit is 1 only when the corresponding input bits differ.

Formula: result bit = 1 if exactly one input bit is 1, else 0

XOR is used to toggle bits, detect differences between values, and in simple encryption schemes, since applying the same XOR twice recovers the original value.

Ad Space