Roboculator
Online CalculatorsCategoriesDate & EventsNews
Get Started
Online CalculatorsCategoriesDate & EventsNewsGet Started
Roboculator

Smart calculators for every challenge. Free, fast, and private.

Categories

  • Finance
  • Health
  • Math
  • Construction
  • Conversion
  • Everyday Life

Popular Tools

  • Date & Events
  • Loan Calculator
  • BMI Calculator
  • Percentage Calc
  • Latest News
  • Search All

Resources

  • Glossary
  • Topic Tags
  • News & Insights

Company

  • About
  • Contact

Legal

  • Privacy Policy
  • Terms of Service
  • Editorial Policy
  • Disclaimer
© 2026 Roboculator. All rights reserved.
Roboculator

roboculator.com

  1. Home
  2. /Math
  3. /Polynomial Calculators
  4. /Factoring Calculator

Factoring Calculator

Last updated: March 15, 2026

Calculator

Results

Equation Type Code

2

Discriminant

1

Number of Real Roots

2

Root 1

3

Root 2

2

Repeated Root Value

0

Linear Root

0

Sum of Roots

5

Product of Roots

6

Vertex x

2.5

Vertex y

-0.25

Opening Direction Code

1

Factorable Over Integers Code

1

Results

Equation Type Code

2

Discriminant

1

Number of Real Roots

2

Root 1

3

Root 2

2

Repeated Root Value

0

Linear Root

0

Sum of Roots

5

Product of Roots

6

Vertex x

2.5

Vertex y

-0.25

Opening Direction Code

1

Factorable Over Integers Code

1

The Factoring Calculator finds the roots and complete factored form of any quadratic expression ax² + bx + c by computing the discriminant, roots, and key properties. Factoring is one of the most essential skills in algebra, forming the bridge between an expanded polynomial expression and its factored representation, which reveals the roots (zeros) of the polynomial and enables the solution of quadratic equations.

A quadratic expression ax² + bx + c can be factored into the form a(x − x₁)(x − x₂), where x₁ and x₂ are the roots. Finding these roots is equivalent to solving the equation ax² + bx + c = 0, which can be accomplished through several methods: factoring by inspection, completing the square, or applying the quadratic formula. This calculator uses the quadratic formula approach, which works universally for all quadratic expressions regardless of whether they factor "nicely" over the integers.

The discriminant, Δ = b² − 4ac, is the key quantity that determines the nature of the roots. When Δ > 0, the quadratic has two distinct real roots, and the expression factors into two different linear factors. When Δ = 0, there is exactly one repeated real root (a double root), and the expression is a perfect square of the form a(x − r)². When Δ < 0, there are no real roots—the roots are complex conjugates, and the quadratic does not factor over the real numbers.

Understanding factoring is fundamental to solving a wide range of problems. In equation solving, factoring allows you to apply the zero product property: if a product of factors equals zero, at least one factor must be zero. This converts a quadratic equation into two simple linear equations. In graphing, the factored form directly reveals the x-intercepts of the parabola. In calculus, factoring numerators and denominators is essential for simplifying limits, performing partial fraction decomposition, and analyzing rational functions.

The calculator also computes Vieta's formulas, which relate the coefficients of a quadratic to its roots without requiring you to find the roots explicitly. For ax² + bx + c with roots x₁ and x₂: the sum of roots is x₁ + x₂ = −b/a, and the product of roots is x₁ · x₂ = c/a. These relationships are powerful for checking work, constructing quadratics with desired roots, and establishing identities in competition mathematics.

The vertex of the parabola y = ax² + bx + c is located at x = −b/(2a), which is the midpoint of the two roots (or the location of the double root). The vertex y-coordinate gives the minimum value of the quadratic (when a > 0) or the maximum value (when a < 0). This information is crucial for optimization problems, where you need to find the extreme value of a quadratic function.

Factoring techniques extend well beyond quadratics. Recognizing special patterns such as difference of squares (a² − b² = (a − b)(a + b)), perfect square trinomials (a² ± 2ab + b² = (a ± b)²), and sum/difference of cubes allows rapid factoring of higher-degree expressions. Mastering quadratic factoring provides the foundation for all these advanced techniques.

This calculator handles edge cases gracefully. If a = 0, the expression is linear (bx + c), and the single root −c/b is returned. The discriminant analysis correctly identifies when roots are real versus complex, providing immediate insight into the nature of the quadratic without requiring complex arithmetic.

Visual Analysis

How It Works

The calculator finds the roots of ax² + bx + c = 0 using the quadratic formula:

$$x = \frac{-b \pm \sqrt{b^2 - 4ac}}{2a}$$

Step 1: Discriminant

$$\Delta = b^2 - 4ac$$

If Δ > 0: two distinct real roots. If Δ = 0: one repeated root. If Δ < 0: no real roots (complex conjugate pair).

Step 2: Roots

$$x_1 = \frac{-b + \sqrt{\Delta}}{2a}, \quad x_2 = \frac{-b - \sqrt{\Delta}}{2a}$$

