Factoring Calculator numbers and quadratics

2x² + 7x + 3 factors as (2x + 1)(x + 3). Find two numbers that multiply to a·c = 6 and add to b = 7 (6 and 1), split the middle term, and group. The roots are -0.5, -3.

Your result

2x² + 7x + 3 =

(2x + 1)(x + 3)

Roots
x = -0.5, x = -3
Discriminant
25

Step-by-step working

  1. Discriminant: b² − 4ac = 7² − 4(2)(3) = 25
  2. √25 = 5 is a whole number, so the quadratic factors over the integers.
  3. Find two numbers that multiply to a·c = 6 and add to b = 7.
  4. Factored: (2x + 1)(x + 3)
y = 2x² + 7x + 3y-20020406080-6-4-2024x

Understand it

What the Factoring Calculator Does

Factoring rewrites an expression as a product. For whole numbers, that means breaking them into prime factors (360 = 2³ × 3² × 5). For quadratics, it means writing ax² + bx + c as two binomials, which reveals where the graph crosses the x-axis.

This factoring calculator does both, shows the working, and graphs the quadratic so you can see the roots. If a quadratic cannot be factored over the integers, it tells you why and gives the exact roots instead. To find only the greatest common factor of a set of numbers, use the GCF calculator.

How the Factoring Formula Works

ax² + bx + c = a(x − r₁)(x − r₂) r = (−b ± √(b² − 4ac)) / 2a Factors over integers ⇔ b² − 4ac is a perfect square
b² − 4ac
the discriminant
r₁, r₂
roots of the quadratic

Worked Examples

x² − 5x + 6

Factor: Quadratic ax² + bx + c · a: 1 · b: -5 · c: 6

x² − 5x + 6 =(x − 3)(x − 2)

= (x − 3)(x − 2).

6x² + x − 2

Factor: Quadratic ax² + bx + c · a: 6 · b: 1 · c: -2

6x² + x − 2 =(2x − 1)(3x + 2)

= (2x − 1)(3x + 2).

Prime factors of 1,001

Factor: A whole number · Number: 1,001

Prime factorization of 1,0017 × 11 × 13

1,001 = 7 × 11 × 13.

Original analysis

Factoring Analysis in numbers

Every chart below is generated from the same tested formula that powers the calculator above, so you can see the patterns behind a single result.

Number of factors for 1–100Factors02.557.51013110192837465564738291100n
View data table
nFactors
11
43
72
104
132
165
192
224
253
286
312
344
372
408
432
464
493
526
554
584
612
647
672
708
732
766
792
824
854
888
914
944
972
1009

Which numbers up to 100 have the most factors?

Among 1–100, 60, 72, 84, 90, 96 have the most factors (12). Numbers built from many small primes — like 60 = 2² × 3 × 5 — are “highly divisible”, which is why 60 minutes and 360 degrees are so convenient. 25 numbers in the range are prime.

Common Factoring Questions

Is this a prime factorization calculator?

Yes. Choose “A whole number” to get the prime factorization in exponent form plus every factor and factor pair.

How do I factor trinomials?

For ax² + bx + c, find two numbers that multiply to a·c and add to b, split the middle term, then factor by grouping.

Tips and Common Mistakes

  • Always pull out a greatest common factor first.
  • Check your factoring by expanding (FOIL) the result.
  • If the discriminant isn’t a perfect square, use the quadratic formula instead.

Frequently asked questions

How do you factor a quadratic?

Look for two numbers that multiply to a·c and add to b. Use them to split bx, group terms, and factor out the common binomial.

What is prime factorization?

Writing a number as a product of primes. Every whole number above 1 has exactly one prime factorization.

What if a quadratic can’t be factored?

It is “prime” over the integers. You can still solve it with the quadratic formula or by completing the square.

What are the factors of 360?

360 has 24 factors: 1, 2, 3, 4, 5, 6, 8, 9, 10, 12, 15, 18, 20, 24, 30, 36, 40, 45, 60, 72, 90, 120, 180, 360.

Sources and methodology

Last reviewed

byBhuvanesh S. Runs through our automated test suite on every build.

Results are estimates. Double-check anything important before relying on it.