DNF / CNF
Calculate DNF / CNF instantly with the exact formula and a worked example.
DNF / CNF
Number of variables n
Truth-table rows where f = 1
Canonical DNF length (literals)
12
Truth-table rows
8
Minterms in canonical DNF
4
Maxterms in canonical CNF
4
Canonical CNF length (literals)
12
More about: DNF / CNF
What it calculates
The “DNF / CNF” calculator computes Canonical DNF length (literals) from 2 parameters: number of variables n, truth-table rows where f = 1.
A core calculation for studying, engineering tasks, and checking solutions.
Example calculation
With parameters Number of variables n = 3, Truth-table rows where f = 1 = 4 the result is 12.
How to use
- Enter number of variables n and truth-table rows where f = 1 — each field above is adjustable with a slider.
- Canonical DNF length (literals) is calculated automatically as you type.
- Check the worked example below to see the formula applied to real numbers.
- Copy the result or bookmark this calculator.
Related calculators
FAQ
How is DNF / CNF calculated?
The DNF / CNF calculator computes Canonical DNF length (literals) from number of variables n, truth-table rows where f = 1. Enter your values above and the exact formula is applied instantly; a worked example with real numbers is shown below.
Is the DNF / CNF calculator free?
Yes. It is completely free, needs no signup, runs entirely in your browser, and sends no data to any server.
More calculators in this category
Explore related free tools