Calculators
A factor calculator that factors a polynomial in one click: type the expression and the factored form appears instantly. The page also teaches the full method — the greatest common factor, difference of squares, trinomials, and factoring completely — beside the factor calculator form.
Type a polynomial with ^ for powers — x^2 + 5x + 6, x^2 - 9, x^4 - 16 — then press Calculate for the factored form.
One box, one click. Type the polynomial you want to factor — the factor calculator form is pre-filled with . Press Calculate, and the factor calculator returns the complete factored form instantly. No menus, no setup — the factor calculator reads standard typing with ^ for powers, so x^2 + 5x + 6, x^2 - 9, and 2x^2 + 7x + 3 all work exactly as written. The example chips below the box swap in ready-made expressions, and every answer from the factor calculator comes as typeset math you can copy.
The factor calculator runs entirely in your browser — the factoring happens the moment you click, with no waiting and no request leaving the page. Type any of these into the factor calculator and watch the pattern land:
This page is more than a static factor calculator — it is also an AI tutor you can ask questions:
Factoring reverses multiplying. To factor a number or an expression means to rewrite it as a product of simpler pieces — its factors — that multiply back to the original. Every factoring claim is checked by one move: multiply the factors together and confirm you rebuild what you started with. The factor calculator makes that check its whole job.
For numbers, a factor is a value that divides exactly, with no remainder. The factors of 12 are 1, 2, 3, 4, 6, and 12, because . For expressions the idea is the same with letters: factors as , because multiplying those two binomials rebuilds exactly. FOIL the check yourself — — the middle terms cancel and the original returns. A factor calculator is a machine for finding those pieces.
Why factor at all? Because products expose solutions. The equation looks stuck until it factors; written as it reads off and immediately — when a product equals zero, at least one factor must be zero. That zero-product property is the reason the quadratic formula works and the reason every algebra course drills factoring. Fractions simplify through factors too: collapses to the moment you see the shared factor. The factor calculator is the fastest route to seeing those hidden pieces.
Prime numbers are the end of the factoring line for whole numbers. A prime — 2, 3, 5, 7, 11 — has exactly two factors: 1 and itself. Every composite number factors all the way down into primes, in exactly one way, which is why primes are called the building blocks of the integers. The next sections walk the full method the factor calculator runs: common factors first, then patterns, then trinomials — and the factor tree picture shows the number side of the same idea.
The factor calculator follows a fixed checklist on every expression, and the checklist is short enough to memorize. Run it in order — each step either makes progress or rules out a method:
That checklist is the whole subject. Each step has its own section on this page with worked examples: the GCF step, the difference of squares, trinomials, and the meaning of factor completely. Run any step's example through the factor calculator form above — the factor calculator confirms each intermediate factoring, so you can check your work at every stage, not just at the end.
The greatest common factor (GCF) of two terms is the largest factor they share — the biggest piece that divides every term exactly. Finding it is always step one of factoring, because expressions with a common factor hide their remaining structure until it is pulled out. The factor calculator runs this move before anything else on every input.
For plain numbers, list the prime factorizations and keep what overlaps. Take 48 and 180:
For expressions, the GCF takes the greatest common numerical factor times the lowest power of each shared variable. In : the numbers give GCF, the shared variable part is (the lower power), so:
Divide each term by the GCF to fill the parentheses — and — then multiply back to check. The check is not optional: and , the original terms exactly.
The GCF answers a classic word problem too: split a 48-meter rope and a 180-meter rope into equal pieces of the greatest possible length — each piece is 12 meters, the GCF. The same question with has the same answer: the GCF is the largest single thing you can hand out to every term. Type into the factor calculator above and the GCF step is the first thing you'll see in the result.
For a whole number, complete factoring means prime factorization: split the number until every piece is prime. The classic picture is the factor tree — split each composite into two factors, circle the primes, and read the leaves. The tree below factors 72:
The tree can branch differently — works just as well — but the leaves always land on the same primes with the same counts. That uniqueness is the Fundamental Theorem of Arithmetic: one number, one prime factorization. The factor calculator's number-side answers rest on it.
The prime factorization generates everything: all factors of 72 come from choosing powers from each prime — with and — giving factors: 1, 2, 3, 4, 6, 8, 9, 12, 18, 24, 36, 72. The GCF of two numbers is the shared part of their prime factorizations, as the 48-and-180 example showed. And a number is a perfect square exactly when every prime exponent is even — is not, but is.
Ask the AI box for the prime factorization of any number — "factor 360 into primes" — and it draws the tree step by step. For polynomials, the same game plays with letters, and the next two sections cover the two patterns the factor calculator uses most: differences of squares and trinomials.
Prime factorization of 72 as a factor tree: 72 splits into 8 × 9, the 8 splits into 2 × 2 × 2 and the 9 into 3 × 3 — the red leaves read 72 = 2³ · 3², the complete prime factorization
The fastest pattern in factoring: a difference of squares is — two perfect squares with a minus sign between them. It works because the middle terms of the product cancel: . Spotting it is pure pattern recognition:
Now the step that separates a finished answer from a half-finished one. Factoring completely means factoring until no factor can be factored again. Watch , which wears two disguises:
Stopping after step 1 is the most common factoring error on tests, and the factor calculator never makes it — the re-check step in its checklist loops until every factor is prime. Type into the factor calculator above and compare: you get the complete three-factor form, not the intermediate one. A practical habit: after any factoring, scan each parenthesis and ask "does this factor again?" — when every answer is no, you have factored completely.
A trinomial factors into two binomials — when it factors at all. The simple case, , is a product-and-sum hunt: find two numbers that multiply to and add to . For — the expression sitting in the factor calculator form on this page — the hunt is for a pair with product 6 and sum 5:
So . Multiply back to check: — exact. Signs matter in the hunt: for the pair is and (product , sum ), giving ; for it is and , giving .
When , use the AC method — it turns the hard case into the easy one. Factor :
Check by FOIL: — exact. The trinomial is the workhorse pattern of Algebra 1, and the factor calculator runs the product-and-sum hunt (or the AC method) on every three-term input. Feed it as well — a perfect-square trinomial that lands on , the same answer written with an exponent, and one more form the factor calculator reports.
Every algebra grader sees these three slips weekly. Each one leaves a wrong answer that looks finished, and the factor calculator catches all three instantly:
The defense against all three is the same thirty-second move: multiply your answer out and compare with the original. The factor calculator automates the comparison — factor by hand, type the expression in, and any mismatch tells you exactly which slip you made. The practice problems below each end with that check.
A community garden is planned as a rectangle with area square meters, where the length and width are whole-number expressions in . Factor the area expression to find the length and width. Then check your dimensions with the factor calculator above.
A square mural of side is enlarged by 3 meters on each side, and then a second mural is built with side shrunk by 3 meters. The difference between the two mural areas simplifies to square meters. To verify this, a student factors one mural at a time. Factor each square completely, then confirm the difference is . Use the factor calculator above to check each factoring.
A workshop has a 48-meter roll of ribbon and a 180-meter roll of the same ribbon, and wants to cut both rolls into identical pieces of the greatest possible length with nothing left over. What is that length? Solve by factoring both numbers into primes, then explain how the same greatest-common-factor move appears when the factor calculator factors .
A factor is a value that divides another exactly, with no remainder. The factors of 12 are 1, 2, 3, 4, 6, and 12. For expressions, factoring rewrites a sum as a product: $x^2 - 9 = (x-3)(x+3)$. The factor calculator on this page finds those factors automatically, and every answer can be checked by multiplying the factors back.
Run the checklist in order: pull out the greatest common factor first, count the terms, match the pattern (difference of squares for two terms, trinomial for three, grouping for four), then re-check every factor to see if it factors again — that is factoring completely. Finally, multiply back to verify. Each step has a worked example on this page, and the factor calculator confirms every intermediate answer.
The greatest common factor (GCF) is the largest factor two or more terms share. Find it from prime factorizations: $48 = 2^4 \cdot 3$ and $180 = 2^2 \cdot 3^2 \cdot 5$ share $2^2 \cdot 3 = 12$. In expressions the GCF also takes the lowest power of each shared variable — $12x^3 + 18x^2 = 6x^2(2x+3)$. The GCF always comes out first when factoring.
Factoring completely means factoring until no factor can be factored again. $x^4 - 16 = (x^2-4)(x^2+4)$ is true but incomplete — the $x^2 - 4$ factors again, so the complete answer is $(x-2)(x+2)(x^2+4)$. After every factoring, scan each parenthesis and ask whether it factors again; when no factor does, you are done. The factor calculator always returns the complete form.
Split the number into any two factors, then keep splitting until every piece is prime — that is a factor tree. For 72: $72 = 8 \cdot 9$, then $8 = 2^3$ and $9 = 3^2$, so $72 = 2^3 \cdot 3^2$. Different branch orders reach the same primes, which is the Fundamental Theorem of Arithmetic. The factor tree diagram on this page draws the full split for 72.
Type any polynomial in one variable with integer coefficients: trinomials like $x^2 + 5x + 6$, differences of squares like $x^2 - 9$ or $x^4 - 16$, expressions with a common factor like $12x^3 + 18x^2$, and perfect squares like $x^2 + 2x + 1$. The factor calculator runs in your browser and returns the complete factored form instantly. For numbers, prime factorizations, or anything unusual, the AI box beside the form factors it step by step with you.