Boolean Expression Calculator
Evaluate boolean expressions with variables and logical operators (AND, OR, NOT). Supports truth tables and simplification.
Was this calculator helpful?
How to use this tool?
Step 1: Enter a boolean expression in the Expression field. Use AND, OR, NOT, parentheses, and single-letter variables (A-Z). Example: (A AND B) OR (NOT C).
Step 2: As you type, the calculator automatically detects variables and displays dropdown menus for each. Assign each variable a value: 1 (True) or 0 (False).
Step 3: Click the Evaluate button. The result shows as True (1) or False (0).
Step 4: Review the Steps section to see the calculation process step-by-step, including variable substitutions and logical operations.
Tips:
- Use only single letters (A-Z) for variable names. Words like
TRUEandFALSEare reserved constants. - Ensure parentheses are balanced for complex expressions.
- The calculator updates variable inputs automatically as you edit the expression.
Previous Results
| Result | Inputs | Date |
|---|
Frequently Asked Questions
A boolean expression is a logical statement that evaluates to either true (1) or false (0) using variables and logical operators like AND, OR, and NOT.
Enter your expression using variables (single letters A-Z) and operators (AND, OR, NOT, parentheses). Then assign values (1 or 0) to each variable and click Evaluate.
No, only single letters A-Z are supported. Operators must be in uppercase (AND, OR, NOT).