Step 3: Vieta's Formulas

$$x_1 + x_2 = -\frac{b}{a}, \quad x_1 \cdot x_2 = \frac{c}{a}$$

Step 4: Vertex

$$x_v = -\frac{b}{2a}, \quad y_v = a \cdot x_v^2 + b \cdot x_v + c$$

The factored form is then: a(x − x₁)(x − x₂) when real roots exist.

Understanding Your Results

The discriminant is your first indicator. Positive means two x-intercepts on the graph; zero means the parabola just touches the x-axis (tangent); negative means the parabola does not cross the x-axis at all.

The roots x₁ and x₂ are the x-values where the quadratic equals zero. These are also called zeros, solutions, or x-intercepts. When roots are displayed as 0 and the discriminant is negative, the quadratic has no real roots—the displayed zeros are placeholders.

The sum and product of roots via Vieta's formulas let you verify your factoring. If you factor ax² + bx + c = a(x − r)(x − s), then r + s should equal −b/a and r × s should equal c/a.

The vertex gives the extreme point of the parabola. For a > 0, the vertex y-coordinate is the minimum value of the quadratic; for a < 0, it is the maximum value.

Worked Examples

Factor x² − 5x + 6

Inputs

a1
b-5
c6

Results

discriminant1
root13
root22
num real roots2
product of roots6
sum of roots5
vertex x2.5
vertex y-0.25

Discriminant = 25 − 24 = 1 > 0, so two distinct real roots. x₁ = (5 + 1)/2 = 3, x₂ = (5 − 1)/2 = 2. Factored form: (x − 3)(x − 2). Check: sum = 5 = −(−5)/1 ✓, product = 6 = 6/1 ✓. Vertex at (2.5, −0.25).

Factor 2x² + 4x + 2

Inputs

a2
b4
c2

Results

discriminant0
root1-1
root2-1
num real roots1
product of roots1
sum of roots-2
vertex x-1
vertex y0

Discriminant = 16 − 16 = 0, so one repeated root (perfect square). x = (−4)/(2 × 2) = −1. Factored form: 2(x + 1)². The vertex is at (−1, 0), sitting exactly on the x-axis.

Frequently Asked Questions

A negative discriminant means the quadratic has no real roots. The parabola does not cross or touch the x-axis. The roots are complex conjugates of the form (−b ± i√|Δ|)/(2a). The quadratic cannot be factored over the real numbers; it is called irreducible over the reals. In such cases, the calculator shows 0 for the number of real roots and displays placeholder values.

If the quadratic ax² + bx + c has roots x₁ and x₂, the factored form is a(x − x₁)(x − x₂). Do not forget the leading coefficient a. For example, 2x² − 10x + 12 has a = 2, roots 3 and 2, so the factored form is 2(x − 3)(x − 2), not (x − 3)(x − 2).

Vieta's formulas relate the coefficients of a polynomial to sums and products of its roots. For a quadratic ax² + bx + c with roots r and s: r + s = −b/a and r · s = c/a. They are useful for checking factoring results, constructing polynomials with specified roots, and solving problems where you need relationships between roots without finding the roots explicitly.

This calculator is designed specifically for quadratic expressions (degree 2). If a = 0, it treats the expression as linear (degree 1) and finds the single root. For cubics and higher-degree polynomials, use synthetic division or the polynomial division calculator to reduce the degree step by step, factoring out one linear factor at a time.

The vertex form is y = a(x − h)² + k, where (h, k) is the vertex. This form is obtained from the standard form by completing the square. The calculator computes h = −b/(2a) and k = c − b²/(4a). Vertex form directly reveals the minimum or maximum value (k) and the axis of symmetry (x = h).

Once a quadratic is factored as a(x − x₁)(x − x₂) = 0, the zero product property states that at least one factor must equal zero. This gives x − x₁ = 0 or x − x₂ = 0, yielding the solutions x = x₁ or x = x₂. This converts a quadratic equation into two trivial linear equations, which is far simpler than working with the original quadratic directly.

Sources & Methodology

Stewart, J. Precalculus: Mathematics for Calculus, 7th Edition, Cengage Learning, 2016. Axler, S. Precalculus: A Prelude to Calculus, 3rd Edition, Wiley, 2017. Lang, S. Undergraduate Algebra, 3rd Edition, Springer, 2005. Blitzer, R. College Algebra, 8th Edition, Pearson, 2022.
R

Roboculator Team

The Roboculator Team explains calculations, planning tools, and practical formulas in clear language for real-life situations.

How helpful was this calculator?

Be the first to rate!

Related Calculators

Polynomial Calculator

Polynomial Calculators

Polynomial Division Calculator

Polynomial Calculators

Synthetic Division Calculator

Polynomial Calculators

Factoring Trinomials Calculator

Polynomial Calculators

Perfect Square Trinomial Calculator

Polynomial Calculators

Difference of Two Squares Calculator

Polynomial Calculators