Factoring Calculator

Enter any single-variable polynomial to detect common factors, rational roots, and classical factorization patterns step by step.

  • Factor any single-variable polynomial expression instantly.
  • Step-by-step solutions showing every factorization step.
  • Detects perfect squares, cubes, differences of squares, and more.
  • Finds rational roots and common factor extraction automatically.
  • 100% free — no signup, no installation, works in your browser.

Polynomial Factoring Calculator

Try an example

Why Use This Factoring Calculator

Step-by-Step Factorization

See every step of the factoring process explained clearly. The calculator shows how it normalizes the polynomial, extracts common factors, finds roots, and builds the final factored form — perfect for learning and homework help.

Multiple Factoring Patterns

Automatically detects and applies classical factoring patterns: perfect square trinomials, perfect cubes, differences of squares, common factor extraction, and the rational root theorem for higher-degree polynomials.

Handles Any Degree

Factor linear, quadratic, cubic, quartic, and higher-degree polynomials. The calculator uses rational root testing and polynomial division to factor expressions that simple pattern matching cannot handle.

Supports Fractions and Decimals

Enter polynomial coefficients as integers, fractions, or decimals. The calculator normalizes all inputs and works with rational arithmetic for exact results — no rounding errors.

Instant Results in Browser

All factorization runs entirely in your browser with no server round-trips. Enter your polynomial, click Factor, and see the complete factored form with steps immediately. No signup or installation needed.

Free with No Limits

Factor as many polynomials as you need — no daily limits, no account required, and no premium features locked behind a paywall. The full factoring calculator is completely free to use.

How to Factor Polynomials

Factoring is the process of rewriting a polynomial as a product of simpler expressions called factors. It is one of the most important skills in algebra because it allows you to solve equations, simplify expressions, and understand the structure of mathematical relationships.

Whether you are a student learning algebra, a teacher preparing lessons, or an engineer simplifying expressions, this factoring calculator provides instant, step-by-step solutions for any polynomial factoring problem.

What Is Factoring?

Factoring (or factorization) rewrites a polynomial like x² + 5x + 6 as a product of simpler expressions: (x + 2)(x + 3). Each part of the product is called a factor. Factoring is the reverse of expanding (multiplying out) expressions.

Why Factor Polynomials?

Factoring helps solve polynomial equations by setting each factor to zero (zero product property). It also simplifies rational expressions, reveals roots and intercepts for graphing, and identifies repeated structures in algebraic problems.

Common Factoring Methods

Start by extracting the greatest common factor (GCF). Then check for recognizable patterns: difference of squares (a² - b²), perfect square trinomials (a² ± 2ab + b²), sum/difference of cubes (a³ ± b³). For quadratics, use factoring by grouping or the quadratic formula.

When Factoring Doesn't Work

Not all polynomials factor neatly over the rational numbers. Some polynomials are irreducible — they cannot be broken into simpler rational factors. In such cases, the calculator will show the irreducible remainder after extracting any factors it can find.

How to Use the Factoring Calculator

  1. 1

    Enter your polynomial

    Type or paste a polynomial expression in the input field. Use x as the variable, ^ for exponents, and standard arithmetic operators. Examples: x^2 + 5x + 6, 2x^3 - 8x, x^4 - 16.

  2. 2

    Click Factor It

    Press the Factor button to start the factorization. The calculator normalizes your input, identifies the variable, and applies multiple factoring strategies automatically.

  3. 3

    Review the factored form

    The result shows the fully factored expression, including any constant factor, along with a list of all individual factors and their multiplicities. Compare with the normalized polynomial to verify.

  4. 4

    Study the steps

    Expand the step-by-step section to see exactly how the calculator arrived at the result — which roots were found, which patterns were detected, and what remained as irreducible factors. Great for learning how factoring works.

Tips for Factoring Polynomials

Always Start with GCF

Before trying any other method, extract the greatest common factor from all terms. For example, 6x³ + 12x² = 6x²(x + 2). This simplifies the remaining polynomial and makes further factoring easier.

Recognize Standard Patterns

Learn to spot difference of squares (a² - b²), perfect square trinomials (a² ± 2ab + b²), and sum/difference of cubes (a³ ± b³). These patterns have known factored forms that save time.

Use the Rational Root Theorem

For polynomials that don't fit standard patterns, the rational root theorem helps find possible rational roots. Test factors of the constant term divided by factors of the leading coefficient.

Check by Expanding

