Skip to content
Local

Study

Truth Table Generator

Type a logic expression and get its full truth table, step columns, and whether it is a tautology, contradiction or contingency.

Runs in your browser. Nothing leaves this device.

Open Truth Table Generator

Free, no account, no watermark and no daily limit.

Open Truth Table Generator

How to use Truth Table Generator

  1. 1Type an expression with letters or words as variables, such as (p -> q) & p -> q.
  2. 2Use ! for NOT, & for AND, | for OR, ^ for XOR, -> for implies and <-> for if and only if. The words NOT, AND, OR, XOR, IMPLIES and IFF work too.
  3. 3Read the table and the label under it. Turn on the step columns to see each part worked out.

Questions

What order do the operators bind in?

NOT first, then AND, XOR, OR, implies and finally if and only if. Implication groups to the right, so A -> B -> C means A -> (B -> C). Use brackets when in doubt.

What is a tautology?

An expression that is true in every row, like A | !A. A contradiction is false in every row, and a contingency is true in some rows and false in others.

How many variables can I use?

Up to 10, which makes 1,024 rows.

Is it free?

Yes. No account, no watermark and no daily limit.

Esc