✓ Effortless Math · Free Tool

FOIL Calculator

Enter two binomials (a·x + b)(c·x + d) to multiply them out with the FOIL method — get the First, Outer, Inner, Last products, the combined middle term, the expanded trinomial, and full step-by-step working.

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

Multiply two binomials of the form (ax + b)(cx + d). Negative and decimal coefficients are fine.

Results

Expanded product
First — (ax)(cx)
Outer — (ax)(d)
Inner — (b)(cx)
Last — (b)(d)
Combined middle term — (ad + bc)x

Step-by-step (FOIL method)