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∧BA \land B

Contingency: true in 1 of 4 rows\displaystyle \text{Contingency: true in 1 of 4 rows}

Truth table

ABA∧BTTTTFFFTFFFF\displaystyle \begin{array}{cc|c} A & B & A \land B \\ \hline \mathrm{T} & \mathrm{T} & \mathrm{T} \\ \mathrm{T} & \mathrm{F} & \mathrm{F} \\ \mathrm{F} & \mathrm{T} & \mathrm{F} \\ \mathrm{F} & \mathrm{F} & \mathrm{F} \end{array}

Minterms

A∧B\displaystyle A \land B
Show the work
  1. Truth table

    The statement uses 2 variables, so there are 22=42^{2} = 4 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.

    ABA∧BTTTTFFFTFFFF\begin{array}{cc|c} A & B & A \land B \\ \hline \mathrm{T} & \mathrm{T} & \mathrm{T} \\ \mathrm{T} & \mathrm{F} & \mathrm{F} \\ \mathrm{F} & \mathrm{T} & \mathrm{F} \\ \mathrm{F} & \mathrm{F} & \mathrm{F} \end{array}
  2. Conjunction (and)

    A∧BA \land B is true only when both AA and BB are true.

    A∧B: T, F, F, FA \land B:\ \mathrm{T},\ \mathrm{F},\ \mathrm{F},\ \mathrm{F}
  3. Result

    The last column is true in 1 of the 4 rows and false in the others, so the statement is a contingency: sometimes true, sometimes false.

Worked examples