Type a formula or tap the buttons, and its truth table appears here.
Type or tap a formula, then copy the table straight into Word.
Separate formulas with commas to compare them, e.g. p → q, ¬q → ¬p
Type a formula or tap the buttons, and its truth table appears here.
| ~ or ! | ¬ | not |
| & | ∧ | and |
| | | ∨ | or |
| -> | → | if … then |
| <-> | ↔ | if and only if |
| + | ⊕ | exclusive or |
Binding, tightest first: ¬, then ∧ ⊼, then ∨ ⊽ ⊕, then →, then ↔. The arrow groups to the right, so p → q → r means p → (q → r). Use brackets whenever in doubt. Up to six variables.