XNOR Calculator

Calculate logical equivalence across two values and inspect exactly which bits match.

Last updated: March 2026 | By Workshelve Team

Logical Equivalence

Bit Match Workspace

A decimal: 204
B decimal: 170
XOR decimal: 102
XNOR decimal: 153
XNOR binary: 1001 1001
XNOR hex: 0x99
BitABXNOR
7111
6100
5010
4001
3111
2100
1010
0001

Truth Rule

XNOR returns 1 when two input bits match and 0 when they are different.

XOR Inverse

The calculator first computes XOR, then flips the result within the selected mask width.

Common Uses

Use XNOR when checking bit equality, equivalence masks, compare operations, and digital logic gates.

XNOR Truth Table

ABResultMeaning001same010different100different111same

Tips

Choose a mask width that matches the system you are debugging. XNOR is especially useful when you need the matching bits to light up as 1.

Related Tools