Free Algebra Solver
Distributive property

Distributive Property Calculator

Enter an expression like 3(2x − 5) or −4(x + 2) + 6x. The calculator distributes the outside term and simplifies.

Interpreted as: 3x(x^2 - 2x + 5) (Expand) Ready
Examples
Solution

Worked example: 3x(x^2 - 2x + 5)

Worked example. Edit the problem above and press Expand to solve your own.

Problem3x(x^2 - 2x + 5)
  1. Apply the distributive property

    Multiply each term in one factor by each term in the other, then collect matching powers.

    (3x)(x²) = 3x³
    Multiply term by term
    (3x)(−2x) = −6x²
    Multiply term by term
    (3x)(5) = 15x
    Multiply term by term
    3x³ + −6x² + 15x
    Write all the products
    3x³ − 6x² + 15x
    Combine like terms

    The distributive property a(b + c) = ab + ac keeps the value unchanged.

  2. Collect like terms

    Add coefficients of terms with the same power of x and write the powers in descending order.

    3x(x^2 - 2x + 5)
    Original expression
    3x³ − 6x² + 15x
    Combine like terms and order by power

    Only like terms are combined, so the expression keeps the same value for every x.

Answer3x³ − 6x² + 15x

Distributive property

Distributive property calculator with examples and steps

Enter an expression with brackets into the distributive property calculator and it multiplies the outside term by each term inside, then simplifies. Below are distributive property examples with negatives, variables, and factoring.

What is the distributive property?

The distributive property says a(b + c) = ab + ac. To use it, multiply the term outside the brackets by every term inside, keeping each sign. For example, 3x(x² − 2x + 5) = 3x³ − 6x² + 15x. It also works in reverse, which is how you factor out a common factor.

How do you distribute?

Multiply the outside term by each term inside the brackets, one at a time, and write the results with their signs. The brackets then disappear.

For 4(x + 3), multiply 4 by x and 4 by 3 to get 4x + 12. With subtraction inside, the sign carries through: 5(2x − 1) = 10x − 5.

You can check a distribution with any number. At x = 5, 4(x + 3) is 4 × 8 = 32, and 4x + 12 is 20 + 12 = 32. When both forms give the same value, they are the same expression written two ways.

Distributive property
a(b + c) = ab + ac
With subtraction
a(b − c) = ab − ac

How do you distribute a variable?

Multiply the coefficients and add the exponents of the variable. 3x times x² is 3x³, because x × x² = x¹⁺² = x³.

Start
3x(x² − 2x + 5)
Multiply each term
3x · x² − 3x · 2x + 3x · 5
Result
3x³ − 6x² + 15x

Each term's power goes up by one, since the outside term has one x. Nothing combines afterward because the three powers are all different.

Watch the middle term in particular. The inside term is −2x, so the product is 3x × −2x = −6x². Students often drop the sign or forget to multiply the x parts, which gives −6x instead.

How do you distribute a negative number?

Multiply the negative by every term inside, and every sign inside flips. −3(2x − 5) becomes −6x + 15, because −3 × −5 = +15.

Here is a full example where you distribute and then combine like terms.

Start
−4(x + 2) + 6x
Distribute −4
−4x − 8 + 6x
Combine x terms
2x − 8

A lone minus sign in front of brackets counts as −1. So 5x − (2x − 3) means 5x − 2x + 3, which is 3x + 3. Forgetting to flip the last sign is the most common distributive property mistake.

A quick rule for signs: a negative times a positive gives a negative, and a negative times a negative gives a positive. Say each sign out loud as you multiply, and write it down before the number.

Distributive property examples

The table shows a range of inputs, from a plain number outside to a variable and a negative. Each result was checked with the calculator.

ExpressionAfter distributing
4(x + 3)4x + 12
−3(2x − 5)−6x + 15
3x(x² − 2x + 5)3x³ − 6x² + 15x
2(3x − 4) − (x − 5)5x − 3
2x(3x + 4) − x²5x² + 8x

How do you distribute two brackets in one expression?

