FREE · NO SIGNUP · FAIR-USE LIMITS

Karnaugh Map Solver

Simplify Boolean functions with a real minimizer — minimal SOP and POS, optional don’t-cares, and a K-map grid for 2–4 variables. Runs in your browser; free, no signup.

Build the circuit after you simplify

Use the minimal SOP as a prompt for the logic gate maker.

How to use the K-map solver

  1. Choose input mode

    Paste minterms (and optional don’t-cares) or a Boolean expression from the truth table generator.

  2. Simplify

    The engine lists prime implicants and a minimal cover, then prints SOP and POS.

  3. Read the map

    For 2–4 variables, cells show 0, 1, or X in Gray-code order so adjacent cells differ by one bit.

  4. Implement

    Copy the minimal SOP into the logic gate maker or Boolean-to-circuit page.

Karnaugh maps and Quine–McCluskey

Frequently asked questions

Does this Karnaugh map solver actually simplify?

Yes. It runs Quine–McCluskey in your browser and returns minimal SOP/POS, with a K-map grid for 2–4 variables.

Are don’t-cares supported?

Yes. Enter them in the don’t-care field; they may enlarge groups but are not required outputs.

Is it free?

Yes. No signup. The solver is local JS; other FreeDiagram generators use hourly fair-use limits.

K-map vs truth table?

Build the table first if you have an expression, then simplify here. Or jump straight to minterms from your assignment.

Boolean and logic tools

Truth table generator, Boolean-to-circuit, and logic gates.