Enter Two Binomials
Use the form as (a × variable^p + b)(c × variable^q + d).
Fractions like 3/4, decimals, and negative values are accepted.
Example Data Table
| Expression | First | Outer | Inner | Last | Final Result |
|---|---|---|---|---|---|
| (2x + 3)(4x + 5) | 8x² | 10x | 12x | 15 | 8x² + 22x + 15 |
| (x - 7)(x + 2) | x² | 2x | -7x | -14 | x² - 5x - 14 |
| (3y² - 4)(2y + 6) | 6y³ | 18y² | -8y | -24 | 6y³ + 18y² - 8y - 24 |
| (-2m + 9)(5m - 1) | -10m² | 2m | 45m | -9 | -10m² + 47m - 9 |
Formula Used
The calculator uses the FOIL method. FOIL means First, Outer, Inner, and Last. For two binomials, the rule is:
After these four products are created, the calculator groups terms with the same exponent. This gives the final simplified polynomial.
How to Use This Calculator
- Enter the variable symbol, such as x, y, m, or n.
- Enter the first coefficient, exponent, and constant.
- Enter the second coefficient, exponent, and constant.
- Choose decimal precision and zero term display.
- Press the calculate button to view each FOIL step.
- Use CSV or PDF download buttons to save the result.
About This FOIL Calculator
Clear Algebra Expansion
A FOIL calculator helps you multiply two binomials without losing steps. It shows the first, outer, inner, and last products separately. This makes each part easy to check. The tool is useful for homework, lesson planning, tutoring, and fast review.
How FOIL Works
FOIL works best when both expressions have two terms. The first terms are multiplied first. The outside terms are multiplied next. The inside terms follow. The last terms are multiplied at the end. After that, like terms are combined.
Advanced Input Control
This calculator gives more control than a simple expander. You can enter decimal coefficients, negative values, constants, variable names, and exponents. You can also decide the output precision. The result area shows the original expression, all four FOIL products, the uncombined expansion, and the final simplified polynomial.
Export Options
The exported CSV file is helpful for records. It stores the inputs and each computed step. The exported PDF is useful for study sheets and client notes. Both files use the latest result shown on the page, so check the screen before downloading.
Study Benefits
Students can use this calculator to learn patterns. Teachers can use it to prepare examples. Content creators can use it to verify algebra in articles. It also helps when signs cause mistakes. A negative outer term and a positive inner term may cancel. Seeing both terms separately makes that clear.
Best Practices
For best results, enter the binomials in standard form. Keep the variable consistent. Use exponent zero only for constants. Review each step before copying the final answer. The calculator explains the process, but it does not replace understanding. Use it to build confidence, speed, and cleaner algebra habits.
Input Tips
Common input tips improve accuracy. Put the coefficient before the variable term. Use a minus sign for subtraction. Enter constants as normal numbers. Choose a sensible precision for decimal answers. Higher precision is useful when coefficients include fractions written as decimals.
Power Handling
The calculator also handles matching exponents carefully. When powers match, terms are grouped together. When powers differ, terms stay separate. This is important for expressions such as x squared times x, or x squared times another x squared. The final line keeps terms in descending power order.
Review the example table first.
FAQs
What is a FOIL calculator?
It is a tool that multiplies two binomials using First, Outer, Inner, and Last products. It also combines like terms.
Can I use negative numbers?
Yes. Enter negative coefficients or constants with a minus sign. The calculator will handle sign changes in each step.
Does this calculator combine like terms?
Yes. It first shows the separate FOIL products. Then it groups terms with matching exponents into one simplified answer.
Can I change the variable?
Yes. You can enter x, y, n, m, or another short symbol in the variable field.
Can I use exponents greater than one?
Yes. Enter whole number exponents. The calculator adds powers during multiplication and sorts the final polynomial.
What does the CSV download include?
The CSV file includes the original expression, all FOIL products, the expanded line, and the simplified final result.
What does the PDF download include?
The PDF file includes a clean summary of inputs, calculation steps, and final answer for printing or sharing.
Why is my result not quadratic?
If you use higher exponents, the final polynomial may have powers above two. That is expected and mathematically correct.