BinaryCon Binary Converter

Truth Table Generator

Result

Truth Table Generator

Generate truth tables for logical expressions or gates.

Example: A AND B

Definition: Produces a full truth table for the provided boolean expression or gate, enumerating all input combinations.

Conversion formula

Truth table generation:
List all combinations of N boolean inputs (0/1) and evaluate the boolean expression for each row.

For N inputs there are 2^N rows. Example (2 inputs A,B):
A B | F
0 0 | F(0,0)
0 1 | F(0,1)
1 0 | F(1,0)
1 1 | F(1,1)