Calculators

Six discrete math calculators

Interactive discrete math for CS students: topics, proof trainer, practice, and browser-native tools.

  • No account needed
  • Nothing leaves your browser
  • Works offline

What is in here

7topics
534problems
54formulas
60proof tasks
0 learned0 saved0 practice attempts0% accuracy0 proof checks

Calculators

Discrete math tools

Six calculators that run entirely in this browser. Inputs are validated, so a rejected entry says what is wrong instead of returning a confident wrong answer.

Logic

Truth table builder

Enumerate every assignment of a proposition and classify it as a tautology, a contradiction, or a contingency.

Variables like p, q, r with ! && || -> <-> xor and parentheses. Words work too: not, and, or, iff. Up to 6 variables.

Try
Tautology4 of 4 rows true · 2 variables
Truth table for (p -> q) <-> (!q -> !p): one row per combination of truth values, with the resulting value of the expression.
pqresult
FFT
FTT
TFT
TTT