Enter what you want to factor
Pick a factoring mode, enter your values, and tap Factor Now. You’ll get a clean factor result plus a quick explanation you can copy or share.
Factor numbers and algebra expressions fast — with steps you can screenshot. Use it to factor an integer into prime factors, or factor a quadratic ax² + bx + c into two binomials when it’s factorable over integers. No signup. Runs locally in your browser.
Pick a factoring mode, enter your values, and tap Factor Now. You’ll get a clean factor result plus a quick explanation you can copy or share.
In math, factoring is the reverse of multiplying. When you multiply, you take smaller building blocks and combine them into a bigger expression. When you factor, you go the other way: you take something that looks big or complicated and rewrite it as a product of simpler pieces.
This sounds abstract until you notice how often factoring shows up in real algebra tasks: solving equations, simplifying fractions, reducing radicals, finding common denominators, and even spotting patterns. If you can factor well, you can usually turn a “hard-looking” problem into a few easier ones.
When you factor an integer, you’re finding which smaller integers multiply to make it. The most “final” version of this is prime factorization: rewriting a number as a product of prime numbers (2, 3, 5, 7, 11, …). For example:
Prime factorization is useful because primes are the “atoms” of multiplication: every positive integer larger than 1 can be written uniquely as a product of primes (up to ordering). Once you have prime factors, you can quickly compute: greatest common factor (GCF), least common multiple (LCM), simplify fractions, or compare numbers in a structured way.
A quadratic is an expression like ax² + bx + c, where a, b, and c are numbers and a ≠ 0. Many algebra classes teach factoring because it’s one of the fastest ways to solve quadratic equations.
If you can rewrite a quadratic as a product of two binomials: ax² + bx + c = (px + q)(rx + s), then setting the quadratic equal to zero becomes: (px + q)(rx + s) = 0. By the zero-product property, this means px+q=0 or rx+s=0. You’ve turned one equation into two simple linear equations.
There are multiple factoring methods (AC method, grouping, trial-and-error, completing the square, etc.). This calculator uses a clean, dependable approach for integer coefficients:
In other words: it searches the factor pairs of a and c and checks whether any pair creates the right middle term b. This is essentially the “structured” version of the trial-and-check method students already use — but done instantly and consistently.
When someone says “factor this quadratic,” they usually mean “factor it over the integers” (nice whole numbers), because that creates clean binomials. But some quadratics only factor over: rational numbers (fractions), real numbers (using irrational roots), or complex numbers. If your expression doesn’t factor over integers, that doesn’t mean it’s “wrong” — it just means the factors aren’t the kind your class might be looking for.
Factor 360.
Combine everything: 360 = 2³ × 3² × 5.
Factor x² + 7x + 12.
We need two numbers that multiply to 12 and add to 7. Those are 3 and 4. So: x² + 7x + 12 = (x + 3)(x + 4).
Factor 2x² + 7x + 3.
We want (px+q)(rx+s) such that pr = 2 and qs = 3. Try factor pairs:
Check (2x + 1)(x + 3): multiplying gives 2x² + 6x + x + 3 = 2x² + 7x + 3. Perfect! So: 2x² + 7x + 3 = (2x + 1)(x + 3).
Consider x² + x + 1. There are no integers that multiply to 1 and add to 1 (other than 0 and 1, but 0×1 ≠ 1), so it won’t factor over integers. In that case, you can keep it as-is, or use the quadratic formula to find roots.
After you factor a quadratic, multiply your factors back out. If you don’t get the original expression exactly, something is off (usually a sign). This is the fastest way to catch mistakes.
This tool is designed to be practical and classroom-friendly. It doesn’t try to be a full symbolic algebra system that can factor every possible expression. Instead, it focuses on the high-frequency factoring tasks that show up in homework, quizzes, and quick checks — and it shows the logic in plain English.
For integers, the calculator performs a standard prime factorization by repeated division:
This is fast for typical classroom-sized numbers (and for most everyday use). The output is formatted in exponent form like 2³·3²·5 to stay readable.
For quadratics ax²+bx+c, the calculator searches for integer solutions to: pr = a, qs = c, and ps + qr = b.
It does this by generating all factor pairs of a and c (including negative pairs), then checking the middle-term condition. If it finds a match, it prints the factorization and a short verification by expansion. If no match exists, it reports “not factorable over integers.”
Many quadratics that don’t factor over integers still have real roots and can be solved. If you’re trying to solve ax²+bx+c=0 and factoring fails, use the quadratic formula or the solver tool linked on this page.
The best way to learn factoring is repetition + feedback. Use this page as instant feedback: do it by hand first, then check your answer and compare steps.
“Factor completely” usually means you can’t factor it any further using the number system your class expects. For integers, that means prime factors only. For quadratics over integers, it means a product of binomials that cannot be simplified further.
Some quadratics have roots that are not integers or not rational numbers, so you can’t rewrite them as (px+q)(rx+s) with integer values. They can still be solved — factoring just isn’t the right tool.
Look at c and b. If c is positive, the signs match; if c is negative, the signs differ. Then choose the signs that make the middle term add to b.
Multiply your factors back out. If you don’t get the same middle term or constant, something is wrong. This is faster than re-factoring from scratch.
This page focuses on prime factorization of integers and factoring quadratics with integer coefficients. For advanced polynomials (cubic, quartic, etc.), try a dedicated CAS tool — or use the Polynomial Calculator for polynomial operations and checks.
Yes. Factoring is how you cancel common factors in rational expressions. If you’re simplifying something like (x²−1)/(x−1), factoring x²−1 into (x−1)(x+1) is the key step.
Popular tools in the Math & Conversions category:
If your teacher expects factoring by grouping or special products (difference of squares, perfect squares), this tool still helps by verifying the final factorization.