You can earn with this skill
Open an expert page: services, schedule, and client bookings. One form, about ten minutes.
No experts in this category yet — you could be the first.
Pages opened before February 28, 2027 get the “Founding expert” badge.
This online tool builds the truth table of a logic expression with an intermediate column for every operation, in the order they are evaluated. It reads mathematical notation (¬ ∧ ∨ → ≡), programming (! && ||), engineering (A'B + AB') and words (AND, OR, NOT), shows how the expression was parsed, and derives the full and minimal DNF and CNF, a Karnaugh map, the Zhegalkin polynomial and a logic gate diagram from the table.
Type the expression — for example, (A → B) ∧ ¬C — or tap an example. The symbol keys below the field help on a phone.
The table appears right away, with a numbered column for each operation. Check the "Read as" line to see how brackets were placed.
Switch tabs for the normal forms, the Karnaugh map, the Zhegalkin polynomial or the circuit; copy the table into Excel or save it as PDF.
You can earn with this skill
Open an expert page: services, schedule, and client bookings. One form, about ten minutes.
No experts in this category yet — you could be the first.
Pages opened before February 28, 2027 get the “Founding expert” badge.
AI Course for Beginners
Learn to give artificial intelligence clear tasks and check its answers
Trending right now
A string of 0 and 1 in the order 000…0 → 111…1; a dash marks a don't-care row. You can also click the cells of the F column or of the Karnaugh map.
Type the expression above and fill in the table fragment: the columns are unlabeled, click a cell to switch it between empty, 0 and 1. The F column is given.
Column order can also be fixed in the expression itself: F(z, y, x) = …. A variable listed there but absent from the expression becomes a dummy one.
Type an expression or pick an example — the table appears as you type.
The table is wider than its frame — scroll it sideways.
Click a value in the F column to change it: 0 → 1 → – → 0 (– is a don't-care row).
You can earn with this skill
Open an expert page: services, schedule, and client bookings. One form, about ten minutes.
No experts in this category yet — you could be the first.
Pages opened before February 28, 2027 get the “Founding expert” badge.
AI Course for Beginners
Learn to give artificial intelligence clear tasks and check its answers
NOT: ¬ ! ~ not, a prime A' after an operand. AND: ∧ & && * · and, or letters written together. OR: ∨ | || + or. Exclusive OR: ⊕ ^ xor !=. Implication: → -> => ⊃ implies, and <= as in Python solutions; reverse implication ← <- >=. Equivalence: ≡ ↔ <-> <=> == =, and ~ between operands. NAND: ↑ nand; NOR: ↓ nor. Constants: 0 1 true false. Priority: NOT, then AND, then OR and XOR, then implication, then equivalence; brackets ( ) [ ] { } change the order.
A plain generator prints the final column and stops. This one shows the working: every operation gets its own numbered column, so a filled-in table can be checked cell by cell, and a practice mode lets you fill the columns yourself and see which cells are wrong. The second difference is that it says how your expression was read — a chain of implications, the sign ~ or the letters AB can be read two ways, and the tool names its choice and offers the other one. The third is everything that follows from the table: forms with their origin, minimization with its steps, a Karnaugh map you can click to design a function, and a circuit.
Brackets first, then negation, then conjunction (AND), then disjunction (OR) together with exclusive OR, then implication, and equivalence last. So ¬A ∧ B ∨ C ∧ D means ((¬A) ∧ B) ∨ (C ∧ D). One case has no single rule: a chain of implications without brackets. Mathematical logic reads A → B → C as A → (B → C), while some school courses evaluate it left to right. Implication is not associative, so the two readings give different tables — the tool shows which one it used and lets you switch.
A → B is a promise: "if A, then B". It is broken only when A holds and B does not — that is the single row 1 → 0 = 0. When A is false the promise was never tested, so it counts as kept, and the implication is 1. That is why A → B has the same table as ¬A ∨ B, and why the tool replaces implication with exactly this formula when simplifying.
The full DNF takes one conjunction of all variables for every row where F = 1, so a function that is 1 on six rows gets six long terms. Minimization merges terms that differ in one variable: A∧B∧C ∨ A∧B∧¬C = A∧B. On a Karnaugh map such terms are neighboring cells, and a group of 2, 4 or 8 cells becomes one short term. The Quine–McCluskey method does the same merging systematically and then picks the cheapest set of terms that still covers every 1.
List the rows of the full table where F takes the value given in the fragment — there are usually few of them. Look for what they share: if y = 1 whenever F = 0, a column with a 0 in an F = 0 row cannot be y. Then take the most informative row of the fragment and see which full rows it can be; the rows of the fragment are all different, which rules out more. The column puzzle mode does exactly this and writes out every step.
The Zhegalkin polynomial writes any Boolean function with only AND, XOR and the constant 1, and it is unique for each function — a convenient way to compare functions and to test linearity. Post's five classes answer another question: can every function be built from a given set of gates? By Post's theorem a set is complete exactly when, for each of the five classes, it contains a function outside that class. NAND and NOR lie in none of them, which is why each of them alone is enough to build any circuit.
On the Circuit tab, press “NAND only” or “NOR only”. The circuit follows the textbook method: from the minimal DNF you get two levels of NAND (one gate per term plus one at the output), from the minimal CNF two levels of NOR; an inverter is the same gate with its inputs tied, one per variable. Below the circuit you get the gate count, the same function written with negations, and a formula that uses only the operation ↑ or ↓ on two-input gates.
Work through it with a specialist — an online lesson or consultation, times shown in your time zone.
We can! Just send us a quick message with your idea. If you'd like to discuss it in detail, leave your email and we'll get back to you. You can stay anonymous.
Report a problem or suggest an improvement. We read everything!
Your message has been sent. We will review it shortly.