math calculator
Boolean Algebra Simplifier & K-Map Solver
Simplify Boolean logic expressions, generate truth tables, and visualize Karnaugh Maps.
Inputs
Results
Simplified Sum-of-Products (SOP)
A'B + AB'
Karnaugh Map (K-Map) representation
Interactive Truth Table
| Row | Input A | Input B | Output (Click to toggle) |
|---|---|---|---|
| 0 | 0 | 0 | |
| 1 | 0 | 1 | |
| 2 | 1 | 0 | |
| 3 | 1 | 1 |
Step-by-Step Minimization Steps
Construct the Truth Table for a 2-variable system:
Identify all minterms (rows where output equals 1).
The raw Sum-of-Products (SOP) expression is the logical OR of these minterms:
After applying Boolean algebra simplification laws:
Formula
Boolean Minimization Formulas
F = \sum m_i, \quad A + A' = 1, \quad A(B + C) = AB + ACA Karnaugh Map lists minterms using Gray code, grouping blocks of 1s in powers of 2 to simplify expressions graphically.
Step by step
How the calculation works
- 1Select the number of variables (2-variable or 3-variable).
- 2Toggle the outputs (0 or 1) in the truth table below by clicking on them.
- 3The calculator simplifies the Boolean logic and displays the corresponding Karnaugh Map.
Related guides
Learn more about this calculation
Guide
Scientific Notation Guide: Powers of Ten Made Practical
Learn how to convert, compare, and calculate with powers of ten using worked examples and the live DTC scientific calculator.
Site Guide
How to Use Do The Calculation Calculators: A Practical Step-by-Step Guide
Learn the fastest reliable workflow for using Do The Calculation calculators, reading results, checking formulas, and using save, print, share, and export actions correctly.
Scientific
Scientific Calculator
Evaluate base-10 or custom math functions.
Base Converter
Base Converter
Convert values into Binary and Hexadecimal.