Skip to content
KmapGen

Boolean Equivalence Checker

Enter two Boolean expressions to find out whether they are logically equivalent. If they are not, you get every input row where they disagree.

Examples:

Equivalent ✓

Both expressions give the same output on all 4 rows.

Expression 1: (A + B)'
Expression 2: A'B'

#ABExpr 1Expr 2
00011
10100
21000
31100

Equivalences worth knowing

NameEquivalence
De Morgan(A + B)′ = A′B′ and (AB)′ = A′ + B′
AbsorptionA + AB = A and A(A + B) = A
SimplificationA + A′B = A + B
ConsensusAB + A′C + BC = AB + A′C
ImplicationA → B = A′ + B = B′ → A′
XORA ⊕ B = AB′ + A′B = (A + B)(AB)′
XNORA ⊙ B = AB + A′B′ = (A ⊕ B)′

The checker compares truth tables, so it also works for expressions written in different notations: !(a & b) and a' + b' are recognized as equivalent.

Frequently asked questions

How do you check if two Boolean expressions are equivalent?

Two expressions are logically equivalent when they produce the same output for every combination of their inputs. Build the truth table over all variables that appear in either expression and compare the two output columns row by row. If they agree everywhere, the expressions are equivalent; any row where they disagree is a counterexample.

What if the two expressions use different variables?

The table is built over the union of the variables. An expression that does not mention a variable simply ignores it. For example, A + AB and A are equivalent even though B appears in only one of them.

Is an implication equivalent to its converse or its contrapositive?

A → B is equivalent to its contrapositive ¬B → ¬A, but not to its converse B → A (they differ when A and B have different values). Use the example buttons above to see the counterexample rows.

Can I prove equivalence with algebra instead?

Yes: transform one expression into the other using the laws of Boolean algebra, or simplify both to the same minimal form. The simplifier shows each law it applies. A truth table is the most reliable check because it does not depend on finding the right sequence of steps.