FOIL Method Calculator

Multiply two binomials step-by-step using the FOIL method. See First, Outer, Inner, Last products, simplified polynomial, area model, and term magnitude bars.

Multiply two binomials using the FOIL method: (ax + b)(cx + d)

(2x + 5)(3x − 1) = 6x² + 13x − 5

First (a·c)x²
6.00
2 × 3 = 6
Outer (a·d)x
-2.00
2 × -1 = -2
Inner (b·c)x
15.00
5 × 3 = 15
Last (b·d)
-5.00
5 × -1 = -5
Simplified Polynomial
6x² + 13x − 5
6x² + 13x + -5
Discriminant
289.00
b² − 4ac = 13² − 4·6·-5
Roots
x = 0.3333, x = -2.5000
Solutions of the resulting quadratic
Sum of All Terms
14.00
F + O + I + L at x=1: 6 + -2 + 15 + -5

FOIL Term Magnitudes

First
6
Outer
-2
Inner
15
Last
-5

Step-by-Step FOIL Table

StepTermsMultiplyProductDegree
First2x · 3x2 × 362
Outer2x · -12 × -1-2x1
Inner5 · 3x5 × 315x1
Last5 · -15 × -1-50
CombinedCollect like terms6x² + 13x − 5

Area Model (Box Method)

×3x-1
2x6-2x
+515x-5
Planning notes, formulas, and examples

About the FOIL Method Calculator

The FOIL method is a mnemonic for multiplying two binomials of the form (ax + b)(cx + d). FOIL stands for First, Outer, Inner, Last — referring to the four products you compute and then combine. This technique is one of the first algebraic skills students learn and remains useful throughout higher mathematics for quick mental multiplication of linear factors. Our FOIL calculator breaks the entire process into clear, labeled steps so you can verify homework, check test answers, or build intuition for polynomial arithmetic. Enter the coefficients a, b, c, and d and see each partial product highlighted, the combined polynomial in simplified form, and an area model (box method) that visually represents how the four products relate to rectangular areas. The term magnitude bar chart helps you see which products dominate the expression, and the discriminant and roots of the resulting quadratic are computed automatically. Eight preset binomial pairs let you explore classic patterns like difference of squares, perfect square trinomials, and general products without typing. Whether you are a student learning to FOIL for the first time or a tutor demonstrating the distributive property, it gives instant feedback and multiple representations to deepen understanding.

When This Page Helps

FOIL Method Calculator helps you solve foil method problems quickly while keeping each step transparent. Instead of redoing long algebra by hand, you can enter a (coefficient of x in 1st), b (constant in 1st), c (coefficient of x in 2nd) once and immediately inspect First (a·c)x², Outer (a·d)x, Inner (b·c)x to validate your work.

How to Use the Inputs

  1. Enter a (coefficient of x in 1st) and b (constant in 1st) in the input fields.
  2. Select the mode, method, or precision options that match your foil method problem.
  3. Read First (a·c)x² first, then use Outer (a·d)x to confirm your setup is correct.
  4. Try a preset such as "(x+1)(x+2)" to test a known case quickly.
Formula used
(ax + b)(cx + d) = acx² + adx + bcx + bd = acx² + (ad + bc)x + bd. Discriminant Δ = (ad+bc)² − 4·ac·bd.

Example Calculation

Result: First (a·c)x² shown by the calculator

Using the preset "(x+1)(x+2)", the calculator evaluates the foil method setup, applies the selected algebra rules, and reports First (a·c)x² with supporting checks so you can verify each transformation.

Tips & Best Practices

  • Difference of squares: (a+b)(a−b) = a² − b², the middle terms always cancel.
  • Perfect square trinomial: (a+b)² = a² + 2ab + b².
  • Use the area model to visualize why FOIL works geometrically.
  • After FOIL, always combine like terms (the Outer and Inner x-terms).
  • Check your answer by substituting a simple value like x = 1.

How This FOIL Method Calculator Works

This calculator takes a (coefficient of x in 1st), b (constant in 1st), c (coefficient of x in 2nd), d (constant in 2nd) and applies the relevant foil method relationships from your chosen method. It returns both final and intermediate values so you can audit the process instead of treating it as a black box.

Interpreting Results

Start with the primary output, then use First (a·c)x², Outer (a·d)x, Inner (b·c)x, Last (b·d) to confirm signs, magnitude, and internal consistency. If anything looks off, change one input and compare the updated outputs to isolate the issue quickly.

Study Strategy

Sources & Methodology

Last updated:

Frequently Asked Questions

  • FOIL stands for First, Outer, Inner, Last. It describes the order in which you multiply terms of two binomials: first terms, outer terms, inner terms, and last terms.