FOIL Calculator — Binomial Multiplication with Every Product Shown

Enter two binomials (or any polynomials) and get the expanded result with First, Outer, Inner, Last products labelled.

Quick answer: Multiply (ax + b)(cx + d) with the First–Outer–Inner–Last steps spelled out — or expand two longer polynomials and get the combined terms in standard form.

How to use

  1. Type the first polynomial, e.g. 3x + 2 — terms with + or − between them, powers written as x^2.
  2. Type the second polynomial, e.g. x − 5.
  3. Press Multiply: binomial pairs show the four FOIL products; longer polynomials show the full product table.
  4. Read the expanded result in standard form (highest power first) with like terms already combined.

About this tool

FOIL is the memory trick for multiplying two binomials: First terms, Outer terms, Inner terms, Last terms — four products added together. (3x + 2)(x − 5) gives 3x² − 15x + 2x − 10, which the calculator collects into 3x² − 13x − 10. But FOIL stops working the moment either side has more than two terms, so this tool also does the general thing: it parses both polynomials, multiplies every term of the first against every term of the second, and combines like terms — the same distributive expansion a textbook does. Exponents up to x⁹, decimal coefficients and negative terms all parse, and the intermediate products are shown before simplification so you can see exactly where each term of the answer came from. Common traps — forgetting that the middle terms only sometimes cancel, or dropping a sign on an Outer product — are visible immediately when every product is written out. Step-by-step theory: the FOIL calculator guide, and for the reverse problem the Quadratic Equation Solver.

FAQ

What does FOIL stand for?
First, Outer, Inner, Last — the four products when you multiply two binomials: (a + b)(c + d) = ac + ad + bc + bd. 'First' multiplies the first term of each binomial, 'Outer' and 'Inner' are the cross terms, 'Last' multiplies the two constants.
Does FOIL work for trinomials?
Not directly — with a trinomial (three terms) times a binomial you need six products, and with two trinomials nine. The distributive rule behind FOIL still applies: every term of the first polynomial multiplies every term of the second. This calculator switches to that general method automatically.
How do I square a binomial?
Enter the same binomial twice: (2x + 3)² = (2x + 3)(2x + 3) = 4x² + 12x + 9. The classic mistake is writing 4x² + 9 and skipping the middle 12x — the Outer and Inner products 6x + 6x never cancel because they share a sign.
Why do the middle terms sometimes disappear?
When the cross products have equal size and opposite sign: (x + 4)(x − 4) = x² − 16. That is the difference-of-squares pattern. When you see no middle term, that is why — not a mistake.
Can I use variables other than x?
This tool works in x. For expressions in another letter, rename it to x first — (2y + 1)(y − 3) is algebraically identical to (2x + 1)(x − 3). Powers must be whole numbers from 0 to 9.
How is this related to the area model?
The four FOIL products are the four rectangles in a 2×2 area model: (3x + 2)(x − 5) fills cells 3x², −15x, 2x, −10 whose total area is the answer. Many teachers introduce multiplication this way first, then compress it to FOIL.

Rate this tool

Your rating stays in this browser (local storage) — nothing is sent to any server.

Related tools

🎂

Age Calculator

Calculators

%

Percentage Calculator

Calculators

🏦

EMI / Loan Calculator

Calculators

⚖️

BMI Calculator

Calculators

🎓

CGPA / Percentage Converter

Calculators

📏

Land Area Converter

Calculators

📆

Date Difference Calculator

Calculators

🧁

Cooking Unit Converter

Calculators

🏷️

Unit Price Comparator

Calculators

🐕

Pet Cost Calculator

Calculators

⛽

Fuel Cost Calculator

Calculators

🎓

Grade Calculator

Calculators

📝

Final Exam Grade Calculator

Calculators

📅

Business Days Calculator

Calculators

🔢

Number to Words Converter

Calculators

🧮

Online Calculator

Calculators

📏

Length Converter

Calculators

⚖️

Weight Converter

Calculators

🌡️

Temperature Converter

Calculators

🏎️

Speed Converter

Calculators

🗺️

Area Converter

Calculators

🧪

Volume Converter

Calculators

🎈

Pressure Converter

Calculators

🍳

