Boolean Algebra Calculator
Simplifying a Boolean expression by hand means juggling half a dozen laws and hoping nothing slipped. Our boolean algebra calculator simplifies any logic expression step by step, generates full truth table and shows exactly which law was applied at each stage, so the working teaches you method rather than just handing over an answer.
Boolean Logic Solver
Truth Table Hint
AND is only true if both are true. OR is true if at least one is true. XOR is true if exactly one is true (they must be different). NAND and NOR are the inverted versions of AND and OR.
How the Boolean Algebra Calculator Works
Type your expression using standard notation and choose whether you want it simplified, evaluated or turned into a truth table. The calculator parses variables, applies the laws of Boolean algebra in sequence and displays every transformation until the expression reaches its simplest equivalent form.
Common input notation: + for OR, . or simple adjacency for AND and an apostrophe or for NOT, so A’B + AB’ reads as NOT A AND B, OR A AND NOT B. Brackets group terms exactly as in ordinary algebra.
The Laws of Boolean Algebra
A small set of laws powers every simplification:
- Identity: A + 0 = A and A . 1 = A
- Null: A + 1 = 1 and A . 0 = 0
- Idempotent: A + A = A and A . A = A
- Complement: A + A’ = 1 and A . A’ = 0
- Double negation: (A’)’ = A
- Absorption: A + AB = A
- Distributive: A(B + C) = AB + AC
- De Morgan’s theorems: (AB)’ = A’ + B’ and (A + B)’ = A’ . B’
De Morgan’s theorems do heaviest lifting in exam questions because they let you push a NOT inside a bracket by swapping AND for OR. If a simplification feels stuck, applying De Morgan’s is usually way through.
Worked Example
Simplify A + A’B:
- Distribute using the identity A + A’B = (A + A’)(A + B)
- A + A’ = 1 by the complement law
- 1 . (A + B) = A + B by the identity law
So A + A’B simplifies to A + B, saving a gate in any circuit built from it. The calculator lays out these same steps for any expression you enter.
Truth Tables and Logic Gates
A truth table lists every combination of input values with resulting output, which makes it definitive way to prove two expressions are equivalent, identical tables mean identical logic. Two variables give 4 rows, three give 8 and each extra variable doubles count, which is exactly why calculator becomes useful beyond three variables.
Each Boolean operator corresponds to a physical logic gate, AND, OR and NOT are fundamentals, while NAND, NOR, XOR and XNOR combine them. Simplifying an expression before building it means fewer gates, in circuit design fewer gates means lower cost, less power and faster switching. That link between the algebra and the hardware is the whole point of the subject.
Boolean Algebra for GCSE and A Level Computer Science
Boolean logic sits in every UK Computer Science specification and notation varies by level. GCSE papers mostly use written operators and truth tables, while A Level introduces algebraic notation with overbars or apostrophes for NOT, plus simplification using the laws above and Karnaugh maps on some specifications.
The step by step output here matches working examiners expect, name the law, apply it, write new expression. Practise on paper first and use calculator to check each line, because spotting exactly where your working diverges is the fastest way to fix a misunderstood law.
Boolean Algebra Calculator FAQs
References & Authorities
- • GCSE computer science subject content, GOV.UK
- • Boolean algebra foundations, George Boole archive, University College Cork
Explore CalZone's Specialist UK Calculators
Plan your home, property, business tax, automotive costs, and daily health metrics with our specialist tools.
Construction & DIY
- Concrete Calculator UK
- Concrete Weight Calculator
- Brick Calculator UK
- Brick Block Calculator
- Plastering Cost Calculator
- Scaffolding Cost Calculator
- Skip Sizing Calculator
- Sand & Cement Calculator
- Block Paving Calculator
- Decking Calculator UK
- Decking Cost Calculator
- Turf Calculator UK
- Soakaway Calculator UK
- Sleeper Retaining Wall
- Fence Panel Calculator
- Closeboard Fencing Calculator
- Gravel Board Calculator
- Joist Span Calculator
- Rafter Calculator UK
- Lintel Sizing Calculator
Property & Utilities
- Conservatory Cost Calculator
- Dormer Loft Cost Calculator
- Double Glazing Cost
- Loft Conversion Cost
- House Extension Calculator
- House Survey Cost Calculator
- Flat Roof Replacement Cost
- Garage Roof Cost Calculator
- EPC Improvement Cost
- Electricity Cost Calculator
- Gas Bill Calculator UK
- Boiler Replacement Cost
- Heat Pump Cost Calculator
- Underfloor Heating Sizing
- Radiator BTU Calculator
- Radiator Cover Sizing
- Extractor Fan Calculator
- Water Cylinder Sizing
- Loft Insulation Calculator
- Cavity Wall Insulation Cost
Finance & Tax
- Income Tax Calculator UK
- Salary Calculator UK
- VAT Calculator UK
- Mortgage Calculator UK
- Corporation Tax Calculator
- Inheritance Tax Calculator
- Dividend Tax Calculator
- Capital Gains Tax Calculator
- Stocks & Shares ISA
- Compound Interest Calculator
- Investment Growth Calculator
- Dividend Yield Calculator
- P/E Ratio Calculator UK
- Share Dealing Fee Calculator
- Share Dealing Stamp Duty
- Loan Calculator UK
- Universal Credit Calculator
- Child Benefit Calculator
- Council Tax Calculator
- Annual Leave Calculator
Health & Fitness
- BMI Calculator UK
- Calorie Deficit Calculator
- Water Intake Calculator
- Visceral Fat Calculator
- Ideal Weight Calculator
- VO2 Max Calculator
- Sleep Time Calculator
- Intermittent Fasting
- BMR Weight Loss Calculator
- Breastfeeding Calories UK
- Child BMI Calculator
- Dog Calorie Calculator
- Cat Weight Calculator
- Fuel Cost Calculator UK
- EV Charger Calculator
- Car Insurance Cost Calculator
- Car Depreciation Calculator
- Journey Cost Calculator
- Speeding Fine Calculator
- School Age Calculator UK