Analyze variables, operators, and nested expressions with instant truth tables. Review rows with clear outputs. Export data, study patterns, and verify logic without confusion.
Use operators like AND, OR, NOT, XOR, NAND, NOR, and XNOR. Symbols such as &&, ||, !, ~, &, |, +, *, and ^ also work.
Sample expression: A AND (B OR NOT C)
| Row | A | B | C | F |
|---|---|---|---|---|
| 0 | 0 | 0 | 0 | 0 |
| 1 | 0 | 0 | 1 | 0 |
| 2 | 0 | 1 | 0 | 0 |
| 3 | 0 | 1 | 1 | 0 |
| 4 | 1 | 0 | 0 | 1 |
| 5 | 1 | 0 | 1 | 0 |
| 6 | 1 | 1 | 0 | 1 |
| 7 | 1 | 1 | 1 | 1 |
A truth table with n variables contains 2n rows.
For each row, the generator substitutes every variable with 0 or 1, then evaluates the boolean function using operator precedence.
A truth table lists every possible input combination for chosen variables. Each row shows whether the expression becomes true or false. It helps verify logic, compare equivalent formulas, and understand boolean behavior clearly.
A truth table with n variables has 2n rows. Two variables create four rows. Three variables create eight rows. Every added independent variable doubles the number of possible combinations.
Yes. If you leave the variable box blank, the generator detects variable names from the expression automatically. Enter variables manually only when you want a custom column order.
It supports AND, OR, NOT, XOR, NAND, NOR, and XNOR. Common symbols also work, including &&, ||, !, ~, &, |, +, *, and ^, plus parentheses.
Errors usually come from unmatched parentheses, missing operators, unsupported characters, or missing variable names. Rewrite the logic with clear operators and balanced brackets, then try again.
Minterms are row indexes where the output is true. Maxterms are row indexes where the output is false. They help describe canonical SOP and POS forms.
Yes. After creating the table, use the CSV button for spreadsheet-friendly data or the PDF button for printable sharing. The export includes all visible rows and columns.
Repeating patterns happen when unused variables are included or when part of the expression dominates the result. Example: A OR 1 always becomes true, no matter what other inputs are.
Important Note: All the Calculators listed in this site are for educational purpose only and we do not guarentee the accuracy of results. Please do consult with other sources as well.