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
- Choose a tab: “Factor an integer” or “Factor a quadratic”.
- 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.
- 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.
- 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
- Divide out 2s: 360 ÷ 2 = 180, 180 ÷ 2 = 90, 90 ÷ 2 = 45. Three factors of 2 collected; 45 is odd, so 2 is finished.
- Move to 3: 45 ÷ 3 = 15, 15 ÷ 3 = 5. Two factors of 3 collected.
- Finish: 5 is itself prime, so the chain stops.
- 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
- Identify a, b, c: a = 2, b = 7, c = 3. Because a ≠ 1, use the ac method: multiply a × c = 6.
- Find the split pair: two numbers with product 6 and sum 7 — that is 6 and 1.
- Split the middle term: 2x² + 6x + x + 3.
- 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.