Boolean Expression Calculator - Generate Truth Tables Online
Create complete truth tables from boolean expressions with up to 5 variables. Supports all logical operators: AND, OR, NOT, XOR, NAND, NOR, XNOR for digital logic analysis.
How to Use the Boolean Calculator
This boolean algebra calculator generates comprehensive truth tables for logical expressions used in computer science, digital electronics, and discrete mathematics. Enter any boolean formula using standard logical operators to analyze all possible input combinations and their corresponding outputs.
Supported Boolean Operations:
- • AND (∧): Logical conjunction - true when both inputs are true
- • OR (∨): Logical disjunction - true when at least one input is true
- • NOT (¬): Logical negation - inverts the input value
- • XOR (⊕): Exclusive OR - true when inputs differ
- • NAND: NOT AND - complement of AND operation
- • NOR: NOT OR - complement of OR operation
- • XNOR: Exclusive NOR - true when inputs are equal
Boolean Expression Input
Enter a boolean expression using variables A, B, C, D, E and logical operators. Examples: "A AND B", "(A OR B) AND NOT C", "A XOR B NAND C"
Variable Support:
Up to 5 variables (A, B, C, D, E) for complex boolean function analysis
Export Options:
Download results as PDF or CSV for academic assignments and documentation
Truth Table Output
Automatically generated truth table shows all possible input combinations and corresponding boolean function outputs
Applications:
- • Digital circuit design verification
- • Boolean algebra homework and assignments
- • Logic gate network analysis
- • Computer science coursework support