Boolean Algebra Calculator
Perform Boolean algebra operations, generate truth tables, and simplify Boolean expressions
Boolean Operations
How to Use This Calculator
Select Operation
Choose the Boolean operation you want to perform from the dropdown menu. Options include basic gates (AND, OR, NOT), complex gates (XOR, NAND, NOR, XNOR), truth table generation, and expression simplification.
Enter Values
For basic operations, enter Boolean values (true/false or 1/0) for the inputs. For truth tables, enter a Boolean expression and specify the variables. For simplification, enter the expression to simplify.
View Results
The calculator will display the result of your Boolean operation. For truth tables, you'll see a complete table showing all possible input combinations and their outputs. For simplification, you'll see the simplified Boolean expression.
Share Calculations
Use the share button to generate a link to your calculation that you can share with others. The link will preserve all your input values and results.
Boolean Algebra Tips
Boolean algebra deals with variables that can have only two values: true (1) or false (0)
AND operation (A • B or A * B): Result is true only if both inputs are true
OR operation (A + B): Result is true if at least one input is true
NOT operation (¬A or ~A): Inverts the input value
XOR operation (A ⊕ B): Result is true if inputs are different
NAND is the complement of AND: NOT(AND(A, B))
NOR is the complement of OR: NOT(OR(A, B))
XNOR is the complement of XOR: NOT(XOR(A, B))
Truth tables show all possible input combinations and their corresponding outputs
Boolean expressions can be simplified using algebraic laws and Karnaugh maps
De Morgan's laws: ¬(A • B) = ¬A + ¬B and ¬(A + B) = ¬A • ¬B
Absorption law: A + (A • B) = A and A • (A + B) = A