# FOIL Calculator

The calculator will multiply two binomials using the FOIL method, with steps shown.

If the calculator did not compute something or you have identified an error, or you have a suggestion/feedback, please write it in the comments below.

Multiply $\left(2 x + 1\right) \left(5 x + 7\right)$ using FOIL.
$\left(\color{red}{\left(2 x\right)} + \color{purple}{\left(1\right)}\right) \left(\color{green}{\left(5 x\right)} + \color{blue}{\left(7\right)}\right) = \underbrace{\color{red}{\left(2 x\right)} \color{green}{\left(5 x\right)}}_{\text{First}} + \underbrace{\color{red}{\left(2 x\right)} \color{blue}{\left(7\right)}}_{\text{Outer}} + \underbrace{\color{purple}{\left(1\right)} \color{green}{\left(5 x\right)}}_{\text{Inner}} + \underbrace{\color{purple}{\left(1\right)} \color{blue}{\left(7\right)}}_{\text{Last}} = 10 x^{2} + 14 x + 5 x + 7 = 10 x^{2} + 19 x + 7$
$\left(2 x + 1\right) \left(5 x + 7\right) = 10 x^{2} + 19 x + 7$A