Truth Table Generator
Type a logic statement with letters such as A and B, and see whether it is true or false for every combination.
1 Fill in the box
2 Your answer
Your answer shows here as you type.
How to use the Truth Table Generator
- Type a statement using letters for the things that are true or false, such as A and B.
- Use the words and, or, not and xor, and brackets to group parts.
- Read the first row for how many combinations are true.
Frequently asked questions
What do and, or, not and xor mean?
And is true only when both parts are true. Or is true when at least one part is true. Not flips true and false. Xor is true when exactly one part is true.
How many letters can I use?
Up to six. Each letter doubles the number of rows, so six letters give 64 rows.
Wrote something with AI? Slop Monkey rewrites it so it sounds like you, and keeps your facts.