FOIL Method • Binomial Multiplication • Algebra Expansion

FOIL Calculator

Use this FOIL Calculator to multiply two binomials and expand expressions such as \( (2x+3)(4x-5) \). The calculator shows the First, Outer, Inner, and Last products, combines like terms, and gives the final expanded trinomial.

FOIL is a shortcut for multiplying two binomials. The letters stand for First, Outer, Inner, and Last. If the binomials are \( (ax+b)(cx+d) \), the expanded result is \( acx^2+(ad+bc)x+bd \). This page includes a working calculator, formulas, examples, method explanation, common mistakes, and FAQs.

Expand binomials Show FOIL steps Combine like terms Check factoring

FOIL formula

For two binomials
\[ (ax+b)(cx+d) \] \[ =acx^2+adx+bcx+bd \] \[ =acx^2+(ad+bc)x+bd \]

FOIL works for multiplying exactly two binomials. For larger products, use distribution or polynomial multiplication.

Multiply two binomials

Enter coefficients for \( (ax+b)(cx+d) \). For example, \( (2x+3)(4x-5) \) has \(a=2\), \(b=3\), \(c=4\), and \(d=-5\).

Tip: Use negative values directly. For \( (3x-2)(x+7) \), enter \(a=3\), \(b=-2\), \(c=1\), and \(d=7\).

Result

Enter values and press expand.

What is the FOIL method?

The FOIL method is a shortcut for multiplying two binomials. A binomial is an algebraic expression with two terms, such as \(x+3\), \(2x-5\), or \(ax+b\). When two binomials are multiplied, every term in the first binomial must multiply every term in the second binomial. FOIL gives a simple order for doing that multiplication.

FOIL stands for First, Outer, Inner, and Last. “First” means multiply the first terms in each binomial. “Outer” means multiply the two outside terms. “Inner” means multiply the two inside terms. “Last” means multiply the last terms in each binomial. After all four products are found, the middle terms are usually combined because they are like terms.

For example, in \( (x+3)(x+4) \), the first terms are \(x\) and \(x\), the outer terms are \(x\) and \(4\), the inner terms are \(3\) and \(x\), and the last terms are \(3\) and \(4\). This gives \(x^2+4x+3x+12\), which simplifies to \(x^2+7x+12\).

FOIL is not a new multiplication law. It is a memory device for the distributive property. The distributive property says every term in one factor must multiply every term in the other factor. FOIL works because two binomials have exactly four pairwise products. If you multiply a binomial by a trinomial, FOIL is not enough because there are more than four products.

FOIL formula and meaning

The general form of two linear binomials is:

Two-binomial product
\[ (ax+b)(cx+d) \]

Apply FOIL:

FOIL expansion
\[ (ax+b)(cx+d) = \underbrace{acx^2}_{\text{First}} + \underbrace{adx}_{\text{Outer}} + \underbrace{bcx}_{\text{Inner}} + \underbrace{bd}_{\text{Last}} \]

Since \(adx\) and \(bcx\) are like terms, combine them:

Standard form
\[ (ax+b)(cx+d)=acx^2+(ad+bc)x+bd \]
FOIL letter Meaning Product for \( (ax+b)(cx+d) \)
F First terms \(ax\cdot cx=acx^2\)
O Outer terms \(ax\cdot d=adx\)
I Inner terms \(b\cdot cx=bcx\)
L Last terms \(b\cdot d=bd\)

How to use the FOIL calculator

The calculator uses the form \( (ax+b)(cx+d) \). You enter four values: \(a\), \(b\), \(c\), and \(d\). It then calculates the four FOIL products and combines the middle terms.

  1. Identify the first binomial. Write it as \(ax+b\). The number multiplying \(x\) is \(a\), and the constant is \(b\).
  2. Identify the second binomial. Write it as \(cx+d\). The number multiplying \(x\) is \(c\), and the constant is \(d\).
  3. Enter the coefficients. Type negative constants as negative numbers. For \(2x-5\), enter the constant as \(-5\).
  4. Calculate the four FOIL products. The calculator finds First \(acx^2\), Outer \(adx\), Inner \(bcx\), and Last \(bd\).
  5. Combine like terms. The outer and inner terms both contain \(x\), so they combine into \((ad+bc)x\).
  6. Read the final trinomial. The final answer is written in standard form \(Ax^2+Bx+C\).
  7. Check by distribution. If you expand the answer backward, it should match the original binomial product.

Worked example 1: Expand \( (x+3)(x+4) \)

Start with:

\[ (x+3)(x+4) \]

Apply FOIL:

\[ \text{First: } x\cdot x=x^2 \] \[ \text{Outer: } x\cdot 4=4x \] \[ \text{Inner: } 3\cdot x=3x \] \[ \text{Last: } 3\cdot4=12 \]

Put the products together:

\[ x^2+4x+3x+12 \]

Combine like terms:

\[ x^2+7x+12 \]

Therefore:

