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.
How to use Truth Table Generator
- 1Type an expression with letters or words as variables, such as (p -> q) & p -> q.
- 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.
- 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.
Related tools
- StudyAttendance CalculatorFind your attendance percentage, how many classes you can still miss and stay at 75%, or how many you must attend in a row to get back to it.
- StudyCGPA & GPA CalculatorWork out your SGPA and CGPA on the Indian 10-point scale, or your GPA on the US 4.0 scale, weighted by credits.
- StudyCGPA to Percentage ConverterConvert a CGPA to a percentage, or a percentage to a CGPA, with the CBSE, AICTE, Mumbai University or plain formula.
- StudyCitation Generator (APA, MLA, IEEE, Harvard, Chicago)Make references in APA 7, MLA 9, IEEE, Harvard and Chicago for books, articles, chapters and web pages, and keep a bibliography.
- StudyClass Timetable MakerMake a weekly class timetable with your own days, periods and breaks. Subjects get colour tags. Save it as a PNG or print it.
- StudyExam CountdownCount down the days and hours to each exam, see how many study days you have left, and add every exam to your calendar.