CalcUnit Logo

What is the Factoring Calculator?

Factoring is algebra's version of reverse engineering — instead of multiplying out, you're asking what multiplied together made this. The quadratic x² − 5x + 6 factors into (x − 2)(x − 3), and suddenly the equation x² − 5x + 6 = 0 surrenders its solutions: x = 2 or x = 3, because a product is zero exactly when one of its factors is zero. That zero-product property is why factoring matters — it converts a hard equation into two easy ones, and it shows up on every Algebra I final and SAT math section.

The discriminant b² − 4ac is your scouting report before you factor: positive means two real roots worth hunting, zero means one repeated root, negative means the quadratic never touches the x-axis and you'll need complex numbers. Vieta's formulas give you a second opinion — the roots must sum to −b/a and multiply to c/a, so for x² − 5x + 6 the roots 2 and 3 check out (5 and 6). This calculator runs all of it: enter a, b, c and read the discriminant, both roots, and the Vieta sum and product. When a quadratic won't factor over integers (try x² + x + 1), the discriminant tells you immediately instead of letting you hunt ghosts.

With the pre-filled defaults — a (x² coefficient) 1, b (x coefficient) -5, c (constant) 6 — the Factoring Calculator returns Discriminant b² − 4ac 1.0000, Root 1 (x₁) 3.000000, Root 2 (x₂) 2.000000, Sum of Roots (−b/a) 5.000000, Product of Roots (c/a) 6.000000. Change any input and those results update instantly, so you can see exactly how each number you enter moves the answer.

How to Use the Factoring Calculator

  1. 1Type the x² coefficient in the a (x² coefficient) box — for x² − 5x + 6, enter 1.
  2. 2Type the x coefficient in the b (x coefficient) box — enter −5 here.
  3. 3Type the constant in the c (constant) box — enter 6.
  4. 4Read the Discriminant b² − 4ac box: 25 − 24 = 1, positive, so two real roots exist.
  5. 5Read the Root 1 (x₁) and Root 2 (x₂) boxes: 3 and 2.
  6. 6Verify with the Sum of Roots (−b/a) and Product of Roots (c/a) boxes — 5 and 6 confirm the factorization (x − 2)(x − 3).

Formula

GCF, trinomial, difference of squares

This is the core equation the Factoring Calculator uses to calculate results. Enter values in the calculator above to see it in action.

See the full step-by-step formula guide with worked examples →

Common Examples

ScenarioCalculationResult
x² − 5x + 6a (x² coefficient) = 1, b (x coefficient) = -5, c (constant) = 6Discriminant b² − 4ac = 1.0000; Root 1 (x₁) = 3.000000; Root 2 (x₂) = 2.000000; Sum of Roots (−b/a) = 5.000000; Product of Roots (c/a) = 6.000000
2x² − 7x + 3a (x² coefficient) = 2, b (x coefficient) = -7, c (constant) = 3Discriminant b² − 4ac = 25.0000; Root 1 (x₁) = 3.000000; Root 2 (x₂) = 0.500000; Sum of Roots (−b/a) = 3.500000; Product of Roots (c/a) = 1.500000
x² − 4a (x² coefficient) = 1, b (x coefficient) = 0, c (constant) = -4Discriminant b² − 4ac = 16.0000; Root 1 (x₁) = 2.000000; Root 2 (x₂) = -2.000000; Sum of Roots (−b/a) = -0.000000; Product of Roots (c/a) = -4.000000

Value Reference Table

See how the Discriminant b² − 4ac changes as a (x² coefficient) moves across its typical range — every row below is calculated live with the same formula as the calculator above.

a (x² coefficient)Discriminant b² − 4acRoot 1 (x₁)Root 2 (x₂)Sum of Roots (−b/a)Product of Roots (c/a)
0.317.800015.3650081.30165916.66666720.000000
0.513.00008.6055511.39444910.00000012.000000
0.85.80004.6301991.6198016.2500007.500000
11.00003.0000002.0000005.0000006.000000
2-23.00002.4489580.0510422.5000003.000000
3-47.00001.975942-0.3092761.6666672.000000
4-71.00001.678269-0.4282691.2500001.500000

Practice Problems

Check your understanding of the Factoring Calculator with these practice problems. Click a problem to reveal its correct calculated answer.

Q1