\[ (x+3)(x+4)=x^2+7x+12 \]

Worked example 2: Expand \( (2x+3)(4x-5) \)

This example has coefficients other than \(1\), so careful multiplication is important.

\[ (2x+3)(4x-5) \]

Apply FOIL:

\[ \text{First: } 2x\cdot4x=8x^2 \] \[ \text{Outer: } 2x\cdot(-5)=-10x \] \[ \text{Inner: } 3\cdot4x=12x \] \[ \text{Last: } 3\cdot(-5)=-15 \]

Combine the terms:

\[ 8x^2-10x+12x-15 \] \[ 8x^2+2x-15 \]

So:

\[ (2x+3)(4x-5)=8x^2+2x-15 \]

Worked example 3: Expand \( (3x-2)(x+7) \)

Start with:

\[ (3x-2)(x+7) \]

Apply FOIL:

\[ \text{First: } 3x\cdot x=3x^2 \] \[ \text{Outer: } 3x\cdot7=21x \] \[ \text{Inner: } (-2)\cdot x=-2x \] \[ \text{Last: } (-2)\cdot7=-14 \]

Combine the middle terms:

\[ 3x^2+21x-2x-14 \] \[ 3x^2+19x-14 \]

Therefore:

\[ (3x-2)(x+7)=3x^2+19x-14 \]

FOIL and the distributive property

FOIL is a shortcut, but the reason it works is the distributive property. When multiplying \( (a+b)(c+d) \), the first binomial must distribute over both terms in the second binomial:

\[ (a+b)(c+d)=a(c+d)+b(c+d) \]

Then distribute again:

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

This is the same four-product pattern as FOIL. The FOIL method just names the order of the products to help students remember each multiplication. If you understand distribution, you can multiply any polynomials, not just binomials.

FOIL and factoring trinomials

FOIL is the reverse of factoring. When you FOIL two binomials, you expand them into a trinomial. When you factor a trinomial, you try to rewrite it as a product of binomials. For example:

\[ (x+3)(x+4)=x^2+7x+12 \]

Expanding moves from left to right. Factoring moves from right to left:

\[ x^2+7x+12=(x+3)(x+4) \]

This connection is important because FOIL helps students check factoring answers. If you factor a trinomial and want to verify your answer, use FOIL to expand the binomials. If the expansion matches the original trinomial, the factorization is correct.

Common mistakes with FOIL

  • Forgetting the inner product. Students sometimes multiply only the first, outer, and last terms. FOIL requires all four products.
  • Forgetting the outer product. Both the outer and inner products usually contribute to the middle term.
  • Losing negative signs. Negative constants such as \(-5\) must be included in multiplication.
  • Not combining like terms. FOIL gives four products first, but the final answer should usually combine the \(x\)-terms.
  • Using FOIL for more than two binomials at once. FOIL is designed for two binomials. For \((x+1)(x+2)(x+3)\), multiply two binomials first, then multiply the result by the third factor.
  • Writing the result out of standard order. A quadratic result is usually written as \(Ax^2+Bx+C\).
  • Confusing FOIL with factoring. FOIL expands; factoring reverses expansion.

When to use FOIL

Use FOIL when you need to multiply two binomials. It is especially helpful in early algebra because it provides a clear checklist for all four products. It is commonly used when expanding quadratic expressions, checking factored forms, solving equations, simplifying expressions, and preparing for quadratic factoring.

FOIL is also useful in geometry and word problems. For example, if the length of a rectangle is \(x+5\) and the width is \(x+2\), then the area is \((x+5)(x+2)\). FOIL expands this to \(x^2+7x+10\), which represents the area as a polynomial.

In advanced algebra, students eventually move from FOIL to general polynomial multiplication. However, FOIL remains a reliable method for the specific case of two binomials. It is fast, memorable, and easy to check.

FAQ

What is a FOIL calculator?

A FOIL calculator multiplies two binomials using the First, Outer, Inner, and Last products. It expands expressions like \( (ax+b)(cx+d) \) into standard quadratic form.

What does FOIL stand for?

FOIL stands for First, Outer, Inner, and Last. These are the four products used when multiplying two binomials.

What is the FOIL formula?

The general FOIL formula is \( (ax+b)(cx+d)=acx^2+adx+bcx+bd \), which simplifies to \( acx^2+(ad+bc)x+bd \).

Can FOIL be used for trinomials?

FOIL is specifically for multiplying two binomials. For trinomials or larger polynomials, use the distributive property or polynomial multiplication.

Is FOIL the same as distribution?

FOIL is a shortcut based on the distributive property. It works because each term in the first binomial must multiply each term in the second binomial.

How do I check a FOIL answer?

Check that you have four products, combine like terms correctly, and write the final expression in standard form \(Ax^2+Bx+C\).

Related tools and guides

FOIL connects directly to factoring, trinomial expansion, diamond problems, and quadratic algebra. Use these related Num8ers tools to continue the same topic cluster.