FOIL Calculator

Expand (ax + b)(cx + d) into a quadratic using FOIL.

x² coefficient 2
x coefficient -7
constant -15

Formula: (ax+b)(cx+d) = ac·x² + (ad+bc)·x + bd

Step-by-step with your numbers:
1. Values used:
2. a = 2
3. b = 3
4. c = 1
5. d = -5
6.
7. x² coefficient = 2
8. x coefficient = -7
9. constant = -15
Did we solve your problem today?

FOIL (First, Outer, Inner, Last) multiplies two binomials term by term.

The math behind it

First: ax·cx = ac x². Outer: ax·d = ad x. Inner: b·cx = bc x. Last: b·d = bd. Combine the middle terms: (ad + bc) x.

Worked example

(2x + 3)(x − 5) = 2x² − 10x + 3x − 15 = 2x² − 7x − 15.

FAQ

Does FOIL work for trinomials?

No — FOIL is specifically for two binomials. Use full distribution for larger products.