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.

Modular arithmetic

Modulo calculator

Arithmetic in ℤ/mℤ, including fast modular exponentiation and the modular inverse.

Results are the least non-negative residue. Exponents must be zero or greater.

Try
(17 ^ 5) mod 7
5