Free Discrete Mathematics Calculators with Step-by-Step Solutions

Enter a problem in logic, sets, graphs, number theory or automata and see it solved one step at a time. Every topic also has a written study guide with worked examples, so you learn the method and not just the answer.

Browse the topics Where should I start?
20
Topic pages with calculators
60
Glossary terms
18
Quiz questions
7
Practice problems

Topics

Popular tools and guides

What makes these discrete mathematics calculators different

Discrete mathematics is usually taught through methods: build a truth table, run the Euclidean algorithm, trace Dijkstra's algorithm, simulate an automaton. If a calculator only prints the final result, you cannot tell where your own working went wrong. Each tool here is built to display the intermediate steps, and each topic page explains the ideas behind them.

How to use a topic page

  1. Try the calculator. Enter an example (each input shows a sample) and read the steps it produces.
  2. Read the study guide below the calculator: key ideas, two fully worked examples, common mistakes and where the topic is used in computing.
  3. Test yourself. Each guide ends with short questions whose answers are hidden until you open them.

Who it is for

Computer science and mathematics students meeting these topics for the first time, anyone revising for an exam, and self-taught programmers who want to understand the mathematics behind algorithms, databases and hardware. Not sure of the order? The learning path groups the topics into five stages, and the glossary defines the common terms in plain language.

How we keep it accurate

Calculators run deterministic algorithms rather than generating answers, and the numbers in worked examples are checked automatically. Read the editorial and accuracy policy, or report a mistake if you find one.

Free accounts

Every calculator and study guide is open to everyone. A free account additionally unlocks the timed quizzes, practice problems with hints and full solutions, PDF export and a saved calculation history. Create an account or log in. The site is funded by advertising; see About for details.