✂️ Factoring Calculator

Factor a quadratic ax²+bx+c into two binomials, or factor the greatest common factor out of a set of terms.

✂️ Factor ax² + bx + c
Factored Result
Factored Form
Discriminant
Roots
✂️

Enter a, b and c to factor the quadratic

🤝 Factor Out the GCF
Enter comma-separated integer coefficients, e.g. "4,8,12" for 4x² + 8x + 12
Factored Result
Factored Form
GCF
🤝

Enter coefficients to factor out the GCF

Guide

About the Factoring Calculator

Last updated: July 2026 · Reviewed by the NeftCal editorial team

This factoring calculator is a free tool that covers the two most common factoring problems in algebra: factoring a quadratic trinomial ax² + bx + c into two binomials, and factoring the greatest common factor (GCF) out of a set of polynomial term coefficients. Factoring rewrites an expression as a product of simpler pieces, which is the fastest route to solving a quadratic equation, simplifying a rational expression, or graphing a parabola's x-intercepts. Whether you need a factor quadratic calculator for homework, a factor trinomial calculator to check your algebra, or a GCF factoring calculator to simplify an expression before further work, this tool shows the discriminant, the roots, and the fully factored result.

What This Calculator Solves

The Factor a Quadratic tool takes coefficients a, b, and c and computes the discriminant D = b² − 4ac, the roots x₁ and x₂, and the resulting factored binomial form a(x − x₁)(x − x₂) — simplified to clean integer binomials whenever the roots are rational. The Factor Out the GCF tool takes a comma-separated list of integer coefficients, finds their greatest common factor using the Euclidean algorithm, and rewrites the expression as GCF × (reduced polynomial).

Who Should Use This Calculator

Algebra and precalculus students working through quadratic factoring and GCF homework, students preparing for standardized tests that include factoring questions, teachers checking assignment answers, engineers and physicists simplifying polynomial models to find roots or critical points, and anyone who wants to verify a hand-factored expression can use this tool.

Why Factoring Matters

Factoring is one of the fastest ways to solve a quadratic equation: once ax² + bx + c is written as a(x − x₁)(x − x₂), the zero product property says the equation equals zero exactly when x = x₁ or x = x₂ — no quadratic formula arithmetic required after that point. Factoring out a GCF first also keeps subsequent algebra simpler, since it reduces every coefficient to smaller, easier-to-work-with numbers.

Real-World Applications

Students use quadratic factoring to solve projectile-motion and area word problems. Engineers factor polynomial models describing systems to locate roots and critical points. Graphing calculators and software use factored form to plot a parabola's x-intercepts directly. Simplifying algebraic fractions in calculus and engineering courses almost always starts by factoring out a GCF from the numerator and denominator.

Tips for Accurate Results

  • Check the discriminant first — a negative discriminant means the quadratic has no real binomial factors, only complex roots.
  • Factor out any common numeric factor (the GCF) from a, b, and c before trying to factor the trinomial, to keep the numbers small.
  • Verify any factored result by multiplying the binomials back out — using the Polynomial Calculator's multiply mode — to confirm it reproduces the original expression.
Formula

The Factoring Formulas, Explained

Two distinct methods: factoring a quadratic into binomials, and factoring out the GCF

Method 1 — Factor a quadratic into two binomials
Roots: x₁, x₂ = (−b ± √(b² − 4ac)) ÷ (2a)
Factored form: a(x − x₁)(x − x₂)

Method 2 — Factor out the greatest common factor (GCF)
GCF = greatest common divisor of every coefficient (via the Euclidean algorithm)
Factored form: GCF × (each coefficient ÷ GCF, as a reduced polynomial)

Where:
a, b, c = coefficients of the quadratic ax² + bx + c (a ≠ 0).
D (discriminant) = b² − 4ac; determines whether the roots are real or complex.
x₁, x₂ = the roots of the quadratic, used to build the binomial factors (x − x₁) and (x − x₂).
GCF = greatest common factor of a list of coefficients.
🔢

The Discriminant Decides

D > 0 gives two real roots and real binomial factors; D = 0 gives one repeated root; D < 0 gives complex roots and no real factoring.

🤝

GCF Simplifies First

Pulling out the greatest common factor before factoring a trinomial keeps every number smaller and the remaining factoring step easier.

🔄

Factoring vs Expanding

Factoring and expanding (multiplying out) are inverse operations — multiplying a factored result back out should always reproduce the original expression.

⚙️ Why This Formula Works

