Free Algebra Solver
Factoring

Factoring Calculator

Enter a polynomial. The factoring calculator pulls out the GCF, factors trinomials with the ac method, and handles higher-degree polynomials too.

Preview 6x^2 + 11x - 10 (Factor) Ready
Examples
Solution

Worked example: 6x^2 + 11x - 10

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

Problem6x^2 + 11x - 10
  1. Factor the trinomial (ac method)

    Find two numbers that multiply to a·c = −60 and add to b = 11: they are −4 and 15. Split the middle term and factor by grouping.

    a·c = 6 × −10 = −60
    Product to match
    −4 × 15 = −60, −4 + 15 = 11
    The two numbers
    6x² − 4x + 15x − 10
    Split the middle term
    (2x + 5)(3x − 2)
    Group and factor out the common binomial

    Splitting bx into two terms does not change the value, and grouping pulls out the shared binomial.

  2. Check by multiplying the factors

    Expand the factored form and compare it with the original expression.

    (2x + 5)(3x − 2)
    Factored form
    6x² + 11x − 10
    Expands back to the original, so it checks out

    Equal coefficients for every power of x prove the factorization is exact.

Answer(2x + 5)(3x − 2)

Factoring guide

How the factoring calculator breaks a polynomial into factors

Type a polynomial into the factoring calculator above and it shows each step, from pulling out a common factor to splitting the middle term. Below is the same method written out so you can factor by hand and check your homework.

How do you factor a polynomial?

To factor a polynomial, first pull out the greatest common factor. Then match what is left to a method. Use the ac method for a trinomial like 6x² + 11x − 10, a pattern such as the difference of squares for 4x² − 9, or grouping for four terms. Keep going until no factor can be broken down further.

What does it mean to factor an expression?

Factoring means rewriting a sum as a product. It is the reverse of expanding: (2x + 5)(3x − 2) multiplies out to 6x² + 11x − 10, so factoring 6x² + 11x − 10 takes you back to (2x + 5)(3x − 2).

A product is easier to work with. If you need to solve 6x² + 11x − 10 = 0, the factored form tells you right away that 2x + 5 = 0 or 3x − 2 = 0. Factors also make fractions simpler, because a shared factor on the top and bottom cancels.

What order does the factoring calculator follow?

The factoring calculator takes out the greatest common factor first, then counts the terms to pick a method. Follow the same order by hand. That one habit prevents most wrong answers.

  1. Pull out the GCF of every term, including a negative sign if the leading coefficient is negative.
  2. Two terms: check for a difference of squares, a² − b² = (a + b)(a − b), or a sum or difference of cubes.
  3. Three terms: check for a perfect square trinomial, then use the ac method.
  4. Four terms: try factoring by grouping.
  5. Degree 3 or higher with no pattern: use the rational root theorem to find a root, then divide it out.
  6. Look at every factor again and keep factoring until none can be split.

For example, 3x² − 12 has a GCF of 3. Taking it out leaves 3(x² − 4), and x² − 4 is a difference of squares, so the full answer is 3(x + 2)(x − 2).

How do you factor trinomials with the ac method?

Multiply a by c, find two numbers that multiply to ac and add to b, split the middle term with those numbers, and factor by grouping. This works for any trinomial ax² + bx + c that factors over the integers, and it is what a factoring trinomials calculator does behind the scenes.

Here is 6x² + 11x − 10 worked through. The product a·c is 6 × (−10) = −60, and the pair that multiplies to −60 and adds to 11 is −4 and 15.

Start
6x² + 11x − 10
a·c
6 × (−10) = −60
Pair
−4 × 15 = −60, −4 + 15 = 11
Split the middle
6x² − 4x + 15x − 10
Group
2x(3x − 2) + 5(3x − 2)
Answer
(2x + 5)(3x − 2)

Multiply the answer back out to check it. (2x + 5)(3x − 2) gives 6x² − 4x + 15x − 10, which is 6x² + 11x − 10. The calculator runs this same check on every answer it gives.

Which special factoring patterns should you know?

The two you will see most are the difference of squares and the perfect square trinomial. Spotting them saves you from running the full ac method.

A difference of squares has two perfect squares with a minus sign between them. In 4x² − 9, the terms are (2x)² and 3², so it factors as (2x + 3)(2x − 3). A sum of squares like x² + 4 does not factor over the real numbers.

