Boolean Algebra Calculator

Boolean Algebra Calculator 2026 | Simplify Expressions & Truth Tables
A·B
A+B
¬A
calculatorsonline.co.uk

Boolean Algebra Calculator 2026

Evaluate logical expressions, generate complete truth tables, and explore Boolean laws. Supports AND, OR, NOT, XOR, NAND and NOR — ideal for students, engineers and developers.

Expression Evaluator
📋 Truth Table Generator
🔁 XOR / NAND / NOR
📐 Boolean Laws Reference

Expression Builder

Enter a Boolean expression using variables A–Z and operators below

✏️ Boolean Expression

Use variables A–Z (uppercase). Parentheses supported for grouping.

Also accepts: && · & for AND  | || + for OR   ! ~ for NOT   ^ for XOR

A AND B A OR B OR C NOT A AND B A XOR B (A OR B) AND NOT C A NAND B NOT (A AND B) OR C A AND (B OR C) AND NOT D

⚙️ Output Options

Truth Table generates all possible input combinations. Single Evaluation lets you set each variable manually.

Result

Expression output, truth table & variable summary

⚙️

Enter a Boolean expression above and click Evaluate Expression to see the full truth table and result.

Boolean Laws & Identities

Fundamental Boolean algebra laws used in digital circuit simplification, logic design, and programming. Apply these to reduce complex expressions to their simplest form.

Law Name Expression Form 1 Expression Form 2 (Dual) Description
IdentityA AND 1 = AA OR 0 = ANo change with identity element
Null / AnnihilatorA AND 0 = 0A OR 1 = 1Null element dominates
IdempotentA AND A = AA OR A = ARedundant inputs cancel
ComplementA AND NOT A = 0A OR NOT A = 1Variable + its inverse
Double NegationNOT (NOT A) = ATwo negations cancel out
CommutativeA AND B = B AND AA OR B = B OR AOrder does not matter
Associative(A AND B) AND C = A AND (B AND C)(A OR B) OR C = A OR (B OR C)Grouping does not matter
DistributiveA AND (B OR C) = (A AND B) OR (A AND C)A OR (B AND C) = (A OR B) AND (A OR C)Expand across operator
De Morgan’sNOT(A AND B) = NOT A OR NOT BNOT(A OR B) = NOT A AND NOT BNegate compound expression
AbsorptionA AND (A OR B) = AA OR (A AND B) = ARedundant term absorbed

Boolean Algebra FAQ

Answers to common questions about Boolean logic, operators, truth tables, and how to use this calculator.

Boolean algebra is the mathematical foundation of digital logic circuits, computer processors, programming conditionals, and database query filters. It operates on variables that can only be true (1) or false (0), using operators like AND, OR, and NOT to define logical relationships.

This calculator supports AND (&& or ·), OR (|| or +), NOT (! or ~), XOR (^), NAND, NOR, and XNOR. Variables can be single letters (A–Z) and parentheses are fully supported for grouping sub-expressions.

A truth table lists every possible combination of input variable values (0 and 1) and shows the output for each combination. Each row represents one scenario. If your expression has 2 variables, there are 4 rows (2²). Three variables produce 8 rows (2³), and so on.

De Morgan’s theorem states two key equivalences: NOT(A AND B) equals (NOT A) OR (NOT B), and NOT(A OR B) equals (NOT A) AND (NOT B). These laws are fundamental to simplifying logic circuits and are widely used in digital design to convert NAND and NOR gates.

OR outputs 1 if at least one input is 1 (including when both are 1). XOR (exclusive OR) outputs 1 only when the inputs are different — it outputs 0 when both inputs are the same. XOR is used in adder circuits, parity checks, and encryption algorithms.

Similar Posts

  • Boxing Score Calculator

    Boxing Score Calculator | 10-Point Must System & Decision Predictor calculatorsonline.co.uk Boxing Score Calculator Calculate final scores, rounds won, and predict the type of decision (unanimous, split, majority, or draw) using the official 10-point must scoring system for professional boxing. 🥊 10-Point Must 📊 Scorecard 🔔 Rounds ⚖️ Decision Fight Scorecard Enter the judges’ scores…

  • Walking Calorie Calculator

    Walking Calorie Calculator | Steps, Distance & METs calculatorsonline.co.uk Walking Calorie Calculator Estimate the calories burned, distance covered, and steps taken during your walk. Uses scientific MET values to provide accurate results based on your weight, pace, and duration. 🔥 Calorie Burner 📏 Distance Tracker 👣 Step Counter ⏱️ Pace Guide Walking Calorie Estimator Find…

  • Epoxy Flooring Cost Calculator

    Epoxy Flooring Cost Calculator UK 2026 | Garage, Floor & Industrial Epoxy Prices calculatorsonline.co.uk Epoxy Flooring Cost Calculator Estimate the cost of epoxy flooring for your garage, floor, or industrial space in the UK. Calculate material costs, labour, surface preparation, and total project cost based on area, epoxy type, and installation method. 🏗️ UK Pricing…

  • Air Density Calculator

    Air Density Calculator 2026 | Temperature, Pressure & Humidity calculatorsonline.co.uk Air Density Calculator Calculate the density of air from temperature, atmospheric pressure, and relative humidity. Essential for aviation, HVAC, ballistics, motorsport, and atmospheric science. 🌡️ Temperature 🔵 Pressure 💧 Humidity 📊 kg/m³ & lb/ft³ Atmospheric Conditions Enter temperature, pressure, and humidity to calculate air density…

  • VO2 Max Calculator

    VO2 Max Calculator | Cooper Test & Rockport Walk Test calculatorsonline.co.uk VO2 Max Calculator Estimate your aerobic capacity and cardiovascular fitness using the Cooper 12-minute run test or the Rockport 1-mile walk test. Find your VO2 Max score and fitness rating instantly. 🫁 VO2 Max 🏃 Cooper Test 🚶 Rockport Walk 📊 Fitness Rating VO2…