FOIL Method Calculator

Multiply two binomials with the FOIL method.

Use letters, brackets, + − × ÷ and whole powers.

Try

Result

You enteredx+2×x+3x + 2 \times x + 3

x2+5x+6\displaystyle x^{2} + 5x + 6

Degree

2\displaystyle 2

Number of terms

3\displaystyle 3

Factored form

(x+2)(x+3)\displaystyle \left(x + 2\right)\left(x + 3\right)
Show the work
  1. FOIL: First

    FOIL multiplies every term of the first bracket by every term of the second, in the order First, Outer, Inner, Last. Multiply the first term of each bracket.

    Using (a+b)(c+d)=ac+ad+bc+bd\left(a + b\right)\left(c + d\right) = ac + ad + bc + bd

    x×x=x2x \times x = x^{2}
  2. FOIL: Outer

    Multiply the outer terms, the first of the first bracket and the last of the second.

    x×3=3xx \times 3 = 3x
  3. FOIL: Inner

    Multiply the inner terms, the last of the first bracket and the first of the second.

    2×x=2x2 \times x = 2x
  4. FOIL: Last

    Multiply the last term of each bracket.

    2×3=62 \times 3 = 6
  5. Collect like terms

    Like terms have the same letters with the same powers, so their coefficients can be added. Add the numbers in front of each group of like terms.

    Using ax+bx=(a+b)xax + bx = \left(a + b\right)x

    3x+2x=(3+2)x=5x\begin{aligned} 3x + 2x &= \left(3 + 2\right)x \\ &= 5x \end{aligned}
  6. Result

    So the product is x2+5x+6x^{2} + 5x + 6.

Worked examples