Turn any Boolean expression into a full truth table with step columns, minterms and canonical SOP/POS, and check whether two expressions are equivalent.
A truth table is the honest way to check a piece of logic: every combination of inputs, one row each, nothing assumed. Writing one out by hand stops being fun at three variables and becomes error-prone at four. Type the expression here and every row appears at once.
It reads the notation you already use, whether that is a textbook'sA AND NOT B, a programmer's !a && b or a digital-electronics A'B + AB'. Alongside the table you get the minterms and maxterms, the canonical sum-of-products and product-of-sums forms, and a verdict on whether the expression is always true, never true or somewhere in between.
The page opens on (A AND B) OR (NOT A AND C), the logic of a 2-to-1 multiplexer: when A is 1 the output follows B, and when A is 0 it follows C. The tool reads it back as A ∧ B ∨ ¬A ∧ C and finds it true on 4 of the 8 rows, which gives mintermsΣm(1, 3, 6, 7), maxterms ΠM(0, 2, 4, 5) and the canonical form A'B'C + A'BC + ABC' + ABC.
Tick Show step columns to add a column for each piece of the expression (A ∧ B, ¬A, ¬A ∧ C), which is the part teachers ask students to show. T / F switches the table from 1 and 0, and Copy Table (CSV) pastes straight into a spreadsheet.
NOT, !, ~, ¬ or a trailing apostrophe, so (AB)' is NOT (A AND B).AND, &&, &, *, ·, ∧, or simply writing two terms side by side: AB and (A + B)(A + C) both work.OR, ||, +, ∨. XOR: ^ or ⊕. Also NAND, NOR, implication -> and biconditional <->.A -> B -> C means A → (B → C).Fill in Compare with and both expressions are evaluated over the combined set of variables. If every row agrees, they are logically equivalent, which is how De Morgan's law or the distributive law in the samples are confirmed. If not, the first row where they disagree is highlighted in red and spelled out: forA -> B against its converse B -> A, row 1 (A=0, B=1) gives 1 and 0.
Tables go up to 8 variables, which is 256 rows. The written-out SOP and POS forms appear up to 5 variables, where they are still short enough to read; the minterm and maxterm lists cover every size. At most 12 step columns are shown, the outermost ones. Simplifying an expression to its smallest form is a separate job for a Karnaugh map.
AND && ∧ · or adjacency (AB) · OR || + ∨ · NOT ! ~ ¬ or a trailing ' · XOR ^ ⊕ · NAND · NOR · -> · <-> · 0 1. Variables are single letters.
Read as
A ∧ B ∨ ¬A ∧ C
True on 4 of 8 rows.
| # | A | B | C | A ∧ B ∨ ¬A ∧ C |
|---|---|---|---|---|
| 0 | 0 | 0 | 0 | 0 |
| 1 | 0 | 0 | 1 | 1 |
| 2 | 0 | 1 | 0 | 0 |
| 3 | 0 | 1 | 1 | 1 |
| 4 | 1 | 0 | 0 | 0 |
| 5 | 1 | 0 | 1 | 0 |
| 6 | 1 | 1 | 0 | 1 |
| 7 | 1 | 1 | 1 | 1 |
Canonical forms
Minterms
Σm(1, 3, 6, 7)
Maxterms
ΠM(0, 2, 4, 5)
Sum of products
A'B'C + A'BC + ABC' + ABC
Product of sums
(A + B + C)(A + B' + C)(A' + B + C)(A' + B + C')