Free FOIL Calculator

First Binomial

x
+

Second Binomial

x
+

Enter coefficients to see the FOIL result.

Understanding the FOIL Method for Multiplying Binomials

When you need to multiply two binomials, the FOIL method — an acronym for First, Outer, Inner, Last — offers a clear, step‑by‑step approach that eliminates confusion. This FOIL calculator applies the same logic automatically, showing you each partial product so you can verify your own work or learn the procedure from scratch.

A binomial is simply a sum of two monomials, where each monomial is a coefficient times a variable raised to a non‑negative integer exponent. For example, x+3x+3 and 5x2−25x^2-2 are binomials. Multiplying two such expressions can be done efficiently with FOIL, which systematically combines every term from the first binomial with every term from the second.

How the FOIL Acronym Works

Let’s represent two linear binomials as ax+bax+b and cx+dcx+d. The FOIL method breaks the multiplication into four distinct products:

  • F (First) – Multiply the first term of each binomial:
    First=(ax)(cx)=acx2\text{First} = (ax)(cx) = acx^{2}
  • O (Outer) – Multiply the outermost terms (first of the first × last of the second):
    Outer=(ax)(d)=adx\text{Outer} = (ax)(d) = adx
  • I (Inner) – Multiply the innermost terms (second of the first × first of the second):
    Inner=(b)(cx)=bcx\text{Inner} = (b)(cx) = bcx
  • L (Last) – Multiply the last term of each binomial:
    Last=(b)(d)=bd\text{Last} = (b)(d) = bd

Adding these four components gives the expanded polynomial:

(ax+b)(cx+d)=acx2+adx+bcx+bd(ax+b)(cx+d) = acx^{2} + adx + bcx + bd

After summing, you can combine any like terms (here the adxadx and bcxbcx terms) to obtain the simplest final expression.

Using the Multiply Binomials Calculator

This algebra calculator is built to handle both simple linear binomials and binomials with higher powers. To use it:

  1. Decide whether your binomials are linear (each variable has exponent 1 or 0) or have larger exponents.
  2. For linear binomials, type the four coefficients aa, bb, cc, and dd into the input fields.
  3. For binomials like axn+bxkax^{n}+bx^{k}, enter the coefficients and the corresponding exponents. If the binomial is not in standard form, factor out the smallest power of xx first and use the resulting expression inside the calculator. Don’t forget to multiply that factored‑out term back into the final answer.

The tool then displays each FOIL step – first, outer, inner, last – together with the simplified result. It’s an excellent FOIL method calculator for learning and checking your binomial multiplication.

Practical Examples

Example 1: Linear Binomials
Multiply (x+2)(3x−4)(x+2)(3x-4).

  • First: x⋅3x=3x2x \cdot 3x = 3x^{2}
  • Outer: x⋅(−4)=−4xx \cdot (-4) = -4x
  • Inner: 2⋅3x=6x2 \cdot 3x = 6x
  • Last: 2⋅(−4)=−82 \cdot (-4) = -8

Add: 3x2−4x+6x−8=3x2+2x−83x^{2} -4x + 6x -8 = 3x^{2} + 2x -8.
Thus (x+2)(3x−4)=3x2+2x−8(x+2)(3x-4) = 3x^{2} + 2x -8.

Example 2: One Higher‑Degree Binomial
Multiply (−2x+1)(x3+7)(-2x+1)(x^{3}+7).

  • First: −2x⋅x3=−2x4-2x \cdot x^{3} = -2x^{4}
  • Outer: −2x⋅7=−14x-2x \cdot 7 = -14x
  • Inner: 1⋅x3=x31 \cdot x^{3} = x^{3}
  • Last: 1⋅7=71 \cdot 7 = 7

Add: −2x4+x3−14x+7-2x^{4} + x^{3} -14x + 7. No like terms combine, so the product stays as −2x4+x3−14x+7-2x^{4}+x^{3}-14x+7.

Example 3: Both Binomials Have Higher Degrees
Multiply (x2+x)(2x3+7x2)(x^{2}+x)(2x^{3}+7x^{2}).

  • First: x2⋅2x3=2x5x^{2} \cdot 2x^{3} = 2x^{5}
  • Outer: x2⋅7x2=7x4x^{2} \cdot 7x^{2} = 7x^{4}
  • Inner: x⋅2x3=2x4x \cdot 2x^{3} = 2x^{4}
  • Last: x⋅7x2=7x3x \cdot 7x^{2} = 7x^{3}

Add: 2x5+7x4+2x4+7x3=2x5+9x4+7x32x^{5} + 7x^{4} + 2x^{4} + 7x^{3} = 2x^{5} + 9x^{4} + 7x^{3}.
So the result is 2x5+9x4+7x32x^{5}+9x^{4}+7x^{3}.

The Reverse FOIL Method

While FOIL multiplies two binomials, the opposite process – factoring a quadratic trinomial back into a product of two linear binomials – is called reverse FOIL. For a trinomial ax2+bx+cax^{2}+bx+c, you look for two numbers whose product is a⋅ca \cdot c and whose sum is bb. Those numbers guide the placement of the inner and outer terms.

For instance, factor 3x2−2x−83x^{2} - 2x - 8. The product 3×(−8)=−243 \times (-8) = -24, and the sum needed is −2-2. The pair −4-4 and 66 works, leading to the factorization (3x+4)(x−2)(3x+4)(x-2). You can verify by expanding: (3x+4)(x−2)=3x2−6x+4x−8=3x2−2x−8(3x+4)(x-2) = 3x^{2} -6x +4x -8 = 3x^{2} -2x -8. Reverse FOIL involves some trial‑and‑error, but it’s a powerful technique for solving quadratic equations.

Important Limitation

The FOIL method works only for multiplying two binomials. If you need to multiply polynomials with three or more terms (e.g., a binomial times a trinomial), you must use general distribution or a dedicated polynomial multiplication calculator.

FAQ

1. What does FOIL stand for in the FOIL method?

FOIL stands for First, Outer, Inner, Last – the four products you calculate when multiplying two binomials: first terms, outer terms, inner terms, and last terms.

2. Can I use the FOIL method to multiply polynomials that have more than two terms?

No, FOIL only works for exactly two binomials. For larger polynomials, you need to use the full distributive property or a polynomial multiplication calculator.

3. How do I enter binomials with different exponents into the FOIL calculator?

Enter the coefficients and the exponents into the designated fields. If your binomials aren't linear, you may first factor out a common power of x, then input the simplified expression.

4. What is the reverse FOIL method used for?

The reverse FOIL method factors a quadratic trinomial (ax² + bx + c) back into the product of two linear binomials through a trial‑and‑error process based on the a and c values.

5. Does the calculator show the intermediate steps of the FOIL process?

Yes, the calculator displays each of the four partial products (First, Outer, Inner, Last) and the final simplified polynomial, making it easy to follow the entire multiplication.

How to Use

  1. Enter the coefficients a, b, c, d for your two binomials.
  2. Toggle between Linear and General mode for exponent control.
  3. View the FOIL steps and simplified result instantly.