Math Solver Free

Factoring Calculator

Prime factorization and quadratic factoring — every step shown.

Prime factorization
360 = 2^3 × 3^2 × 5

1. 360 ÷ 2 = 180

2. 180 ÷ 2 = 90

3. 90 ÷ 2 = 45

4. 45 ÷ 3 = 15

5. 15 ÷ 3 = 5

How Factoring Works

Factoring means rewriting something as a product of simpler pieces. For integers, the “simplest pieces” are prime numbers; for quadratics, they are linear factors like (x + 2). Factoring is the reverse of expanding — and it is how you solve most equations you meet in algebra class.

Factoring Integers

Divide by the smallest primes first: 2, 3, 5, 7, … Each division is shown above until only primes remain. Writing the result with exponents (360 = 2³ × 3² × 5) makes the structure obvious and is essential for LCM/HCF work.

Factoring Quadratics

For x² + bx + c, hunt for two numbers with product c and sum b. For ax² + bx + c with a ≠ 1, the discriminant Δ = b² − 4ac decides everything: a perfect square means clean integer factors, a negative Δ means no real factorization at all.

Solving the factored equation? Try our quadratic equation solver or the algebra calculator.

Frequently Asked Questions

What is prime factorization?

Prime factorization breaks a whole number into the prime numbers that multiply to give it. For example, 360 = 2³ × 3² × 5. Every integer greater than 1 has exactly one prime factorization.

How do you factor a quadratic like x² + 5x + 6?

Find two numbers that multiply to the constant (6) and add to the middle coefficient (5): 2 and 3. So x² + 5x + 6 = (x + 2)(x + 3). The calculator does this automatically and shows the discriminant check.

What if a quadratic cannot be factored?

If the discriminant (b² − 4ac) is negative, there are no real roots and the quadratic is prime over the reals. If it is not a perfect square, the roots are irrational — the calculator then gives the approximate factored form.

Is this factoring calculator free?

Yes — every tool on Math Solver Free is free with no sign-up, and all calculations run in your browser.