Skip to main content

Boolean Algebra Simplifier

Simplify boolean expressions using algebraic identities. Supports AND, OR, NOT, and XOR operations with automatic truth table generation.

Ad (leaderboard)
&

Simplify Boolean Expression

Operators: AND (&), OR (|), NOT (!~), XOR (^). Use parentheses for grouping. Variables: A-Z.

Simplified

Truth Table

Rate this tool
0.0 / 5 · 0 ratings

Embed This

Add this calculator to your website for free. Copy the single line of code below and paste it into your HTML. The calculator auto-resizes to fit your page.

<script src="https://calchammer.com/embed.js" data-calculator="boolean-algebra-simplifier" data-category="math"></script>
data-theme "light", "dark", or "auto"
data-values Pre-fill inputs, e.g. "amount=1000"
data-max-width Max width, e.g. "600px"
data-border "true" or "false"
Or use an iframe instead
<iframe src="https://calchammer.com/embed/math/boolean-algebra-simplifier" width="100%" height="500" style="border:none;border-radius:12px;" title="Boolean Algebra Calculator"></iframe>

Preview

yoursite.com/blog
Boolean Algebra Calculator auto-resizes here
Ad (in_results)

How to Use the Boolean Algebra Simplifier

Type a boolean expression using variables (A, B, C, etc.) and operators (AND, OR, NOT, XOR). The tool instantly simplifies the expression using standard boolean algebra identities and generates the truth table. You can use alternative notation: & for AND, | for OR, ! or ~ for NOT, ^ for XOR.

For example, entering A AND (B OR NOT B) simplifies to A because B OR NOT B is always true (complement law), and A AND 1 = A (identity law).

Boolean Algebra Laws

The simplifier applies these fundamental boolean algebra laws:

  • Identity: A AND 1 = A, A OR 0 = A
  • Annihilation: A AND 0 = 0, A OR 1 = 1
  • Idempotent: A AND A = A, A OR A = A
  • Complement: A AND NOT A = 0, A OR NOT A = 1
  • Double negation: NOT NOT A = A
  • XOR: A XOR 0 = A, A XOR A = 0, A XOR 1 = NOT A

Applications

Boolean algebra is the foundation of digital circuit design, programming (conditional logic), database queries (SQL WHERE clauses), search engine queries, and formal logic. Simplifying boolean expressions reduces the number of logic gates needed in hardware circuits, lowers power consumption, and improves execution speed in software.

Frequently Asked Questions

What is boolean algebra?

A branch of algebra where variables are true (1) or false (0), with fundamental operations AND, OR, and NOT.

How does the simplifier work?

It parses the expression and applies algebraic identities like identity, annihilation, idempotent, complement, and double negation laws.

What notation can I use?

AND (&), OR (|), NOT (! or ~), XOR (^), parentheses, postfix NOT (A'), and 0/1 literals.

What is a truth table?

A table listing all possible input combinations and the output for each. For n variables there are 2^n rows.

What is XOR?

Exclusive OR: returns true when exactly one operand is true. Used in cryptography and error detection.

Related Calculators

You Might Also Need

Disclaimer: This calculator is for informational and educational purposes only. Results are estimates and should not be considered professional expert advice. Consult a qualified professional before making decisions based on these calculations. See our full Disclaimer.