Try it with your numbers
Show every step
FOIL is a memory aid, not a separate law. It covers one case of multiplying polynomials: two binomials, which are polynomials with exactly two terms. Once you see where the four products come from, the method stops being a chant and becomes something you can rebuild, check and extend.
What Does FOIL Stand For in Math?
Take . Each letter names one pairing of a term from the left factor with a term from the right factor:
- First: the first term of each binomial,
- Outer: the two terms on the outside,
- Inner: the two terms on the inside,
- Last: the last term of each binomial,
Here is a full example, :
The Outer and Inner products, and , are like terms, so they merge into (see adding and subtracting polynomials for the rules on combining). The answer is .
Notice what FOIL guarantees: two terms times two terms always gives exactly four products. If you ever list three or five, something was skipped or invented. That count is the real safety net, more useful than the letters themselves.
Quick check
Answer:
Why Does the FOIL Method Work?
The whole method rests on one idea: a parenthesis can be treated as a single block. Call the block . Then by the ordinary distributive property. Put the block back and distribute a second time:
That is FOIL, with nothing added. You can see the same thing in arithmetic. Split as and the four products are . This is exactly how long multiplication works, with the place values written out.
Draw a rectangle with sides and . Cut it into four smaller rectangles with areas , , and . Those four areas are F, O, I and L.
This also explains why the order of the letters is arbitrary. You could multiply Last first and still land on the same sum, because addition is commutative. What matters is that every term in the first factor meets every term in the second, once.
How Do You FOIL With Negatives and Fractions?
Negatives cause most lost points, and the fix is a habit: treat subtraction as adding a negative term, so is . Each term carries its sign into every product it touches. For :
Outer is , Inner is , and Last is . The Last term is where students slip, writing when two negatives multiply to a positive.
Fractions follow the same rules; the arithmetic is just slower. For , First is , Outer is , Inner is and Last is . Combine and the result is . Keep each product as its own fraction until the end rather than converting to decimals, which hides exact answers.
A quick sanity check on shape: the degree of a polynomial product equals the sum of the degrees. Two linear binomials must give a quadratic, so if your answer has an or no at all, the work has gone wrong.
How Do You FOIL Faster in Your Head?
Look at what happens to the middle term in general:
The middle coefficient is the sum of the two cross products, outer plus inner. So you can write the answer straight down: multiply the first terms, multiply the last terms, then add the two diagonal products. For the diagonals are and , giving .
Signs ride along with the numbers. For the cross products are and , so the middle is and the answer is . This shortcut works only when the Outer and Inner terms are like terms, which is the usual case for a single variable.
Try this: Expand without writing any intermediate line. Say it aloud as three pieces: first product, sum of the diagonals, last product. You should get .
When Does the FOIL Method Not Work?
FOIL fails the moment either factor has more than two terms. A binomial times a trinomial needs products, and no letter in FOIL tells you where the other two go. The general rule is that the number of products is the number of terms in one factor times the number in the other.
The distributive property handles any size. Expand :
Combine like terms to get . A fast confirmation: at the original is and the answer is .
Three binomials work in stages: FOIL the first two, then distribute the result across the third. For , first , then . For higher powers this gets long, and the binomial theorem gives the coefficients directly.
Quick check
Answer:
FOIL vs Special Products: Squares and Conjugates

The costliest FOIL mistake is not a sign error but a shortcut: writing . A square means multiplying the binomial by itself, so FOIL gives four products, and the two middle ones are equal:
Test it with numbers: , but . The missing is exactly the Outer plus Inner. For a worked case, .
In the Outer product and the Inner product cancel, leaving . So with no middle term.
These two patterns appear so often that they have their own page: special products of binomials. Recognising them saves a full FOIL, and they run backward too. A trinomial like is a perfect square trinomial, and a binomial like is a difference of two squares.
How Do You Check a FOIL Answer?

Three quick tests catch nearly every error, and none requires redoing the work:
- Plug in a number. Choose and compare the original product with your answer. Avoid and , which can hide mistakes.
- Check the ends. The leading coefficient of the answer is the product of the leading coefficients, and the constant is the product of the constants.
- Check the shape. Two linear binomials must give a quadratic with at most three terms.
Suppose a student expands and writes . At the original gives , but the answer gives . The mismatch is real, and the constant test points to the culprit: , not . The corrected answer gives , which matches.
One substitution can accidentally agree even when the answer is wrong, but it is rare. Two different values, such as and , make a wrong answer that survives both extremely unlikely, since two distinct quadratics can agree at only two points at most.
Reverse FOIL: How Does It Connect to Factoring?
Factoring a quadratic is FOIL run backward. Going forward, turns a product into a sum. Going backward, you start with and ask which two numbers multiply to and add to . The pair and is the answer, because those are exactly the Last product and the Outer plus Inner sum. This is the core of factoring trinomials.
When the leading coefficient is not , use the product . For , find two numbers with product and sum : they are and . Split the middle term and group:
The splitting step is the same four-term line FOIL produces, which is why factoring by grouping works. A grid version of the same idea is the box method for trinomials. To verify, FOIL the answer: matches.
Quick check
Answer:
Where Is the FOIL Method Used in Real Life?
The most literal use is area. A garden measures ft by ft, and you extend both sides by feet. The new area is . The is the old garden, the is the two new strips, and is the corner square. FOIL separates the pieces so you can see them.
Revenue problems use it too. A theater sells tickets at $15, and each $1 price increase loses sales. With dollars of increase, revenue is . Because the result is a quadratic with a negative leading coefficient, it has a maximum at , giving 1600$.
FOIL also shows up with complex numbers, where turns the Last term into a real number: . In each case the habit is identical: list every pairing, then combine what matches.
Practice problems
0 of 5 solved
- Expand .
Answer:
First: . Outer: . Inner: . Last: . Combine to get . - Expand .
Answer:
First: . Outer: . Inner: . Last: . Combine to get . - Expand .
Answer:
First: . Outer: . Inner: . Last: . Combine to get . - Expand .
Answer:
First: . Outer: . Inner: . Last: . Combine to get . - Expand .
Answer:
First: . Outer: . Inner: . Last: . Combine , so the result is .
Common questions
What does FOIL stand for in math?
FOIL stands for First, Outer, Inner, Last. These are the four products you add when you multiply two binomials: first terms, outer terms, inner terms and last terms.
Can you use FOIL on a binomial times a trinomial?
No. A binomial times a trinomial needs six products, and FOIL names only four. Use the distributive property instead: multiply every term of one factor by every term of the other, then combine like terms.
Is the FOIL method the same as the distributive property?
FOIL is the distributive property applied twice, with the four products listed in a fixed order. The distributive property is the general rule, and it works for any number of terms.
Does the order of First, Outer, Inner, Last matter?
No. The answer is the sum of all four pairings, and addition does not care about order. The letters are only a checklist so that no pairing gets skipped.
How do you expand with FOIL?
Write it as . First gives , Outer and Inner give each, and Last gives , so the result is . The middle term is never missing.
Do the Outer and Inner terms always combine?
Only when they are like terms. In both are multiples of , so they combine. In they are and , which stay separate.