Karnaugh Map & Logic Gates

Interactive 3- or 4-variable K-Map with automatic SOP minimization and gate diagram. Built for Digital Logic, this workbench updates the k-map & gate network and scalar readouts in real time as parameters change.

Technical Reference & Equations

  • De Morgans Laws: \overline{A \cdot B} = \bar{A} + \bar{B}, \quad \overline{A + B} = \bar{A} \cdot \bar{B} (Break the bar and flip the operator between AND and OR.)
  • Hamming Parity Bit Requirement: 2^r \ge m + r + 1 (m: data bits, r: minimum parity bits placed at power-of-two positions 1, 2, 4, 8...)
  • Consensus & Absorption Identities: A + AB = A, \quad A + \bar{A}B = A + B (Core algebraic reductions mirrored visually by K-map groupings.)

View full Digital Logic Formula Sheet | Constants Table

Related Digital Logic Calculators