Logic Gate Simulator
Boolean expression → truth table → K-map → logic circuit, live.
- Simplification to minimal form
- NAND-only / NOR-only conversions
- Gate and literal counts
- The circuit, drawn and probed live
LogicsBench is a logic gate simulator, truth table generator, Karnaugh map solver and 74-series breadboard simulator in one place. Write a Boolean expression and watch it become a truth table, a K-map, a minimized logic circuit and a real TTL chip layout — and when you'd rather be tested than taught, it writes exam-style practice problems and walks you through solving them.
Free to use, with no limits. Create an account to save your work — the calculators need no account at all.
There is only ever one function F. Write it, and the truth table, the map, the gate network, the breadboard plan and the chip layout are all the same thing seen from a different side — change any one of them and the rest follow.
Boolean expression → truth table → K-map → logic circuit, live.
Any logic circuit, wired from gates, run live and checked.
Your circuit as real 74-series ICs on a breadboard.
The Problem Generator is the other half of learning digital logic design, and it works the opposite way round: it writes the practice problem, hides the variables among things that only look like signals, and marks your answer step by step. Nothing carries over from the other tools — you start from a blank page, the way a quiz starts.
Exam-style word problems with distractors planted in the prose. You pick the real signals.
A greenhouse controller runs the exhaust fan when the heater is on and the vents are closed, or whenever the humidity alarm trips. The controller sits beside the blue watering can.
Type an expression and get the answer on the page. When the work outgrows a calculator, the same function opens in the full simulator.
Any Boolean expression, every row.
Open →K-map groups and the minimal SOP.
Open →Simplify an expression, step by step.
Open →Any function from one kind of gate.
Open →Looking something up? The logic gates reference has every symbol and truth table, the 74-series chip pages have each pinout, and the guides walk through every tool.
This is what the Problem Generator gives you. The walkthrough marks each step as you go, so you see exactly where a solution went wrong.
Explore Problem Generator →A greenhouse controller switches on the exhaust fan when the heater is running and the roof vents are closed, or whenever the humidity alarm trips. The controller box is painted blue, sits beside 40 tomato plants, and is checked by the caretaker every morning. Design the logic for the fan.
In the Problem Generator the answer stays hidden until you've worked it.
The fan is the output. Only three things decide it — the paint, the plants and the caretaker are scenery and change nothing.
Pick your own letters. The walkthrough follows your naming through every later step.
Rewrite each clause as a condition on your variables. "Vents closed" means V = 0.
Three inputs means 2³ = 8 rows. Mark F on each one.
Every row where F = 1 is a minterm. Together they give the unsimplified sum of products.
Circle the largest groups of 1s. Four cells give M; two cells give HV'.
Each group becomes one product term. Five terms collapse to two.
One inverter makes V', one AND makes HV', and one OR adds M.
Draw it the way the question asks. Your answer is tested on all 8 input rows, not matched to our wording — called it C for "vents closed"? F = M + HC passes too.
Adders, decoders, a multiplexer, a comparator and a first breadboard — each with its truth table, its equations, the chips that build it, and the circuit itself to switch and probe.
Circuits, breadboards and Boolean functions published by people using LogicsBench. Open any of them in its simulator, flip the switches, and fork a copy of your own to change.
Late-night lab sessions or a bright classroom projector.
Open it in a browser and start typing.
Every design is saved to your own projects, and can be exported whenever you like.
Seeded work: one number gives the whole class the identical problem.
When you run it locally, designs save straight to your drive.
Taking a digital logic course — working homework, quizzes and lab projects.
Plan it before touching a breadboard: chip count, package list, wiring plan, current draw.
An endless supply of quiz-shaped problems with worked answer keys. Share one seed and the whole class gets the identical problem.
seed 48213Hobbyists coming to digital logic from electronics or software.
No limits on gates, chips or practice problems, and no card. An account is only there so your work is saved and follows you to any device.
The three simulators — logic gate, circuit and breadboard — and the problem generator, in full.
Every practice problem comes with its nine-step walkthrough and a worked answer.
The truth table generator, K-map solver and Boolean algebra calculator open straight away.
Open it in your browser. No install — just sign in, or create a free account.