Karnaugh Map Solver

Simplify boolean expressions instantly with a visual, step-by-step Karnaugh Map solver.

variables
C'D'
C'D
CD
CD'
A'B'
A'B
AB
AB'

Also accepts !, *, AND/OR/NOT, and implicit AND (e.g. AB'C).

Result

Sum of Products (SOP)

F = 0

Terms
0
Literals
0
Gates
0

Circuit diagram

F0

Step-by-step

1Read the map

Collected the entries from the 4-variable K-Map.

  • Minterms (1s): none
  • Maxterms (0s): 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15
  • Don't-cares (X): none
2Constant function

There are no 1-cells, so the function is always 0 (don't-cares can be assigned 0).

  • F = 0

How it works

From a boolean function to a minimized, gate-level circuit in four steps.

  1. Choose your variables

    Pick 2, 3, 4, or 5 variables to match the boolean function you're minimizing.

  2. Enter your function

    Type a boolean expression, list minterms or maxterms, or fill in the truth table directly.

  3. Read the grouped map

    Pairs, quads, and octets are outlined automatically as the solver finds the largest valid groups.

  4. Get the minimized result

    Copy the simplified SOP or POS expression, view the gate-level circuit, or export a PDF.

What you'll see

A preview of the tool's main views. Scroll to browse.

Karnaugh Map

A gray-code grid with pair, quad, and octet groups outlined directly on the cells.

Truth table input

Cycle every row between 0, 1, and don't-care without leaving the keyboard.

Expression parser

Type boolean notation like AB' + C and see it converted straight into the map.

Circuit diagram

The minimized expression rendered as AND, OR, and NOT gates with routed wires.

Step-by-step trace

Every Quine-McCluskey pass and Petrick's method decision explained in plain language.

Frequently asked questions