A quadratic's roots are, by definition, the x-values that make it equal zero. If x₁ and x₂ are roots, then (x − x₁) and (x − x₂) are each zero exactly at those points, so their product a(x − x₁)(x − x₂) must expand back to the original ax² + bx + c. The GCF method works because dividing every term by the same common factor doesn't change the value of the expression, only how it's grouped.

🎯 When to Use Each Method

  • Factor a Quadratic: solving ax²+bx+c=0, or finding a parabola's x-intercepts
  • Factor Out the GCF: simplifying an expression or fraction before further algebra
  • Use both together: factor out the GCF first, then factor the remaining trinomial

📋 Assumptions

  • The quadratic tool assumes a, b, c are real numbers with a ≠ 0
  • The GCF tool assumes all entered coefficients are integers
  • Roots are treated as real numbers whenever the discriminant is non-negative

⚠️ Limitations of the Formula

  • a = 0 is rejected — the expression is linear, not quadratic
  • Negative discriminants produce complex roots, not real binomial factors
  • Only factors degree-2 expressions — not cubics or higher-degree polynomials
Walkthrough

Step-by-Step: How to Use the Factoring Calculator

From picking a tool to verifying the factored result

Pick the calculation mode

Choose Factor a Quadratic to factor ax² + bx + c, or Factor Out the GCF to pull a common factor from a set of terms.

Enter your coefficients

For the quadratic tool, enter a, b, and c. For the GCF tool, enter comma-separated integer coefficients from highest degree down to the constant.

Click "Factor"

The calculator computes the discriminant and roots for a quadratic, or the greatest common divisor for a GCF problem.

Read the factored result

The quadratic tool shows the factored binomial form (or complex roots if not factorable over the reals); the GCF tool shows the GCF and the reduced polynomial.

Verify the answer

Multiply the factors back out — using the Polynomial Calculator's multiply mode — to confirm they reproduce the original expression exactly.

Example

Worked Example

Factor x² − x − 6 into binomials, and separately factor the GCF out of 4x² + 8x + 12

Scenario

First, factor the quadratic x² − x − 6 (a=1, b=−1, c=−6) into two binomials. Then, factor the greatest common factor out of 4x² + 8x + 12 (coefficients 4, 8, 12).

a, b, c1, −1, −6
GCF Coefficients4, 8, 12
Expected Factors(x−3)(x+2)
Step 1 — Compute the discriminant: D = b² − 4ac = (−1)² − 4(1)(−6) = 1 + 24 = 25.
Step 2 — Find the roots: √25 = 5, so x = (1 ± 5) ÷ 2 → x₁ = 3, x₂ = −2.
Step 3 — Write the factored form: a(x − x₁)(x − x₂) = 1(x − 3)(x + 2) = (x − 3)(x + 2).
Step 4 — Verify by expanding: (x − 3)(x + 2) = x² + 2x − 3x − 6 = x² − x − 6 ✓, matching the original expression.
Step 5 — Factor out the GCF of 4x² + 8x + 12: GCF(4, 8, 12) = 4. Dividing each coefficient: 4÷4=1, 8÷4=2, 12÷4=3, giving 4(x² + 2x + 3).
Discriminant
25
Factored Quadratic
(x − 3)(x + 2)
GCF Result
4(x² + 2x + 3)

Explanation: A positive discriminant that's also a perfect square (25 = 5²) guarantees rational roots, which is why x² − x − 6 factors into a clean integer binomial pair rather than needing decimal approximations. The GCF example shows the other, entirely distinct factoring method: no roots or discriminant are involved — just finding the largest number that evenly divides every coefficient.

Interpretation

Understanding Your Factoring Result

What each field in the result actually represents

FieldWhat It MeansExample Reading
Discriminant (D)D > 0: two real roots. D = 0: one repeated root. D < 0: complex roots, not factorable over the realsD = 25 → two distinct real roots
Factored form (quadratic tool)The quadratic rewritten as a product of two binomials, or a(x−x₁)(x−x₂) with decimal roots if irrational(x − 3)(x + 2)
Roots x₁, x₂The x-values where the parabola crosses the x-axis (real case only)x₁ = 3, x₂ = −2
GCF & reduced polynomialThe largest integer dividing every coefficient, and the simplified polynomial left after dividing it outGCF(4,8,12) = 4 → 4(x² + 2x + 3)

Complex roots: when D < 0, the "roots" shown take the form re ± im·i — these are not x-intercepts on a real graph, since the parabola never crosses the x-axis in that case.

Manual verification: multiply the binomial factors back together (or multiply the GCF by the reduced polynomial) and confirm the expanded result matches your original expression exactly — the fastest way to catch a sign or arithmetic error.

