Karnaugh Map Solver (K-Map Calculator)

Simplify Boolean expressions using Karnaugh Maps. Supports 2, 3, and 4 variable K-Maps with automatic grouping, SOP/POS output, and circuit visualization.

K-Map Grid

A \ BC 00 01 11 10
0 0 0 0 0
1 0 0 0 0

Click cells to toggle: 0 → 1 → X → 0

How to Use

  1. 1. Select the number of variables (2, 3, or 4)
  2. 2. Click cells to toggle values (0, 1, or X)
  3. 3. The simplified expression updates automatically
  4. 4. View SOP/POS forms and circuit diagram

What is a K-Map?

A Karnaugh Map (K-Map) is a graphical method for simplifying Boolean algebra expressions. It arranges truth table values in a grid where adjacent cells differ by only one variable.

By grouping adjacent 1s in powers of 2 (1, 2, 4, 8...), you can derive the minimal Sum of Products (SOP) expression.