Boolean and K-Map Simplifier
Give the minterms (and don't-cares) of a function and get its simplest sum of products.
How it works
Give the number of variables and the minterms where the function is 1. Add don't-care terms if some inputs never happen. The tool uses the Quine-McCluskey method to find all prime implicants and then picks the smallest cover.
The formula
Minterm number = binary value of the inputs, with A as the top bit. Two terms that differ in one bit merge into one term with that bit dropped.
Worked example
With 3 variables, minterms 1, 3, 5, 7 are all the inputs where C is 1, so the answer is C.
Good to know
- A prime with an apostrophe means NOT.
- Don't-cares are used only when they make a group bigger.
- Several answers can be equally small. This shows one of them.
Common questions
- Is this the same as a K-map?
- It gives the same result. A K-map is the picture, this is the algorithm.
- Does it give product of sums?
- No, only sum of products.
- Why a limit of 5 variables?
- Beyond that the search gets slow in a browser and hand K-maps stop being practical.
More in Math, Science & Engineering.
Scientific Calculator with Steps
Type a whole expression and see the answer with each step in the order it was worked out.
OPEN →Matrix SolverDeterminant, inverse, rank, transpose, products and linear systems for small matrices.
OPEN →Laplace Transform TableStandard Laplace pairs and properties. Type part of a function like sin or e^ to filter.
OPEN →