How-to guides · 5 min read

FOIL Method: Multiplying Binomials Step by Step

FOIL Method: Multiplying Binomials Step by Step — illustration
In short: FOIL is a way to remember how to multiply two binomials: multiply the First, Outer, Inner and Last terms, then combine. For (x + 3)(x + 5) it gives x² + 5x + 3x + 15 = x² + 8x + 15.

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.

LetterWhich termsFor (x + 3)(x + 5)
F: FirstFirst term of each bracketx · x = x²
O: OuterThe two outside termsx · 5 = 5x
I: InnerThe two inside terms3 · x = 3x
L: LastLast term of each bracket3 · 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.

x · x = x²5 · x = 5x3 · x = 3x3 · 5 = 15x+ 5x+ 3
Area model of (x + 3)(x + 5): x² + 5x + 3x + 15 = x² + 8x + 15.

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

ProductFOILCombined
(x + 3)(x + 5)x²5x3x15x² + 8x + 15
(2x − 3)(x + 4)2x²8x−3x−122x² + 5x − 12
(3x − 2)(4x − 5)12x²−15x−8x1012x² − 23x + 10
(x − 6)(x + 6)x²6x−6x−36x² − 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
Answer12
Order-of-operations steps 5 steps

Start: (3 × 2 − 2) × (4 × 2 − 5)

  1. Multiply
    3 × 2 = 6→ (6 − 2) × (4 × 2 − 5)
  2. Multiply
    4 × 2 = 8→ (6 − 2) × (8 − 5)
  3. Subtract
    6 − 2 = 4→ 4 × (8 − 5)
  4. Subtract
    8 − 5 = 3→ 4 × 3
  5. 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.

PatternResultExample
(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.

Written and reviewed by Mateuss M.

Mateuss M. writes and reviews mathematical content for CalcSolver, focusing on online calculators, formulas, equations, and practical math tools. He reviews calculator functionality, calculation methods, formulas, examples, and explanations to help ensure that each tool is clear, useful, and easy to understand.

Keep reading