XOR Calculator

XOR Calculator

Calculate the bitwise exclusive OR of two values.

Last updated: June 2026 | By Patchwork Team

Enter two valid values.
XOR result
Enter values to calculate

What Is XOR?

XOR returns a 1 only when the input bits are different.

How To Calculate XOR

  1. Enter the two values.
  2. Choose decimal or binary mode.
  3. Read the XOR result in both formats.

Frequently Asked Questions

Can I use binary inputs?

Yes. Switch to binary mode and enter binary strings.

What does XOR mean?

Exclusive OR returns true when the inputs differ.

Related Tools