How-to guides · 5 min read
FOIL Method: Multiplying Binomials Step by Step

What FOIL is
A binomial has two terms, such as x + 3. To multiply two binomials, every term in the first bracket must multiply every term in the second. With two terms each that makes four products. FOIL is a memory device for listing those four products in order: First, Outer, Inner, Last.
| Letter | Which terms | For (x + 3)(x + 5) |
|---|---|---|
| F: First | First term of each bracket | x · x = x² |
| O: Outer | The two outside terms | x · 5 = 5x |
| I: Inner | The two inside terms | 3 · x = 3x |
| L: Last | Last term of each bracket | 3 · 5 = 15 |
Add the four results: x² + 5x + 3x + 15. Then combine like terms (5x + 3x = 8x) to get x² + 8x + 15.
Why it works: the area model
FOIL is not a separate rule; it is the distributive property applied twice. The picture below shows (x + 3)(x + 5) as a rectangle with sides x + 3 and x + 5. Its total area is the sum of the four smaller rectangles.
Each small rectangle matches one FOIL product, so nothing is missed. If you ever forget FOIL, drawing the box gives the same result and also works for brackets with more than two terms.
Worked examples with signs and coefficients
| Product | F | O | I | L | Combined |
|---|---|---|---|---|---|
| (x + 3)(x + 5) | x² | 5x | 3x | 15 | x² + 8x + 15 |
| (2x − 3)(x + 4) | 2x² | 8x | −3x | −12 | 2x² + 5x − 12 |
| (3x − 2)(4x − 5) | 12x² | −15x | −8x | 10 | 12x² − 23x + 10 |
| (x − 6)(x + 6) | x² | 6x | −6x | −36 | x² − 36 |
Take the third row, (3x − 2)(4x − 5): F gives 12x², O gives −15x, I gives −8x and L gives +10. Combining −15x and −8x gives −23x, so the result is 12x² − 23x + 10. Keep the sign with the term every time; most errors come from a dropped minus.
Check (3x − 2)(4x − 5) at x = 2: should equal 12(4) − 23(2) + 10
Order-of-operations steps 5 steps
Start: (3 × 2 − 2) × (4 × 2 − 5)
- Multiply
3 × 2 = 6→ (6 − 2) × (4 × 2 − 5) - Multiply
4 × 2 = 8→ (6 − 2) × (8 − 5) - Subtract
6 − 2 = 4→ 4 × (8 − 5) - Subtract
8 − 5 = 3→ 4 × 3 - Multiply
4 × 3 = 12→ 12
At x = 2 the expanded form gives 12, matching the factored form 12. Checking with a number is a quick way to validate any expansion.
Squaring a binomial
A very common trap is (x + 4)² = x² + 16. That is wrong. The square means (x + 4)(x + 4), so FOIL gives x² + 4x + 4x + 16 = x² + 8x + 16. The middle term is twice the product of the two terms.
| Pattern | Result | Example |
|---|---|---|
| (a + b)² | a² + 2ab + b² | (x + 4)² = x² + 8x + 16 |
| (a − b)² | a² − 2ab + b² | (x − 4)² = x² − 8x + 16 |
| (a + b)(a − b) | a² − b² | (x + 4)(x − 4) = x² − 16 |
In the last row the outer and inner terms cancel (−4x + 4x = 0), leaving a difference of squares. These patterns appear constantly, so they are worth memorising. The same patterns are used backwards when factoring, as in how to factor trinomials.
What FOIL does not cover
FOIL works only for two binomials. If one bracket has three terms, such as (x + 2)(x² + 3x + 1), you need the full distributive property: multiply each term of the first bracket by every term of the second, giving 2 × 3 = 6 products to add up.
- (x + 2)(x² + 3x + 1): x·x² + x·3x + x·1 + 2·x² + 2·3x + 2·1 = x³ + 3x² + x + 2x² + 6x + 2 = x³ + 5x² + 7x + 2.
- Check at x = 1: (3)(5) = 15 and 1 + 5 + 7 + 2 = 15. ✓
The takeaway is that the pattern is "everything times everything". FOIL is just a convenient order for the two-by-two case.
Common mistakes
- Forgetting the middle terms. (x + 3)(x + 5) is not x² + 15; the O and I terms add 8x.
- Sign slips. Multiply with signs, then combine: (−3)(−5) = +15.
- Not combining like terms. Only the O and I terms usually combine, since they are both in x.
- Squaring each term. (a + b)² ≠ a² + b².
- Using FOIL on non-binomials.
Check results with the add and subtract polynomials calculator or by solving the product equal to zero with the quadratic equation solver. See common algebra mistakes for more, and solve linear equations if brackets appear in an equation.
Frequently asked questions
What does FOIL stand for?
First, Outer, Inner, Last: the four pairs of terms you multiply when expanding two binomials.
Does FOIL work for trinomials?
No. For brackets with more than two terms, use the distributive property: multiply every term in one bracket by every term in the other.
Why is (x + 4)² not x² + 16?
Because (x + 4)² means (x + 4)(x + 4), and FOIL gives x² + 8x + 16. The middle term 8x is twice the product of x and 4.
How can I check a FOIL result?
Substitute a simple number for x into both the original product and your answer and confirm they give the same value.
Keep reading
How to Factor Trinomials Step by Step (With Examples)
Factor x² + bx + c and ax² + bx + c with the product-and-sum and AC methods. Worked examples, a check by FOIL and how to spot prime trinomials.
Study tips10 Common Algebra Mistakes (With Numbers That Prove They’re Wrong)
The ten algebra errors students make most often, each disproved with a quick numerical check — (a+b)² ≠ a²+b², √(a+b) ≠ √a+√b, and more.
Charts & referencesAlgebra Formulas Cheat Sheet: Identities, Exponents, Quadratics
The algebra formulas you need most: special products, exponent and log rules, the quadratic formula, slope and distance, with a worked check.
How-to guidesQuadratic Formula Step by Step: Worked Examples
Use the quadratic formula in five clear steps. Worked examples show two solutions, one repeated solution and no real solutions, with a graph.