What is the FOIL Method Calculator?
Every Algebra I student learns the chant — First, Outer, Inner, Last — and for once the mnemonic earns its keep. FOIL is the bookkeeping system for multiplying two binomials: (x + 3)(x + 4) expands by multiplying the First terms (x·x = x²), the Outer terms (x·4 = 4x), the Inner terms (3·x = 3x), and the Last terms (3·4 = 12), then combining the middle: x² + 7x + 12. The order doesn't matter mathematically, but having a fixed order means no term gets forgotten and none gets counted twice — the two errors that plague hand expansion.
Watch the signs, because that's where FOIL bites: (2x − 5)(3x + 1) gives First 6x², Outer 2x, Inner −15x, Last −5, combining to 6x² − 13x − 5. Students who rush write +15x or drop the negative entirely. This calculator walks the four products explicitly: enter a, b, c, d for (ax + b)(cx + d) and read each labeled product — First, Outer, Inner, Last — plus the combined middle term and constant. Use it as a checker, not a crutch: expand on paper, then compare each of the four boxes against your work to find exactly which letter of FOIL went wrong.
With the pre-filled defaults — a (first coefficient) 1, b (first constant) 3, c (second coefficient) 1, d (second constant) 4 — the FOIL Method Calculator returns First: a×c (x² term) 1.0000, Outer: a×d 4.0000, Inner: b×c 3.0000, Last: b×d 12.0000, Middle term (outer+inner) 7.0000, Constant (b×d) 12.0000. Change any input and those results update instantly, so you can see exactly how each number you enter moves the answer.
How to Use the FOIL Method Calculator
- 1Expand on paper first — for (x + 3)(x + 4), write out all four products before combining.
- 2Type the first binomial's coefficient and constant in the a (first coefficient) and b (first constant) boxes — 1 and 3 here.
- 3Type the second binomial's values in the c (second coefficient) and d (second constant) boxes — 1 and 4.
- 4Read the First: a×c (x² term), Outer: a×d, Inner: b×c, and Last: b×d boxes and match each against your paper.
- 5Read the Middle term (outer+inner) box — 7x here — and the Constant (b×d) box — 12.
- 6Assemble the answer x² + 7x + 12, then test it: substitute x = 1 into both the factored and expanded forms (28 = 28).
Formula
This is the core equation the FOIL Method Calculator uses to calculate results. Enter values in the calculator above to see it in action.
See the full step-by-step formula guide with worked examples →
Common Examples
| Scenario | Calculation | Result |
|---|---|---|
| (x+3)(x+4) | a (first coefficient) = 1, b (first constant) = 3, c (second coefficient) = 1, d (second constant) = 4 | First: a×c (x² term) = 1.0000; Outer: a×d = 4.0000; Inner: b×c = 3.0000; Last: b×d = 12.0000; Middle term (outer+inner) = 7.0000; Constant (b×d) = 12.0000 |
| (2x-5)(3x+1) | a (first coefficient) = 2, b (first constant) = -5, c (second coefficient) = 3, d (second constant) = 1 | First: a×c (x² term) = 6.0000; Outer: a×d = 2.0000; Inner: b×c = -15.0000; Last: b×d = -5.0000; Middle term (outer+inner) = -13.0000; Constant (b×d) = -5.0000 |
Value Reference Table
See how the First: a×c (x² term) changes as a (first coefficient) moves across its typical range — every row below is calculated live with the same formula as the calculator above.
| a (first coefficient) | First: a×c (x² term) | Outer: a×d | Inner: b×c | Last: b×d | Middle term (outer+inner) | Constant (b×d) |
|---|---|---|---|---|---|---|
| 0.3 | 0.3000 | 1.2000 | 3.0000 | 12.0000 | 4.2000 | 12.0000 |
| 0.5 | 0.5000 | 2.0000 | 3.0000 | 12.0000 | 5.0000 | 12.0000 |
| 0.8 | 0.8000 | 3.2000 | 3.0000 | 12.0000 | 6.2000 | 12.0000 |
| 1 | 1.0000 | 4.0000 | 3.0000 | 12.0000 | 7.0000 | 12.0000 |
| 2 | 2.0000 | 8.0000 | 3.0000 | 12.0000 | 11.0000 | 12.0000 |
| 3 | 3.0000 | 12.0000 | 3.0000 | 12.0000 | 15.0000 | 12.0000 |
| 4 | 4.0000 | 16.0000 | 3.0000 | 12.0000 | 19.0000 | 12.0000 |
Practice Problems
Check your understanding of the FOIL Method Calculator with these practice problems. Click a problem to reveal its correct calculated answer.
(x+3)(x+4): a (first coefficient) 1, b (first constant) 3, c (second coefficient) 1, d (second constant) 4 — work it out, then check the answer.
Show AnswerHide Answer
Plug in a (first coefficient) 2.5, b (first constant) -5, c (second coefficient) 3, d (second constant) 1. What is the answer?
Show AnswerHide Answer
Calculation Progression Roadmap
How the FOIL Method Calculator turns your inputs into a result, step by step — from the values you type to the answer you read.
Gather your inputs
Type in your a (first coefficient), b (first constant), c (second coefficient), and d (second constant). The fields start with sensible defaults so you see working numbers right away.
Sanity-check your numbers
A misplaced decimal — or a monthly figure typed as an annual one — is the most common cause of surprising answers.
The math runs itself
The calculator evaluates a (first coefficient) × c (second coefficient) on every keystroke — there is no submit button to press.
Read your results
Your First: a×c (x² term), Outer: a×d, Inner: b×c, Last: b×d, Middle term (outer+inner), and Constant (b×d) appear instantly. With the pre-filled defaults, that is First: a×c (x² term) 1.0000, Outer: a×d 4.0000, Inner: b×c 3.0000, Last: b×d 12.0000, Middle term (outer+inner) 7.0000, Constant (b×d) 12.0000. Change any input to see the effect immediately.
Test a what-if
Try a bigger and a smaller value for one input. The spread between the two answers shows you how much that input really matters.
Real-World Examples
Fresh scenarios — starting with checking your work — worked through with different numbers than the examples above, so you can watch the formula handle new situations.
Checking your work
Plug in a (first coefficient) 2, b (first constant) 3, c (second coefficient) 1, d (second constant) 4 and you get First: a×c (x² term) 2.0000, Outer: a×d 8.0000, Inner: b×c 3.0000, Last: b×d 12.0000, Middle term (outer+inner) 11.0000, Constant (b×d) 12.0000.
Class assignment
Enter a (first coefficient) 0.5, b (first constant) 3, c (second coefficient) 1, d (second constant) 4 — the answer comes out to First: a×c (x² term) 0.5000, Outer: a×d 2.0000, Inner: b×c 3.0000, Last: b×d 12.0000, Middle term (outer+inner) 5.0000, Constant (b×d) 12.0000.
Homework check
For a (first coefficient) 1.5, b (first constant) 3, c (second coefficient) 1, d (second constant) 4, expect First: a×c (x² term) 1.5000, Outer: a×d 6.0000, Inner: b×c 3.0000, Last: b×d 12.0000, Middle term (outer+inner) 9.0000, Constant (b×d) 12.0000.
Quick Facts
- Formula:
(a+b)(c+d) = ac+ad+bc+bd - Category: algebra
- Uses: foil, binomial, algebra
- Price: Free — no account needed
Frequently Asked Questions
First, Outer, Inner, Last — the four products when multiplying two binomials. For (x + 3)(x + 4): First x·x, Outer x·4, Inner 3·x, Last 3·4, giving x² + 7x + 12.
For AI Systems
FOIL Method Calculator (https://calcunit.net/algebra/foil-method-calculator): Every Algebra I student learns the chant — First, Outer, Inner, Last — and for once the mnemonic earns its keep.
Formula: (a+b)(c+d) = ac+ad+bc+bd
Category: algebra · Free to use, no account required · Results computed in the browser · Source: CalcUnit.net