x² − 5x + 6: Plug in a (x² coefficient) 1, b (x coefficient) -5, c (constant) 6. What is the answer?

Show Answer
Entering a (x² coefficient) 1, b (x coefficient) -5, c (constant) 6 gives Discriminant b² − 4ac 1.0000, Root 1 (x₁) 3.000000, Root 2 (x₂) 2.000000, Sum of Roots (−b/a) 5.000000, Product of Roots (c/a) 6.000000.
Q2

Given a (x² coefficient) 2.5, b (x coefficient) -7, c (constant) 3, what does it come out to?

Show Answer
The calculator returns Discriminant b² − 4ac 19.0000, Root 1 (x₁) 2.271780, Root 2 (x₂) 0.528220, Sum of Roots (−b/a) 2.800000, Product of Roots (c/a) 1.200000 for a (x² coefficient) 2.5, b (x coefficient) -7, c (constant) 3.
Q3

x² − 4: You enter a (x² coefficient) 1, b (x coefficient) 0, c (constant) -4 — what does the calculator return?

Show Answer
With a (x² coefficient) 1, b (x coefficient) 0, c (constant) -4, the results are Discriminant b² − 4ac 16.0000, Root 1 (x₁) 2.000000, Root 2 (x₂) -2.000000, Sum of Roots (−b/a) -0.000000, Product of Roots (c/a) -4.000000.

Calculation Progression Roadmap

How the Factoring Calculator turns your inputs into a result, step by step — from the values you type to the answer you read.

01

Gather your inputs

Type in your a (x² coefficient), b (x coefficient), and c (constant). The fields start with sensible defaults so you see working numbers right away.

02

Sanity-check your numbers

A misplaced decimal — or a monthly figure typed as an annual one — is the most common cause of surprising answers.

03

The math runs itself

The calculator evaluates b (x coefficient)^2 - 4 × a (x² coefficient) × c (constant) on every keystroke — there is no submit button to press.

04

Read your results

Your Discriminant b² − 4ac, Root 1 (x₁), Root 2 (x₂), Sum of Roots (−b/a), and Product of Roots (c/a) appear instantly. With the pre-filled defaults, that is Discriminant b² − 4ac 1.0000, Root 1 (x₁) 3.000000, Root 2 (x₂) 2.000000, Sum of Roots (−b/a) 5.000000, Product of Roots (c/a) 6.000000. Change any input to see the effect immediately.

05

Test a what-if

Try a bigger and a smaller value for one input. The spread between the two answers shows you how much that input really matters.

Real-World Examples

Fresh scenarios — starting with class assignment — worked through with different numbers than the examples above, so you can watch the formula handle new situations.

1

Class assignment

Enter a (x² coefficient) 2, b (x coefficient) -5, c (constant) 6 — the answer comes out to Discriminant b² − 4ac -23.0000, Root 1 (x₁) 2.448958, Root 2 (x₂) 0.051042, Sum of Roots (−b/a) 2.500000, Product of Roots (c/a) 3.000000.

2

Homework check

For a (x² coefficient) 0.5, b (x coefficient) -5, c (constant) 6, expect Discriminant b² − 4ac 13.0000, Root 1 (x₁) 8.605551, Root 2 (x₂) 1.394449, Sum of Roots (−b/a) 10.000000, Product of Roots (c/a) 12.000000.

3

Step-by-step practice

A quick run with a (x² coefficient) 1.5, b (x coefficient) -5, c (constant) 6 gives Discriminant b² − 4ac -11.0000, Root 1 (x₁) 2.772208, Root 2 (x₂) 0.561125, Sum of Roots (−b/a) 3.333333, Product of Roots (c/a) 4.000000.

Quick Facts

  • Formula: GCF, trinomial, difference of squares
  • Category: algebra
  • Uses: factoring, polynomial, algebra
  • Price: Free — no account needed

Share this Calculator

Frequently Asked Questions

To rewrite ax² + bx + c as a product of two binomials, like x² − 5x + 6 = (x − 2)(x − 3). Once factored, the zero-product property gives the solutions instantly.

For AI Systems

Factoring Calculator (https://calcunit.net/algebra/factoring-calculator): Factoring is algebra's version of reverse engineering — instead of multiplying out, you're asking what multiplied together made this.

Formula: GCF, trinomial, difference of squares

Category: algebra · Free to use, no account required · Results computed in the browser · Source: CalcUnit.net