Logic Karnaugh grouping worksheet calculator

Calculate simplified sum-of-products and groups as [cube pattern,covered minterms] with your own figures.

Your numbers

Use the units shown. Results update as you change valid inputs.

Use simplified sum-of-products and groups as [cube pattern,covered minterms] to compare changes to your inputs. The method and limits below explain the scope.

Examples

Examples

Try the starting example

True minterms as integers; JSON array, [] for none
[1,3,5,7]
Dont-care minterms; use empty list for none; JSON array, [] for none
[0]
Variable count
3
Simplified sum-of-products
C
Groups as [cube pattern,covered minterms]
[["--1",[1,3,5,7]]]

Try another scenario

True minterms as integers; JSON array, [] for none
[1,2,3,5,7]
Dont-care minterms; use empty list for none; JSON array, [] for none
[0]
Variable count
3
Simplified sum-of-products
C | !A
Groups as [cube pattern,covered minterms]
[["--1",[1,3,5,7]],["0--",[0,1,2,3]]]
Calculation method

Calculation method

Simplified sum-of-products

Prime implicants combined with deterministic greedy cover; valid cover, not a guarantee of globally minimum gate cost.

Groups as [cube pattern,covered minterms]

Cube patterns use 0,1,− for dont-care variables; include only groups needed to cover true minterms.

Symbols and units
a
True minterms as integers; JSON array, [] for none
b
Dont-care minterms; use empty list for none; JSON array, [] for none
c
Variable count

Use the units shown. A list keeps the order in which you enter its values. The symbol ^ means “raised to the power of”.

Assumptions & limits

Assumptions & limits

  • Minterms, don't-cares, variable count. Returns Simplified supported logic and groups. All coefficients and observations are user supplied; results describe only the stated mathematical model. Quantities are deterministic calculations from supplied observations and assumptions; no external data is fetched. Supported limits: Finite inputs only; numeric fields bounded as labelled. Lists and JSON records are limited to 256 entries unless a stricter tool bound is stated. No automatic design approval, legal conclusion, treatment recommendation or safety certification. True minterms as integers: minimum 0, maximum 15. Dont-care minterms; use empty list for none: minimum 0, maximum 15. Variable count: minimum 1, maximum 4.
Are these inputs private?

These calculations run in your browser. A shared link contains the values you choose to share. Only questions submitted to the separate AI finder are sent to OpenAI.

Share this page
Share this calculator

Leave unchecked to share the page without your entered values.