Boolean Algebra Calculator

Perform Boolean algebra operations, generate truth tables, and simplify Boolean expressions

Boolean Operations

A:
B:
Loading calculators...

How to Use This Calculator

1

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.

2

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.

3

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.

4

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

1

Boolean algebra deals with variables that can have only two values: true (1) or false (0)

2

AND operation (A • B or A * B): Result is true only if both inputs are true

3

OR operation (A + B): Result is true if at least one input is true

4

NOT operation (¬A or ~A): Inverts the input value

5

XOR operation (A ⊕ B): Result is true if inputs are different

6

NAND is the complement of AND: NOT(AND(A, B))

7

NOR is the complement of OR: NOT(OR(A, B))

8

XNOR is the complement of XOR: NOT(XOR(A, B))

9

Truth tables show all possible input combinations and their corresponding outputs

10

Boolean expressions can be simplified using algebraic laws and Karnaugh maps

11

De Morgan's laws: ¬(A • B) = ¬A + ¬B and ¬(A + B) = ¬A • ¬B

12

Absorption law: A + (A • B) = A and A • (A + B) = A

Frequently Asked Questions

Boolean Algebra Calculator for Logic