SOP and POS Calculator

Convert Boolean expressions to Sum of Products (SOP) and Product of Sums (POS) canonical forms. Get minterms (Σm) and maxterms (ΠM) notation with circuit visualization.

Enter Boolean Expression

Operators: + (OR), · or implicit (AND), ' (NOT), ⊕ or ^ (XOR)

What is SOP/POS?

SOP (Sum of Products):

OR of AND terms. Each minterm is a product of all variables.

Σm(0,1,3) = A'B' + A'B + AB

POS (Product of Sums):

AND of OR terms. Each maxterm is a sum of all variables.

ΠM(2) = (A' + B)

How to Convert SOP to POS: Step by Step

A sum of products (SOP) is an OR of AND terms. A product of sums (POS) is an AND of OR terms. Any function can be written either way, and this SOP to POS converter shows both. Here is how to do the conversion by hand, so you can check your own work.

Steps to convert SOP to POS

  1. List the minterm numbers where F = 1 (the SOP terms).
  2. List the numbers that are missing. These are the rows where F = 0, called maxterms.
  3. Write each missing number in binary. For every variable, write it as itself if its bit is 0, and complemented if its bit is 1.
  4. Join the variables of each row with OR to make one sum term.
  5. Multiply (AND) all the sum terms together, then simplify with the Boolean laws.

Example 1: F = m(0,1,3) with variables A, B

  1. Minterms present: 0, 1, 3. The missing number is 2.
  2. 2 in binary is 10, so A = 1 and B = 0.
  3. A is 1, so write A'. B is 0, so write B. The sum term is (A' + B).
  4. Result: F = (A' + B)
  5. Check: A'B' + A'B + AB = A' + AB = A' + B. Both forms are equal.

Example 2: F = AB + A'C with variables A, B, C

  1. AB gives rows 6 and 7. A'C gives rows 1 and 3. So F = m(1,3,6,7).
  2. The missing numbers are 0, 2, 4 and 5.
  3. Sum terms: 0 = 000 gives (A + B + C). 2 = 010 gives (A + B' + C). 4 = 100 gives (A' + B + C). 5 = 101 gives (A' + B + C').
  4. Multiply them: (A + B + C)(A + B' + C)(A' + B + C)(A' + B + C').
  5. The first two terms combine to (A + C), because B B' = 0. The last two combine to (A' + B).
  6. Result: F = (A + C)(A' + B)

Common mistakes when converting SOP to POS

  • Using the rows where F = 1. A POS is built from the rows where F = 0.
  • Using the minterm rule for the complements. In a sum term, a 0 bit is written plain and a 1 bit is complemented.
  • Writing AND inside the terms. Each term is an OR, and the terms are joined by AND.
  • Stopping before simplifying. Check for terms like (A + C) hiding inside a longer product.

SOP and POS: quick answers

What is the difference between SOP and POS? SOP groups the cases where the output is 1 with OR. POS groups the cases where the output is 0 with AND. Both describe the same truth table.

Want to see it on a map? Try the K-Map solver, or use the calculator above to check any SOP to POS conversion.