Simulation

Logic Expression Simulator

Draw truth tables, Boolean algebraic forms, combined and separate logic circuits, ASTs, SOP, POS, simplification steps, and Karnaugh maps from logic expressions.

Number of Outputs

Default is one output. You can use up to 6 outputs. Supported operators: AND, OR, NOT, NAND, NOR, XOR, +, ·, *, !, ~, apostrophe notation, and brackets.

Quick Examples

Output Expression

Variables

A, B, C

3 input variable(s)

Rows

8

2^3 combinations

Simplified OUT

C + AB

Final equation

Boolean Algebraic Form

OUT = ((A · B) + C)

All inputs are on the left. All selected outputs are drawn on the right. Hover over a gate to see its Boolean expression.

ABC(A · B)AND((A · B) + C)OROUT
MintermABCOUT
m00000
m10011
m20100
m30111
m41000
m51011
m61101
m71111

This version shows intermediate gate/sub-expression outputs.

MintermABC(A · B)((A · B) + C)OUT
m0000000
m1001011
m2010000
m3011011
m4100000
m5101011
m6110111
m7111111

Hover over any gate to see the Boolean expression represented by that gate.

Circuit

ABC(A · B)AND((A · B) + C)OROUT