FOIL Method Calculator
Multiply two binomials step-by-step using the FOIL method.
See First, Outer, Inner, and Last terms individually, then the simplified combined result.
The FOIL Method
FOIL is an acronym for multiplying two binomials, meaning expressions with exactly two terms. It stands for First, Outer, Inner, Last: the four products you compute and then combine.
For (ax + b)(cx + d):
| Step | Product | Result |
|---|---|---|
| First | a·c | coefficient of x² |
| Outer | a·d | coefficient of x (part 1) |
| Inner | b·c | coefficient of x (part 2) |
| Last | b·d | constant term |
Combined result:
(ax + b)(cx + d) = (a·c)x² + (a·d + b·c)x + (b·d)
Example:
(2x + 3)(x − 5)
- First: 2 × 1 = 2 → 2x²
- Outer: 2 × (−5) = −10 → −10x
- Inner: 3 × 1 = 3 → 3x
- Last: 3 × (−5) = −15
Combined: 2x² + (−10 + 3)x + (−15) = 2x² − 7x − 15
Special cases: patterns to recognize:
| Pattern | Identity |
|---|---|
| (a + b)(a − b) | a² − b² (difference of squares) |
| (a + b)² | a² + 2ab + b² (perfect square) |
| (a − b)² | a² − 2ab + b² (perfect square) |
Why FOIL matters:
FOIL is the foundation of polynomial multiplication. Understanding it makes factoring (the reverse operation) much easier. Factoring is essential for solving quadratic equations and simplifying rational expressions.
Entering negative coefficients:
Use negative values for b or d to represent subtraction. For (3x − 4), enter a = 3 and b = −4.
Reading the answer backwards. The most useful thing about the expanded form is that you already know its roots without touching the quadratic formula. (2x + 3)(x − 5) is zero exactly when one of the brackets is zero, so x = −3/2 or x = 5. That is why factoring is worth the effort: a factored quadratic hands you the solutions, while the expanded one makes you work for them. The calculator prints both roots and the vertex alongside the expansion so you can see the connection.
A limit worth knowing. FOIL only applies to two binomials. Multiplying a binomial by a trinomial, or two trinomials, needs the general distributive rule: every term in the first bracket times every term in the second. FOIL is that same rule with the four products named for a case people meet constantly. Students who learn FOIL as a rule rather than as a shortcut tend to get stuck the first time a bracket has three terms in it.
How we build and check this calculator
This calculator runs entirely in your browser, so the numbers you enter stay on your device. The math behind it is written by hand and tested against worked examples and standard references before the page goes live.
SuperGlobalCalculator is independently built and maintained. See how we build and verify our calculators.
More Math Calculators
- Hazard Ratio Calculator
- Kruskal-Wallis Test Calculator
- Mann-Whitney U Test Calculator
- One-Way ANOVA Calculator
- Perfect Number Checker
- Rise Over Run to Degrees Converter
- Six Sigma DPMO Calculator
- Slope Percent Grade Calculator
- Spearman Rank Correlation Calculator
- Stem and Leaf Plot Generator
- Vote Percentage Calculator
- Weibull Distribution Calculator