Use Cases

Practical Use Cases for the Factoring Calculator

Where factoring quadratics and GCFs shows up in school and industry

🎓

Algebra homework

Factor trinomials and check GCF problems step by step.

📐

Solving quadratic equations

Find x-intercepts and roots directly from the factored form.

🧮

Simplifying rational expressions

Factor out a GCF from numerator and denominator before canceling terms.

📈

Graphing parabolas

Factored form reveals a parabola's x-intercepts without plotting points.

🏗️

Engineering & physics

Factor polynomial models describing systems to find roots or critical points.

💻

Computer science

Explore polynomial root-finding techniques used in numerical algorithms.

🎯

Standardized test prep

Practice the quadratic factoring questions common on algebra and entrance exams.

📊

Data science & modeling

Simplify polynomial regression terms by factoring out common coefficients.

🧪

Homework answer verification

Double-check a hand-factored trinomial or GCF result quickly.

🔢

Number theory practice

Explore the connection between the GCF and prime factorization.

💰

Business & optimization

Factor cost or profit quadratics to locate break-even points.

🧑‍🏫

Teaching & tutoring

Demonstrate both factoring methods clearly to students step by step.

🔬

Physics — projectile motion

Factor a height-vs-time quadratic to find when a projectile lands.

Pros & Cons

Advantages and Limitations

What this factoring calculator does well, and where manual judgment is still needed

✅ Advantages

  • Free, instant factoring of any quadratic ax² + bx + c
  • Automatically computes and displays the discriminant and both roots
  • Handles complex (non-real) roots gracefully when a quadratic isn't factorable over the reals
  • Separate GCF tool factors out a common factor from any list of integer coefficients
  • Automatically simplifies rational roots into clean integer binomial factors
  • Runs entirely in your browser — no signup, no data leaves your device
  • Accepts negative and decimal a/b/c coefficients for the quadratic tool
  • Fast-loading and fully mobile-friendly
  • Removes manual quadratic-formula arithmetic errors
  • Useful across algebra, graphing, and engineering contexts
  • Free to use with no calculation limit
  • Clear error messages for invalid inputs, like a = 0 or non-integer GCF coefficients

⚠️ Limitations

  • Only factors quadratics (degree 2) — not cubics or higher-degree polynomials
  • The GCF tool requires integer coefficients only, entered as comma-separated values
  • Displays irrational roots as rounded decimals rather than exact radical form
  • Does not factor by grouping or other symbolic algebraic techniques
  • Cannot express complex roots as complex binomial factors, only as re ± im·i
  • Requires the user to know the coefficient order for GCF input (highest degree first)
  • Does not show intermediate quadratic-formula work beyond the discriminant and final roots
Reference

Factoring vs Expanding

Two inverse operations you'll use constantly in algebra

OperationWhat It DoesExample
Factoring (quadratic)Rewrites a polynomial as a product of simpler binomial factorsx² − x − 6 → (x − 3)(x + 2)
ExpandingMultiplies factors back out into standard polynomial form(x − 3)(x + 2) → x² − x − 6
Factoring out the GCFPulls the greatest common factor out of every term4x² + 8x + 12 → 4(x² + 2x + 3)

Common Mistakes and Expert Tips

❌ Common Mistakes

  • Forgetting to check the discriminant's sign before assuming a quadratic factors nicely
  • Mixing up signs when writing binomial factors, e.g. (x − 3)(x + 2) versus (x + 3)(x − 2)
  • Not factoring out the GCF first, leading to messier, harder-to-spot binomial factors
  • Entering GCF coefficients in the wrong order (they must go from highest degree to constant)
  • Assuming every quadratic factors into integers — many only factor with irrational or complex roots
  • Forgetting that a = 0 makes the expression linear, not quadratic

💡 Expert Tips & Best Practices

  • Always factor out the GCF first, then factor the remaining trinomial — smaller numbers reduce mistakes
  • Verify a factoring result using the Polynomial Calculator's multiply mode to re-expand and confirm it matches the original
  • Cross-check the roots shown here against the Quadratic Equation Solver
  • When the discriminant is negative, don't force real factors — report the complex roots instead
  • List GCF coefficients including any zero placeholder terms so the degree lines up correctly
📝

Summary: This factoring calculator gives you an instant, free way to factor a quadratic into two binomials, complete with discriminant and roots, plus a separate tool to factor the GCF out of any set of integer coefficients — all with the working shown. Pair it with the Polynomial Calculator and Quadratic Equation Solver for a fuller picture of polynomial algebra.

