This tool helps you determine whether two logical statements are equivalent.

## Logical Equivalence Calculator

This calculator determines the logical equivalence between two expressions based on the provided logical operator. The supported operators are AND, OR, and NOT.

### How to use it:

- Enter the first logical expression in Expression 1.
- Select the logical operator.
- Enter the second logical expression in Expression 2 (ignored if NOT is selected).
- Click the Calculate button.
- The result will display whether the provided logical formula is true or false.

### How it calculates:

The calculator interprets the logical expressions as JavaScript boolean expressions. For example, you can use “1 == 1” for a true expression and “1 == 0” for a false expression.

If the NOT operator is selected, only the first expression will be evaluated, and its negation will be returned as the result.

### Limitations:

- The expressions must be valid JavaScript boolean expressions.
- Complex boolean logic should be simplified into basic operations.
- Input values must evaluate to true or false.