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.
Equivalent ✓
Both expressions give the same output on all 4 rows.
Expression 1: (A + B)'
Expression 2: A'B'
| # | A | B | Expr 1 | Expr 2 |
|---|---|---|---|---|
| 0 | 0 | 0 | 1 | 1 |
| 1 | 0 | 1 | 0 | 0 |
| 2 | 1 | 0 | 0 | 0 |
| 3 | 1 | 1 | 0 | 0 |
Equivalences worth knowing
| Name | Equivalence |
|---|---|
| De Morgan | (A + B)′ = A′B′ and (AB)′ = A′ + B′ |
| Absorption | A + AB = A and A(A + B) = A |
| Simplification | A + A′B = A + B |
| Consensus | AB + A′C + BC = AB + A′C |
| Implication | A → B = A′ + B = B′ → A′ |
| XOR | A ⊕ B = AB′ + A′B = (A + B)(AB)′ |
| XNOR | A ⊙ 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.
Related tools and guides
- Boolean simplifier Simplify a Boolean expression step by step: De Morgan, distributive, absorption, consensus and more, ending on a proven minimal SOP, plus the minimal POS.
- Truth table generator Generate the truth table of any Boolean expression (AND, OR, NOT, XOR, NAND, NOR, →, ↔) with step columns, minterms, SOP/POS and CSV or LaTeX export.
- Boolean algebra laws Every Boolean algebra law in one table (identity, complement, De Morgan, absorption, consensus…) with dual forms, truth-table proofs and examples.
- K-map solver Free K-map solver for 2 to 6 variables: enter cells, minterms, a truth table or an expression, add don't-cares, and get every minimal SOP and POS with steps.