FOIL Method Calculator

Solve binomial products using FOIL with structured, accurate expansion steps. Preview terms, graphs, and exports. Designed for learners needing fast checks and clean working.

Calculator Inputs

Enter the two binomials in the form (ax + b)(cx + d).

Plotly Graph

Recent Calculation History

Time Product Expanded Form First Outer Inner Last
No saved calculations yet.

Example Data Table

Input Product First Outer Inner Last Expanded Result
(x + 2)(x + 3) x^2 3x 2x 6 x^2 + 5x + 6
(2x - 1)(x + 4) 2x^2 8x -x -4 2x^2 + 7x - 4
(3x + 5)(2x - 7) 6x^2 -21x 10x -35 6x^2 - 11x - 35
(0.5x + 1.2)(4x - 3) 2x^2 -1.5x 4.8x -3.6 2x^2 + 3.3x - 3.6

Formula Used

General FOIL identity:

(ax + b)(cx + d) = ax·cx + ax·d + b·cx + b·d

= acx^2 + adx + bcx + bd

= acx^2 + (ad + bc)x + bd

FOIL means First, Outer, Inner, Last. You multiply the first terms, then the outer terms, then the inner terms, and finally the last terms.

After that, combine like terms. The outer and inner products are both linear terms, so they are added together to produce the middle coefficient.

How to Use This Calculator

  1. Enter the coefficient and constant for the first binomial.
  2. Enter the coefficient and constant for the second binomial.
  3. Choose the variable symbol and the decimal precision you want.
  4. Click Expand Using FOIL to calculate the product.
  5. Review the expanded form, step-by-step breakdown, graph, and saved history.
  6. Use the CSV and PDF buttons to export the current result or the stored calculation history.

FAQs

1. What does FOIL stand for?

FOIL stands for First, Outer, Inner, and Last. It names the four pairwise multiplications used when expanding two binomials. After multiplying those pairs, you combine like terms to get the final simplified polynomial.

2. When should I use the FOIL method?

Use FOIL when multiplying two binomials, especially expressions like (ax + b)(cx + d). It is a structured shortcut for distribution and helps students avoid missing terms during manual algebra expansion.

3. Does FOIL work with negative numbers?

Yes. Negative coefficients and constants work normally. The calculator multiplies signed numbers in each FOIL step, so negative signs are carried through automatically and the final expression reflects the correct sign changes.

4. Can I enter decimal coefficients?

Yes. The calculator accepts integers and decimals for all four numeric inputs. You can also choose the output precision, which is useful for practice sets, worksheets, engineering-style notation, or checking classroom examples.

5. Why are outer and inner terms combined?

In a binomial product, the outer and inner results both contain the same variable to the first power. Because they are like terms, they are added together to form the middle coefficient in the simplified polynomial.

6. What if one coefficient is zero?

The calculator still works. A zero coefficient removes that term’s contribution, which may reduce the final expression to a linear expression or even a constant. This helps students see how FOIL behaves in edge cases.

7. Why does the calculator show roots sometimes?

When the expanded result is quadratic, the page also computes the discriminant and real roots when available. This provides an extra algebra check and helps connect binomial multiplication with factorization and quadratic equations.

8. What do the CSV and PDF exports include?

The export tools save either the current calculation summary or the stored history table. They are useful for homework review, classroom records, worksheet preparation, or sharing completed examples with students and colleagues.

Related Calculators

parabola calculatorvolume formula calculatorfraction simplifierremainder theorem calculatorbinomial expansion calculatorradical equation solverpower rule calculatorpercent change calculatormixed number convertersum product calculator

Important Note: All the Calculators listed in this site are for educational purpose only and we do not guarentee the accuracy of results. Please do consult with other sources as well.