FAQ

Frequently Asked Questions

Common questions about factoring

How do you factor a quadratic trinomial?
Find the roots using the quadratic formula x = (−b ± √(b²−4ac)) / (2a), then write the factored form as a(x − r1)(x − r2). If the roots are rational, this simplifies to a clean binomial product like (2x − 3)(x + 4).
What does it mean when a quadratic is not factorable?
If the discriminant b²−4ac is negative, the roots are complex numbers and the quadratic cannot be factored into real binomials — it's "not factorable over the real numbers," though it can still be written using its complex roots.
How do you factor out the GCF?
Find the greatest common divisor of every coefficient, then divide each term by it and write the GCF outside a parenthesis. For example, 6x + 9 has GCF 3, so it factors as 3(2x + 3).
How do I enter a polynomial for the GCF tool?
Enter just the integer coefficients separated by commas, from the highest degree term down to the constant. For 4x² + 8x + 12, enter 4,8,12.
What is the discriminant and what does it tell you?
The discriminant is D = b² − 4ac, the value under the square root in the quadratic formula. If D > 0, the quadratic has two distinct real roots and factors into two different binomials. If D = 0, there's one repeated real root and the quadratic is a perfect square binomial squared. If D < 0, the roots are complex and the quadratic can't be factored into real binomials.
How do the roots of a quadratic relate to its factored form?
If x₁ and x₂ are the roots of ax²+bx+c=0, the factored form is a(x − x₁)(x − x₂). Each root corresponds to a binomial factor, and setting either factor to zero and solving for x recovers that root — this is exactly why factoring is a fast way to solve a quadratic equation.
What happens when a quadratic has irrational roots?
When the discriminant is positive but not a perfect square, the roots are irrational (they contain a non-simplifiable square root). This calculator displays those roots as rounded decimals and shows the factored form using those decimal roots rather than a clean integer binomial.
Can the GCF be negative?
This calculator always reports the GCF as the greatest common positive divisor of the entered coefficients. If every coefficient is negative, you can still factor out a negative GCF by hand afterward by flipping every sign inside the parentheses and placing a negative sign outside.
What is the difference between factoring and expanding?
Factoring and expanding are inverse operations. Factoring rewrites a polynomial as a product of simpler expressions, such as x² − x − 6 becoming (x − 3)(x + 2). Expanding does the reverse, multiplying factors back out into standard polynomial form. Multiplying a factored result back out is the standard way to verify a factoring answer.
How do I verify a factoring result?
Multiply the factors back together and confirm the expanded result matches the original expression exactly. For a quadratic, you can use the Polynomial Calculator's multiply mode to expand (x − r1)(x − r2) and check it equals your original ax²+bx+c.
What does it mean if a = 0 in ax²+bx+c?
If a = 0, the expression is no longer quadratic — it becomes a linear expression bx + c. This calculator's quadratic factoring tool requires a nonzero a and will reject a = 0 with an error message, since quadratic factoring methods don't apply to a linear expression.
Can this calculator factor cubic or higher-degree polynomials?
No. The quadratic tool only factors degree-2 expressions (ax²+bx+c). For higher-degree polynomial arithmetic, use the Polynomial Calculator's divide mode combined with the GCF tool here to pull out common factors first.
How does the GCF relate to prime factorization?
The greatest common factor of a set of numbers is found by comparing their prime factorizations and multiplying together the shared prime factors at their lowest shared powers. This calculator computes it more directly using the Euclidean algorithm, which gives the same result without listing every prime factor.
Why is factoring useful for solving equations?
Once a quadratic is written as a product of factors set equal to zero, such as (x − 3)(x + 2) = 0, the zero product property says at least one factor must equal zero. Setting each factor to zero and solving gives the equation's solutions directly, without needing the full quadratic formula.
What happens if all coefficients entered for the GCF tool are zero?
A list of all-zero coefficients has no meaningful greatest common factor beyond a trivial GCF of 0, since every number divides 0. This calculator defaults to reporting a GCF of 1 in this edge case rather than a mathematically meaningless zero factor.
Can GCF coefficients be negative or decimal?
Negative integers are accepted and handled correctly — the GCF is computed from their absolute values. Decimal coefficients are not accepted by the GCF tool; it requires whole-number integers entered as comma-separated values, since the greatest common factor is defined for integers.
Learn More

Authoritative Resources on Factoring

Trusted educational references to go deeper on factoring quadratics and the GCF

Related Calculators

Explore other math tools