A perfect square trinomial has a first and last term that are squares, and a middle term equal to twice their product. In 4x² + 12x + 9, the middle term is 2 × 2x × 3 = 12x, so the answer is (2x + 3)².

PatternFormulaExample
Difference of squaresa² − b² = (a + b)(a − b)4x² − 9 = (2x + 3)(2x − 3)
Perfect square (plus)a² + 2ab + b² = (a + b)²x² + 6x + 9 = (x + 3)²
Difference of cubesa³ − b³ = (a − b)(a² + ab + b²)x³ − 27 = (x − 3)(x² + 3x + 9)

How do you factor polynomials of higher degree?

Start with the GCF, then look for a pattern or a rational root in what remains. Higher degree problems often turn into a quadratic once the common factor is gone.

Take −5h⁴ + 30h³ − 40h². Every term has h² and a factor of 5, and the leading term is negative, so take out −5h². That leaves −5h²(h² − 6h + 8). Two numbers that multiply to 8 and add to −6 are −2 and −4, giving −5h²(h − 2)(h − 4).

With x⁴ − 1, the difference of squares works twice in a row. First x⁴ − 1 = (x² + 1)(x² − 1), then x² − 1 = (x + 1)(x − 1). The final answer is (x + 1)(x − 1)(x² + 1). The calculator reaches the same result by finding the roots 1 and −1 with the rational root theorem.

What does irreducible over the rationals mean?

It means the polynomial cannot be written as a product of smaller polynomials with whole number or fraction coefficients. The calculator shows this label when nothing more can be pulled out.

For example, x² + x + 1 is irreducible over the rationals because no two integers multiply to 1 and add to 1. Its discriminant is 1 − 4 = −3, which is not a perfect square. A quadratic only factors over the rationals when b² − 4ac is a perfect square.

Irreducible over the rationals does not always mean irreducible everywhere. The polynomial x² − 5 has the roots √5 and −√5, so it splits as (x − √5)(x + √5) if square roots are allowed. Most algebra classes stop at rational coefficients, which is why the calculator leaves x² − 5 as it is.

What are the most common factoring mistakes?

Forgetting the GCF is the big one. If you factor 2x² + 8x + 8 as (2x + 4)(x + 2), you are not finished, because 2x + 4 still has a 2 in it. The complete answer is 2(x + 2)².

Sign errors come next. When c is negative, the two numbers in the ac method have opposite signs. When c is positive and b is negative, both numbers are negative. Students also stop early on x⁴ − 1, writing (x² + 1)(x² − 1) and missing that x² − 1 splits again.

Frequently asked questions

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

How do I use the factoring calculator?

Type the polynomial with ^ for powers, for example 6x^2 + 11x - 10, and choose factor. The calculator shows the GCF step, the method it used, and a check that the factors multiply back to your original expression.

Is a factor calculator the same as a factorization calculator?

People use both names for the same tool. On this site, a factor calculator for polynomials is the one above, while the prime factorization calculator breaks a whole number like 360 into primes.

Can the calculator factor polynomials with degree higher than 2?

Yes. It handles polynomials up to degree 6 using the GCF, grouping, special patterns, and the rational root theorem. It can also split some quartics into two quadratics.

Why does the answer say irreducible over the rationals?

Nothing more can be factored using whole numbers or fractions. A quadratic like x² + 5 or x² + x + 1 has no rational roots, so it stays as one piece.

How do you factor polynomials with a negative leading coefficient?

Take out a negative GCF first. For −5h⁴ + 30h³ − 40h², pulling out −5h² leaves h² − 6h + 8 with a positive leading term, which factors as (h − 2)(h − 4).

How can I check a factoring answer?

Multiply the factors back together. If you get the original polynomial, the factoring is right. You can paste the factored form into the expand calculator to do the multiplication for you.

Can I factor an equation instead of an expression?

If you want the solutions of an equation like 6x² + 11x − 10 = 0, use the solver instead. It factors where it can and gives the values of x directly.

Math keypad

Factor mode

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

Keyboard tips

Ctrl + Enter
Run the selected operation
a/b key
Select part of the problem first to wrap it in a fraction, root, power, or bars
sin(30)
Scientific functions work in Calculate mode; angles are in degrees unless you use π
^
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