Truth Table Generator​

The truth table generator​ will allow you to determine the truth value of logical expressions.

Variables A–D. Operators: AND, OR, NOT, XOR, plus parentheses.
Clear
ExpressionA AND (B OR NOT C)
VariablesA, B, C
Rows82^3
True in3 of 837.5% of cases
Classificationcontingent

Truth table

ABCResult
TTTT
TTFT
TFTF
TFFT
FTTF
FTFF
FFTF
FFFF

The method

evaluate a logical expression for every combination of inputs

Operator precedence

NOT binds tightest, then AND, then XOR, then OR — the same ordering as multiplication before addition. So A OR B AND C means A OR (B AND C). Use parentheses when you want anything else; they are never wrong to add.

Three kinds of expression

A tautology is true in every row, a contradiction in none, and everything else is contingent. Two expressions are logically equivalent exactly when their result columns match.