Math Solver Free

Factor Calculator

Free factor calculator for 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

What a Factor Calculator Does

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). This free factor calculator does both: enter any integer for its prime factorization, or any quadratic expression to see it factored step by step. 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.

The Symbols in a Quadratic: a, b, c and Δ

Every quadratic is written ax² + bx + c. The letter a is the coefficient of x² — the leading coefficient — and it must not be zero, or the expression stops being quadratic. b is the coefficient of the x term, and c is the constant term, the number with no variable attached; either of them may be zero or negative. The symbol Δ (delta) is the discriminant, Δ = b² − 4ac, a single number computed from a, b, and c that predicts the roots before you find them: positive and a perfect square means tidy rational factors, positive but not a square means irrational roots, and negative means no real factorization exists.

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.

How to Use the Calculator

  1. Choose a tab: “Factor an integer” or “Factor a quadratic”.
  2. Integer mode: type a whole number into the “Whole number to factor” box (2 up to 1,000,000,000,000). The Prime factorization panel updates live, with each division — 360 ÷ 2 = 180, and so on — listed underneath.
  3. Quadratic mode: fill the three small boxes in the pattern ax² + bx + c = 0 with your coefficients a, b, and c. Note that a cannot be 0.
  4. Read the Factored form panel: it shows the factorization in large type, followed by Step 1, Step 2, … lines that show the discriminant and the roots it came from.

Worked Example 1: The Prime Factorization of 360

  1. Divide out 2s: 360 ÷ 2 = 180, 180 ÷ 2 = 90, 90 ÷ 2 = 45. Three factors of 2 collected; 45 is odd, so 2 is finished.
  2. Move to 3: 45 ÷ 3 = 15, 15 ÷ 3 = 5. Two factors of 3 collected.
  3. Finish: 5 is itself prime, so the chain stops.
  4. Collect with exponents: 360 = 2³ × 3² × 5.

Verify by multiplying back: 2³ = 8, 3² = 9, and 8 × 9 × 5 = 72 × 5 = 360. ✓ The method works because each division removes one prime factor while keeping the remaining quotient exact — there is never a remainder to worry about, because you only divide by a prime when it divides cleanly. Notice the discipline of finishing each prime completely before moving on: skipping ahead is how stray composite “factors” sneak into a finished answer.

Worked Example 2: Factoring 2x² + 7x + 3

  1. Identify a, b, c: a = 2, b = 7, c = 3. Because a ≠ 1, use the ac method: multiply a × c = 6.
  2. Find the split pair: two numbers with product 6 and sum 7 — that is 6 and 1.
  3. Split the middle term: 2x² + 6x + x + 3.
  4. Group and factor: 2x(x + 3) + 1(x + 3) = (2x + 1)(x + 3).

Cross-check with the discriminant, the way the calculator does: Δ = 7² − 4 × 2 × 3 = 49 − 24 = 25, a perfect square, so rational factors must exist. The roots are x = (−7 ± 5) ÷ 4, giving x = −1/2 and x = −3 — and sure enough, (2x + 1) is zero at x = −1/2 and (x + 3) is zero at x = −3. Final verification by expansion: (2x + 1)(x + 3) = 2x² + 6x + x + 3 = 2x² + 7x + 3. ✓

When Factoring Is the Right Tool

Reach for prime factorization whenever fractions, LCM, or HCF appear — simplifying 360/504 or finding the least common denominator of two fractions both start from the prime breakdowns. Reach for quadratic factoring whenever an equation is set to zero: once 2x² + 7x + 3 = (2x + 1)(x + 3) = 0, the zero-product property hands you both roots immediately. The same skill simplifies rational expressions before calculus. And modern encryption quietly depends on factoring being hard — multiplying two huge primes is instant, but reversing the process is not.

Common Mistakes

  • Stopping the division too early. A “prime factorization” containing 4, 9, or 15 is unfinished — 9 is 3², not a prime. Keep dividing until every factor is genuinely prime, then collect exponents.
  • Mishandling signs when c is negative. For x² − x − 6 the pair must multiply to −6 and add to −1: that is −3 and +2, giving (x − 3)(x + 2). Testing only positive pairs makes the problem look impossible.
  • Losing the leading coefficient. Factoring 2x² + 10x + 12 and answering (x + 2)(x + 3) drops the 2. The correct answer is 2(x + 2)(x + 3) — pull the common factor out first, and carry it through to the final line.

Solving the factored equation? Try our quadratic equation solver or the algebra calculator. After factoring, you can also simplify algebraic expressions — combine like terms and reduce fractions in the same step-by-step style.

Frequently Asked Questions

What is prime factorization?

Prime factorization breaks a whole number into the prime numbers that multiply to give it, found by repeatedly dividing out the smallest primes: 2, then 3, then 5, and so on. For example, 360 = 2³ × 3² × 5. Every integer greater than 1 has exactly one prime factorization — a fact called the fundamental theorem of arithmetic — and it underpins LCM and HCF calculations.

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

Find two numbers that multiply to the constant term (6) and add to the middle coefficient (5): those numbers are 2 and 3. So x² + 5x + 6 = (x + 2)(x + 3). Always verify by expanding back: (x + 2)(x + 3) = x² + 3x + 2x + 6 = x² + 5x + 6. ✓ The calculator finds the pair automatically and shows the discriminant check.

What if a quadratic cannot be factored?

Compute the discriminant Δ = b² − 4ac first. If Δ is negative, the quadratic has no real roots and cannot be factored over the real numbers — it is prime over ℝ. If Δ is positive but not a perfect square, the roots are irrational: the quadratic formula still finds them, and this calculator reports the approximate factored form a(x − r₁)(x − r₂) instead of tidy integer factors.

What is the difference between a factor and a multiple?

A factor divides into a number exactly; a multiple is what you get by multiplying the number up. The factors of 12 are 1, 2, 3, 4, 6, 12 — a short, finite list, all no bigger than 12 itself. The multiples of 12 are 12, 24, 36, 48, … — an endless list of numbers at least as big as 12. Factoring works with the first list, never the second.

How do I use this factoring calc?

It has two modes. On the “Factor an integer” tab, type any whole number from 2 up to 1,000,000,000,000 and its prime factorization appears instantly with every division step. On the “Factor a quadratic” tab, fill in the coefficients a, b, and c of ax² + bx + c and the factored form appears with the discriminant working. Nothing to install, no account needed.

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. Whether you are breaking down an integer into primes or factoring a quadratic for an equation, every division and every discriminant step is shown, so the calculator doubles as a checker for your own working.

Related Tools & Guides

About the MathSolverFree Team

The MathSolverFree Team builds and maintains the calculators and step-by-step solvers on this site. Every tool is checked against worked textbook examples before it is published, and the method behind each solver is written out in full — in the worked examples on the page and in our guides — so you can see exactly how an answer is reached, not just the answer itself.

How we build and test our tools·More about the team