A sum-of-products (SOP) expression is an OR of AND terms — products are summed. It directly maps onto a two-level circuit: a layer of AND gates feeding a single OR gate.

The canonical SOP form lists every minterm where :

For example, that’s on rows has canonical SOP

Five three-input ANDs and a five-input OR. Buildable, but huge.

The point of SOP is that it’s the most direct route from a truth table to a circuit. Once you have it, simplify — typically with a Karnaugh Map — to get a minimum-cost SOP that uses fewer literals and fewer gates while computing the same function.

A minimal SOP doesn’t have to use full minterms. After simplification a term might collapse to just , which still represents an AND term but covers multiple minterms (here, all rows where and , regardless of ).

SOP pairs with POS. Either form represents the same function; pick whichever leads to fewer gates after minimization. Typically: if the truth table has fewer s than s, SOP wins; otherwise POS does.

In hardware terms an SOP circuit has two levels of gates after the inputs (one level of NOTs to make the complemented literals, then ANDs, then an OR). Two-level circuits have predictable propagation delay — every output path passes through exactly two gates of logic. See Multilevel synthesis for when it’s worth trading that off for more levels with smaller gates.