The Complete Guide to the FOIL Method

Master the FOIL method from basics to advanced examples. Learn how First, Outer, Inner, Last gives you the expanded form of any binomial product.

Guide June 20, 2026 8 min read

The Complete Guide to the FOIL Method

The FOIL method is one of the most important techniques in algebra. If you've ever needed to multiply two binomials — expressions like (x + 3)(x - 5) — then FOIL is the systematic approach that ensures you never miss a term. In this guide, we'll break down every aspect of the method, from the basic concept to advanced examples.

What Does FOIL Stand For?

FOIL is a mnemonic acronym that stands for:

  • First — Multiply the first terms of each binomial
  • Outer — Multiply the outermost terms
  • Inner — Multiply the innermost terms
  • Last — Multiply the last terms of each binomial

When you multiply (a + b)(c + d), the FOIL method gives you:

(a + b)(c + d) = ac + ad + bc + bd

Why Does FOIL Work?

FOIL is actually just a structured way of applying the distributive property twice. When you see (a + b)(c + d), you're distributing each term in the first binomial across the second:

  • First, distribute a: a × (c + d) = ac + ad
  • Then, distribute b: b × (c + d) = bc + bd

Combining these gives ac + ad + bc + bd — the same four terms that FOIL produces. The mnemonic simply helps you remember the order so you don't miss any product.

Step-by-Step Example

Let's expand (2x + 3)(x - 4) using FOIL:

First: Multiply the first terms of each binomial.

2x × x = 2x²

Outer: Multiply the outer terms (first term of the first binomial × last term of the second).

2x × (-4) = -8x

Inner: Multiply the inner terms (last term of the first binomial × first term of the second).

3 × x = 3x

Last: Multiply the last terms of each binomial.

3 × (-4) = -12

Combine: Add all four products together.

2x² + (-8x) + 3x + (-12)

Simplify: Combine like terms (-8x and 3x).

(2x + 3)(x - 4) = 2x² - 5x - 12

More Examples

Example 2: (x + 5)(x + 2)

  • First: x × x = x²
  • Outer: x × 2 = 2x
  • Inner: 5 × x = 5x
  • Last: 5 × 2 = 10

Combine: x² + 2x + 5x + 10 = x² + 7x + 10

Example 3: (3x - 1)(2x + 7)

  • First: 3x × 2x = 6x²
  • Outer: 3x × 7 = 21x
  • Inner: (-1) × 2x = -2x
  • Last: (-1) × 7 = -7

Combine: 6x² + 21x - 2x - 7 = 6x² + 19x - 7

Example 4: Squaring a Binomial (x - 4)²

Remember: (x - 4)² means (x - 4)(x - 4)

  • First: x × x = x²
  • Outer: x × (-4) = -4x
  • Inner: (-4) × x = -4x
  • Last: (-4) × (-4) = 16

Combine: x² - 4x - 4x + 16 = x² - 8x + 16

When to Use FOIL

FOIL is specifically designed for multiplying two binomials (two-term expressions). Use it when you see:

  • (ax + b)(cx + d) — standard binomial multiplication
  • (a + b)² — squaring a binomial (rewrite as (a+b)(a+b) first)
  • (a + b)(a - b) — difference of squares pattern

For multiplying polynomials with more than two terms, you'll need the general distributive property (sometimes called the "extended FOIL" or grid method).

Tips for Success

  1. Watch your signs. The most common FOIL error is dropping a negative sign. Pay careful attention when multiplying negative terms.
  2. Always combine like terms. After finding all four products, look for terms with the same variable and exponent to simplify.
  3. Check your work. Substitute a number (like x = 1) into both the original expression and your answer. They should give the same value.
  4. Practice with our calculator. Use the FOIL Calculator to check your manual work and build confidence.

Try It Yourself

Ready to practice? Head to our FOIL Calculator and try expanding these expressions:

  • (x + 6)(x - 3)
  • (4x + 1)(2x - 5)
  • (x + 9)²
  • (3x - 2)(3x + 2)

Each one will show you the full FOIL breakdown with color-coded steps so you can verify your understanding.

← ব্লগ