Boolean Algebra Calculator and Simplifier
Type a Boolean expression such as A'B + AB' + AB and get the simplest SOP and POS form, the minterm and maxterm lists and the prime implicants behind the answer.
Write NOT as A', !A or ~A. AND as AB, A*B, A.B or A&B. OR as A + B or A|B. XOR as A ^ B. Variables are single letters.
How the Simplifier Works
The calculator builds the full truth table of your expression, lists the minterms where the output is 1, then runs the Quine McCluskey method: it merges minterms that differ in one bit until no more merges are possible. The remaining terms are the prime implicants, and the smallest set that covers every minterm is the simplified answer.
Combining: AB + AB' = A
Consensus: AB + A'C + BC = AB + A'C
De Morgan: (AB)' = A' + B' and (A + B)' = A'B'
Worked example
F = A'B'C + A'BC + AB'C + ABC + ABC'. The first four terms all contain C and cover every combination of A and B, so they reduce to C. ABC' combines with ABC to give AB. Result: F = C + AB. The POS form is F = (A + C)(B + C).
Operator precedence
NOT is applied first, then AND, then XOR, then OR, the same order used in textbooks and in PLC structured text. Use brackets whenever you are unsure.
Frequently Asked Questions
How do I simplify a Boolean expression?
Apply the Boolean laws (absorption, combining, De Morgan) by hand, or let this calculator list the minterms and run the Quine McCluskey method to get the minimal form directly.
What is the difference between SOP and POS?
SOP (sum of products) is an OR of AND terms, like AB + C. POS (product of sums) is an AND of OR terms, like (A + C)(B + C). Both describe the same function.
What are minterms and maxterms?
A minterm is an input combination where the output is 1, written Σm. A maxterm is a combination where the output is 0, written ΠM.
How many variables can it handle?
Up to 6 single letter variables (64 rows), enough for most digital electronics and PLC interlock logic.
Can it check if two expressions are equal?
Yes. Enter a second expression and the tool compares both truth tables row by row.
Learn more on the blog
Quine McCluskey method explained
A practical guide on instrumentationblog.in that explains the theory behind this tool with solved examples.
Read Full Article