Truth Table Generator

Truth table generator — every combination, plus the waveform, instantly.

Type a Boolean expression, or build it visually on the K-Map, and get the complete truth table with every input combination and its output — rendered as a timing waveform right below it.

Handles 2 to 6 variables, marks don't-care rows clearly, and stays in sync with LogicBench's K-Map, Quine-McCluskey, and circuit diagram tools — so a truth table, a minimized expression, a proof, and a gate-level schematic are always views of the same problem, not separate tools you redo work in. The waveform view is what most standalone truth-table generators skip: seeing the same data as a signal-level timing diagram is exactly how you'd check a real circuit's behavior on a logic analyzer, which is what LogicBench's simulator gives you next.

Screenshot of the LogicBench Truth Table Generator — Truth table generator — every combination, plus the waveform, instantly.
Open Truth Table Generator
How it works

4 steps, no signup.

01

Enter an expression

Type any Boolean expression using standard operators, or start from a K-Map instead.

02

Generate the table

Every input combination and its output is filled in automatically, don't-cares included.

03

Check the waveform

See the same truth table rendered as a timing waveform for a clearer signal-level view.

04

Reuse it anywhere

The same data feeds directly into the K-Map, Quine-McCluskey, and circuit diagram tools — and the buildable circuit.

Built for the whole bench

Solve it here, then wire it for real.

Every result in the Digital Logic Suite can be built directly in LogicBench’s simulator with real 74-series ICs — no retyping equations, no redrawing circuits by hand.

Launch the simulator
Common questions

FAQ

What is a truth table?

A truth table lists every possible combination of input values for a Boolean expression or circuit, along with the resulting output for each one — the standard way to fully define digital logic behavior.

Can I generate a truth table from a circuit instead of an expression?

Yes — build the logic on the K-Map or circuit tools and the truth table generates automatically from it, so you don't have to work out every row by hand.

Does it show a waveform, not just a table?

Yes — the same truth table data is rendered as a timing-diagram waveform directly below the table, which is closer to how you'd read the signal on a real logic analyzer.

How many inputs can the truth table generator handle?

2 to 6 input variables, matching the range of LogicBench's K-Map and Quine-McCluskey tools so all three stay consistent with each other.

More in the suite

The rest of the Digital Logic Suite.

Start solving — no signup.

Free, in your browser, and connected to a real IC simulator.

Open the tool