FOIL expands two binomials without a grid.
What is a FOIL method calculator?
A FOIL method calculator multiplies two binomials (ax + b)(cx + d) by listing First, Outer, Inner, and Last products, then combines like terms into a quadratic. Enter a, b, c, and d to see each FOIL piece and the simplified trinomial. Collect x terms carefully; Outer and Inner often share the same power of x.
How to use the FOIL Method Calculator
- Enter a and b from the first binomial ax + b.
- Enter c and d from the second binomial cx + d.
- Read First, Outer, Inner, Last partial products.
- Check the collected x², x, and constant terms.
- Verify sign on Outer and Inner before copying.
- Re-read signs on b and d before expanding.
About this calculator
FOIL expands two binomials without a grid. For (2x + 3)(x + 4): First gives 2x², Outer 8x, Inner 3x, Last 12 — combined as 2x² + 11x + 12.
Enter coefficients a, b, c, d for (ax + b)(cx + d). The calculator shows each FOIL product and the collected quadratic.
Use it for algebra homework before factoring back. For solving quadratics after expansion try the [[quadratic]] calculator. For cubics see the [[cubic-equation]] calculator. For general fractions use the [[fraction]] calculator.
Formula for FOIL expansion
(ax+b)(cx+d) = acx² + (ad+bc)x + bd
FOIL = First + Outer + Inner + Last- First term is a·c on x²
- Outer is a·d and Inner is b·c on x
- Last is b·d as the constant
FOIL method example: (2x + 3)(x + 4)
Set a = 2, b = 3, c = 1, d = 4. First: 2x². Outer: 8x. Inner: 3x. Last: 12. Combine x terms: 8x + 3x = 11x, so the product is 2x² + 11x + 12.
For (x + 3)² use a = 1, b = 3, c = 1, d = 3. Inner and Outer both give 3x, doubling to 6x, constant 9, result x² + 6x + 9.
Expand (x − 2)(x + 5) with a = 1, b = −2, c = 1, d = 5 to get x² + 3x − 10. Outer 5x and Inner −2x combine to 3x on the x term.
Multiply (3x - 1)(2x + 5) for a sign-heavy CBSE exercise. Set a = 3, b = -1, c = 2, d = 5. First gives 6x². Outer gives 15x. Inner gives -2x. Last gives -5. Collect x terms: 15x - 2x = 13x, so the expanded form is 6x² + 13x - 5.
Try (2x - 3)(x - 4) as well. Set a = 2, b = -3, c = 1, d = -4. First is 2x². Outer is -8x. Inner is -3x. Last is +12. The x coefficient is -11, giving 2x² - 11x + 12. Watch minus signs on b and d before you read the collected trinomial.
Squaring (x - 5)² means a = 1, b = -5, c = 1, d = -5. Inner and Outer each contribute -5x, so the middle term is -10x and the constant is 25: x² - 10x + 25.
Board papers often mix fractions inside binomials: (x + 1/2)(2x - 3). Treat a = 1, b = 0.5, c = 2, d = -3 if the tool accepts decimals on b and d.
Common uses
- Expand binomial products step by step
- Verify FOIL homework before factoring
- Build quadratics from linear factors
- Check sign errors in outer and inner terms
Frequently asked questions
What is (2x + 3)(x + 4) using FOIL?
First 2x², Outer 8x, Inner 3x, Last 12 → 2x² + 11x + 12.
Does FOIL work for (x + 3)²?
Yes — treat it as (x + 3)(x + 3). First x², Outer 3x, Inner 3x, Last 9 → x² + 6x + 9.
What if a or c is zero?
The x² term vanishes when ac = 0. You may get a linear result instead of a quadratic.
Is FOIL the same as the distributive property?
FOIL is the distributive property applied twice — each term in the first binomial multiplies the entire second binomial.
Related calculators
- Math Calculator
- Percentage Calculator
- Fraction Calculator
- Exponent Calculator
- Logarithm Calculator
- Nth Root Calculator
- Ratio Calculator
- Pythagorean Theorem
Maintained by J Jaya Prakash · Last updated: October 2026