Truth Table Calculator

Type a logic statement to see its full truth table.

Variables are single letters. Use and, or, not, xor, implies, iff, or the symbols ∧ ∨ ¬ ⊕ → ↔, and brackets.

Try

Result

You enteredA∨¬AA \lor \lnot A

Tautology: true in all 2 rows\displaystyle \text{Tautology: true in all 2 rows}

Truth table

A¬AA∨¬ATFTFTT\displaystyle \begin{array}{c|cc} A & \lnot A & A \lor \lnot A \\ \hline \mathrm{T} & \mathrm{F} & \mathrm{T} \\ \mathrm{F} & \mathrm{T} & \mathrm{T} \end{array}

Minterms

A∨¬A\displaystyle A \lor \lnot A
Show the work
  1. Truth table

    The statement uses 1 variable, so there are 21=22^{1} = 2 rows, one for each way of making each variable true (T\mathrm{T}) or false (F\mathrm{F}). The rows run in the standard order: all true at the top, all false at the bottom.

    A¬AA∨¬ATFTFTT\begin{array}{c|cc} A & \lnot A & A \lor \lnot A \\ \hline \mathrm{T} & \mathrm{F} & \mathrm{T} \\ \mathrm{F} & \mathrm{T} & \mathrm{T} \end{array}
  2. Negation (not)

    ¬A\lnot A is true exactly when AA is false, and false when it is true.

    ¬A: F, T\lnot A:\ \mathrm{F},\ \mathrm{T}
  3. Disjunction (or)

    A∨¬AA \lor \lnot A is false only when both AA and ¬A\lnot A are false.

    A∨¬A: T, TA \lor \lnot A:\ \mathrm{T},\ \mathrm{T}
  4. Result

    The last column is true in every row, so the statement is a tautology: it is always true.

Worked examples