Factoring Calculator: Factor Trinomials, Quadratics and Polynomials Step by Step

Factoring rewrites a polynomial or a number as a product of simpler pieces, such as x² + 5x + 6 = (x + 2)(x + 3). Enter yours in the calculator below to get the complete factorization, the method that worked, every root and a check by expanding.

What Is Factoring?

A factor is a number or expression that divides another one exactly. Factoring is the reverse of multiplying out: 12 = 3 × 4, and x² + 5x + 6 = (x + 2)(x + 3). The result is called the factored form. A polynomial that cannot be broken down any further over the integers is called prime.

Factoring matters because it makes equations solvable. If (x + 2)(x + 3) = 0, one of the brackets must be zero, so x = −2 or x = −3. This is the zero-product property, and it only works once the expression is factored.

How to Factor Polynomials, in the Order That Works

  1. Take out the greatest common factor (GCF). 6x² + 12x = 6x(x + 2).
  2. Count the terms. Two terms suggest a difference of squares or a sum or difference of cubes.
  3. Three terms: look for a pair that multiplies to c and adds to b. If a is not 1, use the AC method.
  4. Four terms: try grouping.
  5. Still stuck: test rational roots with the rational root theorem.
  6. Check by multiplying back.
Factor 6x² + 11x − 10Try it in the calculator ↑

6x² + 11x − 10

  1. a × c = 6 × (−10) = −60. The pair 15 and −4 multiplies to −60 and adds to 11.
  2. Split the middle: 6x² + 15x − 4x − 10.
  3. Group: 3x(2x + 5) − 2(2x + 5).
  4. Pull out the common bracket: (2x + 5)(3x − 2).

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

Guess-and-check is overrated once the leading coefficient is not 1, since the number of combinations grows quickly. The AC method is underrated because it turns guessing into arithmetic. And “factor completely” is where many answers go wrong: x⁴ − 16 = (x² − 4)(x² + 4) is only half done, because x² − 4 splits again into (x − 2)(x + 2).

Which Quadratics Actually Factor?

A shortcut saves a lot of hunting. A trinomial x² + bx + c factors over the integers only if b² − 4c is a perfect square. Test that first. We checked every x² + bx + c with b and c from −20 to 20, 1,681 trinomials in all. Only 175 of them (10.4%) factor over the integers. Restricted to positive b and c from 1 to 20, it is 34 of 400 (8.5%).

Textbook problems come from that small slice. Real data mostly does not, so when the pair hunt fails after a minute, check the discriminant instead of trying harder.

A Quartic That Looks Prime

x⁴ + 4 has no rational roots and no pattern that shows. Many students call it prime. It factors as (x² + 2x + 2)(x² − 2x + 2), an instance of Sophie Germain’s identity a⁴ + 4b⁴ = (a² + 2ab + 2b²)(a² − 2ab + 2b²). The calculator finds it by searching for quadratic factors, and the expansion check confirms it.

Factoring Patterns Cheat Sheet

PatternFactored formExample
Common factorab + ac = a(b + c)6x² + 9x = 3x(2x + 3)
Difference of squaresa² − b² = (a − b)(a + b)x² − 49 = (x − 7)(x + 7)
Perfect squarea² ± 2ab + b² = (a ± b)²x² + 10x + 25 = (x + 5)²
Sum / difference of cubesa³ ± b³ = (a ± b)(a² ∓ ab + b²)x³ − 8 = (x − 2)(x² + 2x + 4)
Trinomial x² + bx + cfind two numbers with sum b and product cx² + 5x + 6 = (x + 2)(x + 3)

A sum of squares such as x² + 9 does not factor over the real numbers. “Prime” is a legitimate answer.

Our Take: What Is Overrated, Underrated and Plain Wrong

Overrated: guess-and-check for trinomials with big leading coefficients. It burns time that a clean method would save.

Underrated: always pulling out the GCF first. It makes the leftover numbers smaller and exposes patterns you would otherwise miss.

Plain wrong: treating a polynomial that does not factor as a mistake. Plenty of polynomials are prime over the integers, and x² + 9 is one.

Factors of a Number and Prime Factorization

For numbers, factors come in pairs. The factors of 36 are 1, 2, 3, 4, 6, 9, 12, 18 and 36, which pair up as 1 × 36, 2 × 18, 3 × 12, 4 × 9 and 6 × 6. The prime factorization of 360 is 2³ × 3² × 5. Adding one to each exponent and multiplying, (3 + 1)(2 + 1)(1 + 1), gives 24 factors without listing them.

Among the numbers up to 100, 60, 72, 84, 90 and 96 tie for the most factors, 12 each, and 25 numbers are prime. For two numbers, the GCF of 84 and 126 is 42 and their LCM is 252.

Why Students Get Stuck on Factoring, and What a Good Calculator Should Do

Searching for help with factoring usually starts late at night with one problem that will not work out. Finding the right pair of numbers is trial and error, and special patterns are easy to miss. A good calculator fixes that by showing each step, checking its own answer and explaining the idea in plain words. This section covers what students struggle with, what they want, and how this page responds.

In short: students need to factor in a fixed order and check by expanding, not just see a final number, and a calculator earns trust only when its steps can be checked.

Understand the pain points

What students get stuck on

Most mistakes here are not about arithmetic. They come from one rule applied the wrong way round, which is why seeing every step matters.

Understand the frustrations and desires

What they feel, and what they want

Each frustration points to a wish: a clearer step, a built-in check, an explanation in plain words.

  • Wants the method shown, not only the brackets
  • Wants a check by expanding
  • Wants to know when an expression cannot be factored

Build the page around their intent

Each intent has a place on this page

The page follows intent, not features, so each need has a clear starting point.

  • I need an answer now: type the problem into the calculator at the top of this page.Factor x^2 + 5x + 6
  • I need to understand: the sections below explain the idea in plain words and list the common mistakes.
  • I need to check my work: every step is shown, so the first line that differs from yours is the one to study.
  • I need practice: open the solver, tap + and choose Create Practice Test.
  • I need it explained aloud: in the solver, tap + and choose Create Video.

Factoring: Questions People Ask

What is the difference between factoring and solving?

Factoring rewrites an expression as a product. Solving finds the values of x that make an equation true, often by setting each factor to zero.

Can every polynomial be factored?

Over the complex numbers, yes. Over the integers some are prime, such as x² + 1.

What does factor completely mean?

Keep factoring until every piece is prime, after taking out the GCF first.

How do I factor when the leading coefficient is not 1?

Use the AC method: multiply a and c, find the pair that adds to b, split the middle term and group.

How do I factor a trinomial?

For x² + bx + c, find two numbers that multiply to c and add to b. For leading coefficients other than 1, use the AC method or factor by grouping.

How do I factor a difference of squares?

a² − b² = (a − b)(a + b). For example, 25x² − 16 = (5x − 4)(5x + 4).

Can every polynomial be factored?

Not over the integers or reals. Quadratics with a negative discriminant are prime over the reals, though they factor over complex numbers.

↑