Built and fact-checked by the DocNectar team — see our editorial standards
Key Features
Instant Calculation
Get accurate results in real time with our optimized algorithm.
Mobile Friendly
Fully responsive design. Works on all devices & screen sizes.
Privacy Focused
Your data stays on your device. We don't store any inputs.
100% Free
No hidden costs. This tool is completely free forever.
FOIL — First, Outer, Inner, Last — is the standard shortcut for multiplying two binomials without missing a term. This tool computes each of the four products individually, then combines the like "outer" and "inner" terms into the final trinomial.
How it works
For (a₁x+b₁)(a₂x+b₂): First multiplies the two leading terms (a₁x×a₂x), Outer multiplies the outermost terms (a₁x×b₂), Inner multiplies the innermost terms (b₁×a₂x), and Last multiplies the two constants (b₁×b₂). The Outer and Inner products are then added since they're both x-terms.
- Enter first binomial: coefficient of x.
- Enter first binomial: constant.
- Enter second binomial: coefficient of x.
- Enter second binomial: constant.
- Click Calculate to see your results.
Examples
A standard example
(x+2)(x+3): First=x², Outer=3x, Inner=2x, Last=6, combining to x²+5x+6.
With negative terms
(2x-1)(x+4): First=2x², Outer=8x, Inner=-x, Last=-4, combining to 2x²+7x-4.
Who should use it
- Algebra coursework introducing binomial multiplication.
- Quickly checking FOIL homework problems.
Industry applications
- Mathematics education
Advantages
- Shows all four FOIL terms individually before combining.
- Works with any real coefficients, including negatives.
Limitations
- Limited specifically to two-binomial multiplication — not for larger polynomials.
Common mistakes to avoid
- Forgetting to combine the Outer and Inner terms at the end and leaving the answer as four separate terms instead of three.
Best practices
- Say the acronym out loud (First, Outer, Inner, Last) while working through a binomial multiplication by hand — it's the easiest way to avoid skipping a term.
Tips
- FOIL is really just a memory aid for the more general distributive property — every term of one binomial times every term of the other, which is exactly what the Box Method visualizes as a grid.