ceo@instrumentationblog.in
Digital Logic Tools · Free Tool

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.

Up to 6 variablesMinimal SOP and POSΣm and ΠM listsEquivalence check
Examples:

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.

Simplified SOP
Simplified POS
Minterms
Maxterms
How this result was calculated
    Advertisement

    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.

    Absorption: A + AB = A
    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.

    Key insight: fewer literals means fewer gates or fewer contacts in a ladder rung. Always check both SOP and POS: one of them is often shorter.
    Advertisement

    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.

    You May Also Like

    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

    More Digital Logic Tools

    More Instrumentation Tools

    2 toolsInstrument Tag DecoderDecode ISA 5.1 instrument tags and look up every identification letter.4 toolsIP, NEMA and Ex Rating DecoderDecode IP codes, NEMA enclosure types, ATEX and IECEx Ex markings and hazardous area zones.4 toolsWire and Cable Color CodesWire colour codes for power, control panels, thermocouples and RTDs by standard.9 toolsPID Tuning ToolsPID tuning calculators, PID form converter and an online PID loop simulator.4 toolsP&ID SymbolsSearchable P&ID symbols for instruments, lines, valves and flow elements.3 toolsPipe and Flange ChartsPipe schedules, ASME B16.5 flange dimensions and pressure ratings.4 toolsThread Size ChartsNPT, BSP and metric thread sizes and a thread identifier for instrument fittings.17 toolsTroubleshooting GuidesInteractive fault finders for transmitters, flowmeters, valves and loops.18 toolsPractice TestsInstrumentation quizzes with instant scores and explained answers.3 toolsDigital Logic ToolsK map solver, Boolean algebra simplifier and truth table generator for digital electronics and PLC logic.3 toolsElectrical Selection ToolsConduit fill and wire gauge calculators to the NEC, plus an ANSI device numbers decoder for protection relays.2 toolsMechanical ChartsGalvanic corrosion chart with a metal pair checker and a bolt torque calculator for SAE and metric bolts.2 toolsProcess Engineering ToolsPsychrometric calculator with a live chart and a flow rate calculator for pipes.CalculatorsCalculatorsFree engineering calculators for flow, level, pressure, temperature, valves and more.ConvertersUnit Converters76 converters, 700+ units.