SOP vs POS: which form should you use?
By K-Map Solver · · 3 min read

In this article
Every Boolean function can be written two ways. A sum of products (SOP) is an OR of AND terms, like AB + AC + BC. A product of sums (POS) is an AND of OR terms, like (A+B)(A+C)(B+C). They are equal; the only question is which one is cheaper to build.
How to read each form from the map
- SOP: group the 1s. Each group is an AND of the variables that stay fixed, written in true form when the variable is 1 and complemented when it is 0.
- POS: group the 0s. Each group is an OR of the variables that stay fixed, but the polarity is reversed: a variable that is 0 appears plain and a variable that is 1 appears complemented.
The reversal comes from De Morgan's law. Grouping the zeros gives you a simplified form of the complement of F, and complementing that expression turns the products into sums.
A function where both forms are the same size
The three-input majority function is 1 when at least two inputs are 1. Both forms need three terms of two literals.
Worked example: sum of products
Grouping the ones gives three pairs.
F = Σm(3, 5, 6, 7)
Simplified result
F = BC + AC + AB
- BC — minterms (3, 7)
- AC — minterms (5, 7)
- AB — minterms (6, 7)
Worked example: product of sums
Grouping the zeros of the same function gives three sums.
F = ΠM(0, 1, 2, 4)
Simplified result
F = (B+C)(A+C)(A+B)
- (B+C) — maxterms (0, 4)
- (A+C) — maxterms (0, 2)
- (A+B) — maxterms (0, 1)
A function where POS wins
Take F = (A + B)(C + D). It is true whenever at least one of A, B is 1 and at least one of C, D is 1. The ones are scattered into nine cells, so the SOP needs four overlapping groups; the zeros form two tidy bands.
Worked example: sum of products
As a sum of products: four terms and eight literals.
F = Σm(5, 6, 7, 9, 10, 11, 13, 14, 15)
Simplified result
F = BD + BC + AD + AC
- BD — minterms (5, 7, 13, 15)
- BC — minterms (6, 7, 14, 15)
- AD — minterms (9, 11, 13, 15)
- AC — minterms (10, 11, 14, 15)
Worked example: product of sums
As a product of sums: two terms and four literals, half the size.
F = ΠM(0, 1, 2, 3, 4, 8, 12)
Simplified result
F = (C+D)(A+B)
- (C+D) — maxterms (0, 4, 8, 12)
- (A+B) — maxterms (0, 1, 2, 3)
A quick way to choose
- Few ones, many zeros: SOP usually has less to cover.
- Few zeros, many ones: POS usually has less to cover.
- Building with NAND gates only: SOP maps straight onto a NAND–NAND network.
- Building with NOR gates only: POS maps straight onto a NOR–NOR network.
- When unsure, solve both and compare the term and literal counts, which is a one-click switch in the solver.