Distribute each bracket separately, then combine like terms across the whole expression. Treat the sign in front of each bracket as part of the number you distribute.

Start
2(3x − 4) − (x − 5)
Distribute 2 and −1
6x − 8 − x + 5
Combine
5x − 3

The second bracket has no number in front, so it is multiplied by −1. That turns −5 into +5. Check with x = 2: the original gives 2(2) − (−3) = 7, and 5(2) − 3 = 7.

How is the distributive property used to solve equations?

You distribute to clear the brackets, combine like terms, and then solve as usual. It is often the first step in a multi-step equation.

In 3(x − 4) + 2x = 13, distributing gives 3x − 12 + 2x = 13. Combining gives 5x − 12 = 13, so 5x = 25 and x = 5. The linear equation solver shows the remaining steps if you want to check your work.

How do you use the distributive property backwards?

Reading ab + ac = a(b + c) from left to right is factoring out the greatest common factor. You find what every term shares and pull it outside the brackets.

In 8x + 12, both terms share 4, so 8x + 12 = 4(2x + 3). In 6x² + 9x, the terms share 3x, so the result is 3x(2x + 3). To check a factored answer, distribute it again and see if you get the original.

When the first term is negative, it is usual to factor out a negative number. −2x − 6 becomes −2(x + 3), and distributing the −2 brings back both minus signs. With larger numbers, 12x² − 8x factors as 4x(3x − 2); the GCF calculator helps when the common factor isn't obvious.

How does the distributive property help with mental math?

Split one number into an easy sum, then multiply each part. To find 7 × 103, think 7 × (100 + 3) = 700 + 21 = 721.

It works with subtraction too: 6 × 98 = 6 × (100 − 2) = 600 − 12 = 588. This is the same rule you use in algebra, just with numbers in place of x.

Shopping math works the same way. Four items at $2.99 each is 4 × (3 − 0.01), which is 12 − 0.04 = $11.96. Rounding to a friendly number and then correcting is the distributive property at work.

Frequently asked questions

Short answers to the questions people ask most about this topic.

What is the distributive property in simple terms?

It means a number outside brackets multiplies everything inside. 2(x + 5) is the same as 2x + 10. It connects multiplication and addition.

How do you distribute with a negative sign?

Multiply the negative by each term inside, flipping every sign. −(x − 4) becomes −x + 4, and −2(3x + 1) becomes −6x − 2.

Does the distributive property work with division?

Yes, when the sum is on top. (6x + 9)/3 = 6x/3 + 9/3 = 2x + 3. It does not work the other way: 12/(2 + 4) is not 12/2 + 12/4.

What is the difference between distributing and FOIL?

FOIL is distributing twice, for two binomials. With one term outside a bracket, you distribute once. Both come from the same property.

Can I distribute an exponent over a sum?

No. (x + 3)² is not x² + 9. An exponent on brackets means multiplying the brackets by themselves, so (x + 3)² = x² + 6x + 9.

Why is it called the distributive property?

The outside factor is distributed, or handed out, to each term inside the brackets. Every term gets multiplied once.

What can I type into the distributive property calculator?

Any expression in one variable with brackets, such as 3x(x^2 - 2x + 5) or -4(x + 2) + 6x. It doesn't accept two different letters, so a(b + c) with letters only won't run.

How do you distribute a fraction?

Multiply the fraction by each term inside. (1/2)(4x + 6) becomes 2x + 3, because half of 4x is 2x and half of 6 is 3. If a term doesn't divide evenly, leave the fraction as the coefficient.

Math keypad

Expand mode

Use the keypad below or tap the expression to use your phone keyboard.

Keyboard tips

Ctrl + Enter
Run the selected operation
^
Enter a power, such as x^2
sqrt(
Calculate an exact or simplified square root
a:b
Separate quantities in a ratio
12, 18
Separate integers in an LCM and GCD calculation
@ x =
Assign x when evaluating an expression
y =
Enter a polynomial function to graph
|
Wrap an absolute-value expression