Cooking Measurement Converter

Calculators

👟

Shoe Size Converter

Calculators

🎲

Random Number Generator

Calculators

🎲

Online Dice Roller

Calculators

🪙

Coin Flip Online

Calculators

🤷

Yes or No Picker

Calculators

⏲️

Online Countdown Timer

Calculators

⏱️

Online Stopwatch

Calculators

🔢

Lucky Number Calculator

Calculators

♈

Zodiac Sign Finder (Star Sign)

Calculators

📈

Biorhythm Calculator

Calculators

🎨

Lucky Color Finder (By Birth Date)

Calculators

🐾

Pet Age Converter (Dog & Cat Years)

Calculators

🥣

Pet Food Calculator (Daily Portions)

Calculators

🎯

GPA Goal Calculator

Calculators

💱

Currency Converter

Calculators

🏛️

Roman Numeral Converter

Calculators

🍅

Pomodoro Timer

Calculators

📐

Aspect Ratio Calculator

Calculators

👥

Age Difference Calculator

Calculators

🌐

Bandwidth Calculator

Calculators

💰

1099 Tax Calculator

Calculators

💰

Annuity Calculator

Calculators

💰

ATS Resume Checker

Calculators

💰

Business Loan Calculator

Calculators

💰

Company Tax Calculator

Calculators

💰

Crypto Tax Calculator

Calculators

💰

CV Maker (Academic Style)

Calculators

💰

Debt Consolidation Loan Calculator

Calculators

💰

Employer Cost Calculator

Calculators

💰

Forex Lot Size Calculator

Calculators

💰

Forex Trade Simulator

Calculators

💰

Freelance Invoice Template

Calculators

💰

Life Insurance Needs Calculator

Calculators

💰

Australia Mortgage Calculator

Calculators

💰

Canada Mortgage Calculator

Calculators

💰

Florida Mortgage Calculator

Calculators

💰

Hawaii Mortgage Calculator

Calculators

💰

Maryland Mortgage Calculator

Calculators

💰

Texas Mortgage Calculator

Calculators

💰

UK Mortgage Calculator

Calculators

💰

Washington Mortgage Calculator

Calculators

💰

Online Will Maker

Calculators

💰

Overtime Calculator

Calculators

💰

Payroll Calculator

Calculators

💰

Georgia Employer Payroll Tax Calculator

Calculators

💰

New York Employer Payroll Tax Calculator

Calculators

💰

North Carolina Employer Payroll Tax Calculator

Calculators

💰

Texas Employer Payroll Tax Calculator

Calculators

💰

Quarterly Tax Calculator

Calculators

💰

Refinance Calculator

Calculators

💰

Resume Score Checker

Calculators

💰

Resume Template (Plain Text)

Calculators

💰

Retirement Investment Calculator

Calculators

💰

Retirement Savings Calculator

Calculators

💰

Reverse Mortgage Calculator

Calculators

💰

Salary Paycheck Calculator

Calculators

💰

Contractor Salary Calculator

Calculators

💰

Self-Employed Tax Calculator California

Calculators

💰

Self-Employed Tax Calculator UK

Calculators

💰

Solar Panel Cost Calculator

Calculators

💰

Stock Market Simulator

Calculators

💰

Federal Tax Calculator

Calculators

💰

Tax Deduction Calculator

Calculators

🧮

Scientific Calculator

Calculators

🎓

A-Level Grade Calculator

Calculators

📝

ACT Score Calculator

Calculators

🏫

SAT Score Calculator

Calculators

🍕

Fraction Calculator

Calculators

📐

Quadratic Equation Solver

Calculators

🐕

Dog Age Calculator

Calculators

⛳

Golf Handicap Calculator

Calculators

🏷️

Stacked Discount Calculator

Calculators

🔢

Mixed Number Calculator

Calculators

🔺

Discriminant Calculator

Calculators

🧮

Gaussian Elimination Calculator

Calculators

〰️

Fourier Series Calculator

Calculators

📈

Gradient Calculator

Calculators

📐

Diagonal Calculator

Calculators

Related Tools & Guides

About Act Score Calculator Aes Encrypt Decrypt Age Difference Calculator Ai Bio Generator Ai Caption Generator