Truth Table Generator | Online Free Tool | Elysia Tools
Elysia Tools
Navigation
Math & Numbers
Truth Table Generator
Complete truth table (≤ 6 variables, 64 rows) with alphabetical variable order, per-row function values, and canonical Σm/ΠM forms.
Execution
Run this tool
Fill in the form, run the tool, and review the result in one place.
Samples
Examples that match this tool
Related
Continue with connected tools and hubs
Tool usage guide
Learn when to use this tool, what it supports, and how real users apply it.
Key facts
Category
Math & Numbers
Input types
text
Output type
text
Sample coverage
4
API ready
Yes
Overview
Generate complete truth tables for Boolean expressions with up to 6 variables (A–F) and up to 64 evaluation rows. The tool supports standard switching-algebra notation, orders inputs alphabetically, computes function values per row, and derives canonical sum-of-minterms (Σm) and product-of-maxterms (ΠM) representations.
When to use
Analyzing digital logic functions such as multiplexers, parity checkers, and basic switching circuits.
Deriving minterm (Σm) and maxterm (ΠM) lists for Karnaugh map minimization and algebraic simplification.
Verifying homework problems and logic proofs in discrete mathematics or computer architecture courses.
How it works
1Enter a Boolean expression using variables A through F and supported operators like + (OR), ^ (XOR), !/~/' (NOT), and · or juxtaposition (AND).
2The tool parses the expression, identifies all distinct variables, and builds an ordered binary assignment table for up to 64 input combinations.
3It computes output F for every combination and displays the full truth table alongside canonical Σm and ΠM notations.
Use cases
Digital circuit analysis: Verifying selector logic for 2-to-1 multiplexers and standard switching gates.
Parity calculation: Determining odd-parity and error-checking behavior with chained XOR expressions.
Canonical formulation: Extracting exact minterm lists before entering values into Karnaugh maps or logic synthesizers.
Examples
1. 2-to-1 Multiplexer Verification
Computer Engineering Student
Background
Designing an AND-OR-Invert 2-to-1 multiplexer circuit and needing to confirm the input-to-output mapping.
Problem
Verify how selection variable A switches output F between inputs B and C.
How to use
Enter the expression AB + A'C into the Boolean expression field.
AB + A'C
Outcome
Displays an 8-row truth table for variables A, B, and C with canonical forms Σm(1, 3, 6, 7) and ΠM(0, 2, 4, 5).
2. 3-Input Odd-Parity Checker
Hardware Logic Designer
Background
Implementing an odd-parity generator for 3-bit data words prior to bus transmission.
Problem
Check that the function outputs 1 whenever an odd number of input bits are high.
How to use
Input the chained XOR expression A ^ B ^ C into the tool.
A ^ B ^ C
FAQ
Which operators are supported in Boolean expressions?
The generator accepts + for OR, ^ for XOR, ! or ~ or ' for NOT, and ·, *, &, or direct variable juxtaposition for AND.
How many variables can I include in a single expression?
You can use up to 6 unique variables (A through F), generating a truth table of up to 64 rows.
How are variables ordered in the truth table?
All detected variables are sorted and evaluated in alphabetical order (e.g., A, B, C).
What are canonical Σm and ΠM representations?
Σm represents the ON-set (row indices where F = 1), while ΠM represents the OFF-set (row indices where F = 0).
Does juxtaposition like AB automatically represent logical AND?
Yes, placing variables side by side such as AB or A'C evaluates as a logical AND operation.