After factoring, multiply the factors back together to verify you get the original polynomial. This catch mistakes and confirms the factorization is correct.

Factor Completely

Don't stop at the first factoring step. Check if each factor can be factored further. For example, x⁴ - 16 = (x² + 4)(x² - 4) = (x² + 4)(x + 2)(x - 2).

Try Different Variable Forms

Some polynomials factor more easily when written differently. For example, x⁴ + 4x² + 4 can be seen as (x²)² + 2(x²)(2) + 2² = (x² + 2)², treating x² as a single unit.

Factoring Formulas and Identities

Definition of factorization

Factorization rewrites a polynomial as a product of simpler expressions (factors) within a number system, which is helpful for solving equations and simplifying algebraic manipulations.

How factorization helps

  • Solve polynomial equations quickly by setting each factor to zero.
  • Simplify algebraic expressions and rational functions before further operations.
  • Reveal structure such as repeated roots or symmetry for optimization problems.
  • Find x-intercepts for graphing polynomial functions.

Strategy tips

Start by extracting common factors, then test for recognizable patterns (squares, cubes, grouping) before searching for rational roots. Always check if each resulting factor can be factored further.

Classical Factoring Formulas

Perfect cube

a³ + 3a²b + 3ab² + b³ = (a + b)³

Example: x³ + 3x² + 3x + 1 = (x + 1)³.

Difference of squares

a² - b² = (a + b)(a - b)

Example: x² - 4 = (x + 2)(x - 2).

Perfect square trinomials

a² ± 2ab + b² = (a ± b)²

Example: x² + 6x + 9 = (x + 3)².

Sum and difference of cubes

a³ + b³ = (a + b)(a² - ab + b²) and a³ - b³ = (a - b)(a² + ab + b²)

Example: x³ - 8 = (x - 2)(x² + 2x + 4).

Grouping method

Group terms that share a factor, factor each group, then factor the common binomial.

Example: ax + ay + bx + by = (a + b)(x + y).

Common factor extraction

Pull out the greatest common factor (GCF) before applying other techniques.

Example: 3x² + 6x = 3x(x + 2).

Factoring Calculator FAQ

How do I factor a polynomial?

Enter your polynomial expression (like x^2 + 5x + 6) in the calculator above and click Factor. The calculator will find all rational factors and show you the factored form step by step. Common methods include extracting common factors, recognizing patterns like difference of squares, and using the rational root theorem.

How to factor polynomials step by step?

Step 1: Extract the greatest common factor (GCF) from all terms. Step 2: Check for standard patterns — difference of squares, perfect square trinomials, or sum/difference of cubes. Step 3: For quadratics, find two numbers that multiply to give the constant term and add to give the middle coefficient. Step 4: For higher-degree polynomials, use the rational root theorem to test possible roots, then divide. This calculator shows all these steps automatically.

What factoring patterns does this calculator detect?

The calculator detects: common factor extraction (GCF), difference of squares (a² - b²), perfect square trinomials (a² ± 2ab + b²), perfect cubes (a³ ± 3a²b + 3ab² ± b³), and rational roots using the rational root theorem. It applies polynomial long division to fully factor after finding each root.

Can this factor quadratic equations?

Yes. Enter any quadratic expression like x^2 + 5x + 6, ax^2 + bx + c, or even 0.5x^2 - 2. The calculator factors it into linear factors over the rationals when possible, or identifies it as irreducible if the roots are irrational or complex.

What is the difference between factoring and solving?

Factoring rewrites a polynomial as a product of simpler expressions — for example, x² - 9 = (x + 3)(x - 3). Solving finds the values of x that make the polynomial equal zero — in this case, x = -3 and x = 3. Factoring is often the first step in solving polynomial equations.

Does it handle polynomials with fractions?

Yes. You can enter coefficients as fractions (like 1/2x^2 + 3/4x) or decimals (like 0.5x^2 + 0.75x). The calculator normalizes all inputs using exact rational arithmetic, so there are no rounding errors in the results.

What if my polynomial can't be factored?

Some polynomials are irreducible over the rational numbers — they cannot be factored into simpler rational expressions. For example, x² + 1 has no real roots. The calculator will identify irreducible factors and show them in the result. This is a valid mathematical result, not an error.

Is this factoring calculator free to use?

Yes, completely free with no limits. There is no signup, no daily usage cap, and no premium version. The calculator runs entirely in your browser — your polynomial expressions are never sent to any server.