Loading…

How to use Truth Table Generator

Enter a boolean expression with variables and operators, and the generator builds the complete truth table for all input combinations.

Frequently asked questions

What is a truth table?

A table listing every possible combination of input values and the resulting output of a logical expression.

How many rows will it have?

2ⁿ rows for n variables — 2 variables give 4 rows, 3 variables give 8 rows, and so on.

Which operators can I use?

AND, OR, NOT and XOR, combined with parentheses and single-letter variables.

More Math Calculators

Set Theory Calculator
Union, intersection, difference + Venn text.
Mean, Median & Mode Calculator
Mean, median, mode, range, variance and standard deviation from a list of numbers.
Permutation & Combination Calculator
Compute nPr and nCr with n! and r!, using iterative products for large-number safety.
Z-Score Calculator
Standard score z=(x−μ)/σ with an approximate normal-distribution percentile.
Number Base Converter
Convert bases 2,8,10,16 and custom.
Complex Number Calculator
Add/subtract/multiply/divide complex numbers.
Matrix Calculator
2x2/3x3 add, multiply, determinant, inverse, transpose.
Sequence Calculator
Nth term and sum for arithmetic/geometric.
Advanced Percentage Calculator
Comprehensive percentage operations.
Ratio Simplifier
Simplify and generate equivalent ratios.
Advanced Fraction Calculator
Fraction operations with steps.
Roman Numeral Converter
Convert numbers to Roman numerals and Roman numerals back to numbers (1–3999).

← View all Math CalculatorsBrowse all 1,100+ tools →