How It Works
Enter a boolean expression using variables and logical operators. The generator will create a truth table showing all possible combinations of variable values and the resulting output of your expression.
Generate Truth Table
Supported Operators
and
or
not
xor
nand
implies
eq
Example Expressions
Click any example to try it:
AND Gate
a and b
OR Gate
a or b
NOT Gate
not a
XOR Gate
a xor b
XNOR (Equivalence)
(a and b) or (not a and not b)
Implication
a implies b