FOIL Calculator
Free FOIL calculator: expand the product of two binomials using the FOIL method. See First, Outer, Inner, Last multiplic
Calculator
Your Results
Enter your values and click Calculate to see results
How the FOIL Calculator Works
The FOIL calculator (1,600 monthly searches) multiplies two binomials using the FOIL method: First, Outer, Inner, Last. The related term "foil method calculator" adds another 1,600 searches, and "expand binomials calculator" adds 1,300. Together these come from algebra students who know the method but want to verify their step-by-step work. FOIL is technically a mnemonic for the distributive property applied twice: (a+b)(c+d) = a(c+d) + b(c+d) = ac + ad + bc + bd.
Example: (x+3)(x−5): F = x·x = x2; O = x·(−5) = −5x; I = 3·x = 3x; L = 3·(−5) = −15. Sum: x2 + (−5x + 3x) − 15 = x2 − 2x − 15. The calculator shows each term separately before combining like terms.
Common FOIL Patterns
- (x+a)(x+b) = x2 + (a+b)x + ab
- (x+a)(x-a) = x2 - a2 (difference of squares — outer and inner terms cancel)
- (x+a)2 = x2 + 2ax + a2 (perfect square)
- (x-a)2 = x2 - 2ax + a2 (perfect square)
Expand Binomials Calculator: Common Patterns to Know
Using the expand binomials calculator (1,300 monthly searches) is faster for one-offs, but recognizing common patterns saves time on exams:
- Perfect square (sum): (a+b)2 = a2 + 2ab + b2. Example: (x+5)2 = x2 + 10x + 25
- Perfect square (difference): (a−b)2 = a2 − 2ab + b2. Example: (x−3)2 = x2 − 6x + 9
- Difference of squares: (a+b)(a−b) = a2 − b2. Example: (x+7)(x−7) = x2 − 49
- Generic binomials: (x+a)(x+b) = x2 + (a+b)x + ab. The coefficient of x is the sum of a and b; the constant is their product.
The last pattern is the reverse of factoring — recognizing it helps you factor quadratics: to factor x2 + 7x + 12, find two numbers adding to 7 and multiplying to 12 (3 and 4) → (x+3)(x+4).
FOIL in Reverse: How Expanding Leads to Factoring
FOIL expansion and polynomial factoring are inverse operations. When you expand (x+2)(x+5) using FOIL you get x2 + 7x + 10. Going the other direction: to factor x2 + 7x + 10, look for two numbers that multiply to 10 and add to 7 — those are 2 and 5 → (x+2)(x+5). This bidirectional relationship is why algebra teachers teach FOIL and factoring together. Mastering FOIL makes factoring intuitive, and vice versa.
Frequently Asked Questions
Does FOIL work for trinomials?
FOIL specifically applies to multiplying two binomials. For trinomials and higher, use the distributive property: multiply each term of the first polynomial by every term of the second. (a+b+c)(d+e) requires 6 multiplications. A mnemonic like "FOIL" doesn't extend directly, but the systematic distributive property always works: every term in the first factor multiplies every term in the second.
What is the FOIL method used for in real life?
FOIL multiplication appears anywhere quadratic expressions arise. In physics: kinematic equations often require expanding squared velocity terms. In economics: profit functions P = (price - cost) × quantity expand as quadratics. In geometry: area of an irregular rectangle can be expressed as (a+b)(c+d). In statistics: variance calculations involve squaring expressions like (x - μ)2 = x2 - 2μx + μ2. In finance: compound interest accumulation over multiple periods involves polynomial expansions. Understanding the FOIL method is foundational to interpreting quadratic models in any quantitative field.