FOIL Calculator
Multiply two binomials (ax + b)(cx + d) with the FOIL method and see each step.
Expanded
2x² − 5x − 12
- Product
- (2x + 3)(x − 4)
- First
- 2x²
- Outer
- −8x
- Inner
- 3x
- Last
- −12
Show the work
First: multiply the first terms
2x × x = 2x²
Outer: multiply the outer terms
2x × (−4) = −8x
Inner: multiply the inner terms
3 × x = 3x
Last: multiply the last terms
3 × (−4) = −12
Add the x terms
adx + bcx
(−8)x + 3x = −5x
Put them together
acx to the power of 2 + (ad + bc)x + bd
2x² − 5x − 12
How it works
(ax + b)(cx + d) = acx² + (ad + bc)x + bd — First, Outer, Inner, Last
Questions
- How does the FOIL calculator work?
- (ax + b)(cx + d) = acx² + (ad + bc)x + bd — First, Outer, Inner, Last.
- What do I need to enter?
- a, b, c, d. Optional fields can be left blank.
Related tools
- Completing the Square CalculatorRewrite ax² + bx + c in vertex form a(x − h)² + k by completing the square.
- Fraction, Decimal & Percent ConverterConvert between fractions, decimals and percents — type any one, get all three, including repeating decimals.
- Ratio to Fraction CalculatorTurn a ratio like 3 : 5 into fractions of the whole, percentages and the simplified ratio.
- Percent Error CalculatorFind the percent error between a measured (experimental) value and the true (accepted) value.
- Percent Tolerance CalculatorFind the allowed range for a nominal value with a ± percent tolerance, and check whether a measurement passes.
- Long Division CalculatorDivide whole numbers to get the quotient and remainder, with every long-division step shown.
Want this on your site? Embed the foil calculator.