Factoring Calculator

Factoring Calculator

Algebra

Use this factoring calculator to factor a quadratic expression or break an integer into prime factors, with the key steps shown under the result.

Expression: x^2 + 5x + 6
Enter integer coefficients for ax^2 + bx + c. The calculator first tries exact integer factoring.
For fast browser performance, use integers between -1,000,000,000 and 1,000,000,000.
Result
Loading example…
The calculator will show the factored form and a short explanation.

What the Result Means

Factoring rewrites a number or expression as a product of simpler parts. For a quadratic expression, the result shows which binomials multiply back to the original expression. For an integer, the result shows the prime numbers that multiply back to the original number.

Formula and Method

Quadratic factoring

The calculator works with:

ax^2 + bx + c

It looks for two linear factors:

(px + q)(rx + s)

where p*r = a, q*s = c, and p*s + q*r = b.

Integer factoring

Prime factorization rewrites an integer as prime numbers only.

Example:

360 = 2^3 * 3^2 * 5

The calculator divides by prime candidates until the remaining value is prime.

How to Use This Factoring Calculator

  1. Choose Quadratic to factor an expression in the form ax^2 + bx + c.
  2. Enter the values of a, b, and c as integers.
  3. Choose Integer to factor a whole number into prime factors.
  4. Click Calculate to update the result on the same page.
  5. Use Copy Result if you want to reuse the visible answer.
  6. Use Clear to reset the active calculator mode.

Worked Example

For the quadratic expression x^2 + 5x + 6, the calculator looks for two numbers that multiply to 6 and add to 5. Those numbers are 2 and 3.

So the factored form is:

x^2 + 5x + 6 = (x + 2)(x + 3)

Checking the result: (x + 2)(x + 3) expands to x^2 + 3x + 2x + 6, which simplifies to x^2 + 5x + 6.

Common Use Cases

For students

Use the calculator to check algebra homework, compare expanded and factored forms, or study how trinomials split into binomials.

For number work

Use integer factorization to simplify fractions, find prime factors, prepare for LCM or GCD problems, and check divisibility patterns.

Common Mistakes

  • Entering the coefficients in the wrong order. The quadratic format is always ax^2 + bx + c.
  • Using decimals when exact integer factoring is expected.
  • Expecting every quadratic to factor nicely over integers. Some expressions are not factorable into integer binomials.
  • Confusing factoring with solving. Factoring rewrites the expression, while solving finds values of x.
  • For integer factoring, entering a value outside the safe browser range can slow down calculation.

Limitations

This calculator focuses on quadratic expressions with integer coefficients and integer prime factorization. It does not factor higher-degree polynomials such as cubic or quartic expressions. When a quadratic cannot be factored over integers, the tool may show an approximate real-factor form when real roots exist.

FAQ

What does factoring mean in algebra?

Factoring means rewriting an expression as a product of simpler expressions. For example, x^2 + 5x + 6 factors into (x + 2)(x + 3).

Can this calculator factor any polynomial?

No. This tool is designed for quadratic expressions in the form ax^2 + bx + c. It does not factor cubic, quartic, or symbolic multi-variable expressions.

What if my quadratic is not factorable?

If integer factoring is not possible, the calculator will say so. If the expression has real roots, it can also show an approximate real-factor form.

Is factoring the same as solving?

No. Factoring rewrites the expression. Solving uses the factored form or another method to find values of x that make the expression equal zero.

What is prime factorization?

Prime factorization breaks a whole number into prime numbers. For example, 84 becomes 2^2 * 3 * 7.

Similar Calculations