Calculate XOR
Input Summary
First Value (binary):
1010
Second Value (binary):
1100
XOR Truth Table
Reference table showing all possible XOR operations between two binary inputs
| A | B | A ⊕ B |
|---|---|---|
| 0 | 0 | 0 |
| 0 | 1 | 1 |
| 1 | 0 | 1 |
| 1 | 1 | 0 |
How XOR Works
Learn the fundamentals of XOR operations and how they work with different number formats
1Understanding XOR Logic
XOR (Exclusive OR) is a logical operation that outputs 1 only when exactly one input is 1. If both inputs are the same (both 0 or both 1), the output is 0.
This makes XOR perfect for detecting differences between binary values.
2Bit-by-Bit Operation
XOR operates on each bit position independently. For each position, compare the corresponding bits from both inputs and apply the XOR rule.
If the bits are different (0 and 1), the result is 1. If they're the same (both 0 or both 1), the result is 0.
3Number Format Conversion
Our calculator automatically converts between binary, decimal, and hexadecimal formats. All XOR operations are performed on the binary representation.
This allows you to work with numbers in your preferred format while seeing the underlying binary logic.
XOR Calculator FAQ
Related Calculators
Discover more calculators that might be helpful for your calculations
Modulo Calculator
Calculate the remainder when one number is divided by another. Essential for programming, cryptography, number theory, and mathematical operations with support for negative numbers.
Auto Loan Calculator
Calculate auto loan payments, interest, and total costs. Plan your car purchase with our comprehensive auto loan calculator including down payment, trade-in value, and payoff date.
Boat Loan Calculator
Calculate boat loan payments, interest rates, and financing options. Plan your boat purchase with our comprehensive boat loan calculator including down payment and loan terms.