KickSolve • Free • Private

Boolean Expression Solver & Simplifier

Evaluate, analyze and simplify Boolean logic expressions with clear, student-friendly working. Solve the same expression three ways: Boolean algebra laws, a truth table, and the Quine–McCluskey tabular method, then compare canonical and minimal SOP and POS forms.

Up to 8 variables3 solution methodsStep-by-step workingRuns in your browser
1. Enter your Boolean expressionSymbols or words: AND, OR, NOT, XOR…
More symbols
AND
OR
XOR
NOT
NAND / NOR
XNOR / IFF
IMPLIES
Brackets
Constants
Words

Implicit AND is accepted: AB means A AND B, and A(B + C) means A AND (B OR C). ≠ is XOR; =, == and ≡ are equivalence (IFF).

Examples

How Boolean expression solving works

The page solves the same expression three different ways so you can check your own working.

1. Parse the expressionIdentify variables, constants, brackets and logical operators while following operator precedence.
2. Simplify with lawsApply identity, complement, De Morgan, distributive, absorption and consensus laws one step at a time.
3. Evaluate the truth tableCalculate intermediate sub-expressions for every input combination and read off canonical SOP and POS.
4. Combine mintermsUse the Quine–McCluskey method to combine terms that differ in one variable and find prime implicants.
5. Select a coverChoose essential and additional implicants that cover every required row to get minimal SOP and POS.

Boolean Expression Solver: guide and formulas

What is a Boolean expression?

A Boolean expression is a logical function built from variables that take values 0 or 1 and operators such as AND, OR and NOT. More advanced operators include XOR, NAND, NOR, implication and equivalence.

What is a truth table?

A truth table lists every possible combination of input values and evaluates the function for each row. For n variables, there are 2ⁿ possible input combinations. Intermediate columns can make the evaluation easier to follow.

Useful Boolean algebra laws

Identity: A + 0 = A and A·1 = A; Null: A + 1 = 1 and A·0 = 0; Idempotent: A + A = A and A·A = A; Complement: A + A' = 1 and A·A' = 0; Double negation: (A')' = A; Absorption: A + AB = A; Combining: AB + AB' = A; Redundant literal: A + A'B = A + B; Consensus: AB + A'C + BC = AB + A'C; De Morgan: (A·B)' = A' + B' and (A + B)' = A'·B'.

What are canonical SOP and POS?

Canonical Sum of Products (SOP) contains one minterm for every row where the output is 1. Canonical Product of Sums (POS) contains one maxterm for every row where the output is 0. These forms are systematic and exact, but they are not always short.

How does Quine–McCluskey simplification work?

The tabular method groups minterms by the number of 1 bits, combines terms that differ in exactly one bit, repeats the combination process, and identifies prime implicants. A prime implicant chart then shows which implicants are essential and which extra ones are needed so every required row is covered. The same process applied to the zero rows gives POS.

Why can the laws give a different answer from the tabular method?

Boolean algebra laws can be applied in many orders, and a hand derivation can stop at a form that is correct but not the shortest. The tabular method is systematic and always reaches a minimum cover, which is why both are shown.

What is the difference between minimal SOP and minimal POS?

Minimal SOP expresses the function as ORs of AND terms. Minimal POS expresses it as ANDs of OR clauses. Both are equivalent to the original expression, but their term counts and literal counts may differ.

Frequently asked questions

Common questions about Boolean expressions and simplification.

Can this solver show the steps?

Yes. Method 1 shows each Boolean algebra law applied, Method 2 shows the truth table with intermediate columns, and Method 3 shows the tabular grouping rounds, prime implicant chart and selected cover.

Does this page include a Karnaugh map solver?

No. This page is dedicated to Boolean expression solving and simplification. The Karnaugh map solver is a separate tool with its own page.

How many variables are supported?

The solver supports up to 8 distinct variables. The truth table contains 2ⁿ rows, so larger expressions naturally produce longer tables.

Can I get both SOP and POS?

Yes. The results include canonical and minimized SOP and POS forms, along with the minterm and maxterm index sets.

Are don't-care conditions supported?

Yes. Enter the row numbers in the don't-care field. The tabular method uses them to form larger groups; the algebra-law method does not use them.

Can I draw the simplified expression as a logic circuit?

Yes. After you solve an expression, use the Next step buttons under the result. They open the Logic Gate Circuit Drawer with your minimal SOP, minimal POS or original expression already filled in, and show how many gates each version needs.

Is the Boolean expression solver free?

Yes. It runs in your browser without an account, and your expression is not sent to a server.

More free tools from KickSolve