Karnaugh Map (K-Map) Solver
Minimize a boolean function with the Quine–McCluskey algorithm: enter minterms, maxterms or a truth table and get the minimal SOP or POS, prime implicants and literal count.
Related tools
All Discrete maths & graphs tools →Open Karnaugh Map (K-Map) Solver and you get an answer straight away, with no account to create. It covers enter minterms, maxterms or a truth table and get the minimal SOP or POS, prime implicants and literal count — adjust any of them and the result follows immediately.
How to use it
- Open the tool — no signup or install needed.
- Enter your input or adjust the available options.
- Get your result instantly, then copy or download it.
Frequently asked questions
What is Karnaugh Map (K-Map) Solver?
Minimize a boolean function with the Quine–McCluskey algorithm: enter minterms, maxterms or a truth table and get the minimal SOP or POS, prime implicants and literal count.
What does it take into account?
It factors in enter minterms, maxterms or a truth table and get the minimal SOP or POS, prime implicants and literal count. Change any of them and the output follows immediately.
When would I actually use this?
Anything modelled as points and connections: a shortest route, a network's capacity, a schedule with dependencies, or a circuit reduced to its logic.
What is the most common mistake?
Assuming a shortest path stays shortest when a weight changes sign. Negative edges break the greedy argument Dijkstra rests on, and the algorithm returns a confident wrong answer rather than an error.
How is Karnaugh Map (K-Map) Solver different from Traveling Salesman Solver?
They sit next to each other but answer different questions: Traveling Salesman Solver is the one to open when you need it to solve the Traveling Salesman Problem from coordinates or a distance matrix: exact Held–Karp for up to 12 cities, nearest-neighbor + 2-opt beyond, with the tour order, total distance and a plot. Pick whichever matches what you're starting from — both are free.
Is there a tool for the next step?
Absolute Value Equation Solver is the closest one after this: Solve absolute-value equations like |x+3| = 5, 3|x+2| = 12 or |x+1| = |x−3| with step-by-step case analysis and exact solutions.
What else is worth having open alongside it?
Absolute Value Inequality Solver and Bernoulli ODE Solver — they come up in the same task often enough to be worth a second tab.
Where do the figures come from?
The algorithms are the textbook ones and their results are exact for the graph you enter. What varies is cost: several of these problems have no known efficient solution, so large inputs are answered by heuristic and the tool says when that is the case.