Set Theory & Logic

Truth Table Generator

Generate a complete truth table and classify a propositional expression.

Set Theory & Logic

Enter values

Private calculation in your browser
  1. 1EnterProvide the known values
  2. 2CalculateResults update automatically
  3. 3VerifyReview the details and units
Try an example

Use the notation shown in each label and example. Inputs stay on this device and are never sent to a calculation service.

Result

Enter valid values to see the result.

Your entries are calculated in this browser and are not submitted to 365CALCS.COM.

Feedback

Understand the subject

What does a truth table do?

A truth table lists every possible truth-value assignment and evaluates a proposition row by row.

Use it to distinguish a tautology, contradiction, and contingent statement.

The rule

State the relationship

See the structure

What the rule checks

Worked interpretation

Read the result in context

P→Q is equivalent to ¬P∨Q on every row.

Interpret with care

Important boundary

The number of rows doubles with every new proposition, so large expressions become impractical.

Use the Set Operations Calculator to explore small finite examples.

Quick guide

How to use this calculator

  1. Enter values using the notation shown beside each field.
  2. Choose a calculation mode when the tool offers more than one interpretation.
  3. Read the primary answer first, then inspect the supporting details.

Calculation method

Apply the stated definition

Operators: !, &, |, ^, ->, <->

The calculator validates the mathematical domain before returning a result and does not replace undefined states with zero.

Worked example

Worked example

(P -> Q) <-> (!P | Q) is a tautology.

Operators: !, &, |, ^, ->, <->

Supported inputs

Precision and limits

Finite, bounded input

Set and logic tools use finite inputs so every result can be checked completely. Each page states its practical size limit.

Notation

Set elements are comma-separated text labels. Logic operators and relation-pair notation are documented in the relevant input labels.