Factoring Calculator

Factoring Calculator. Enter any integer or polynomial expression into the Factoring Calculator to find all its factors and factor pairs. Type a number like 48 to get every factor pair, or a quadratic like x²+5x+4 to see it broken into binomial factors. Results show the complete factored form, all individual factors, and the total factor count — no sign-in needed. Also try the calculate Root x₁, Root x₂ & Discriminant (b² − 4ac) — Quadratic Formula.

Factoring Calculator inputs

Enter a positive or negative integer (e.g. 48, -36) or a simple polynomial (e.g. x^2+5x+6).

Calculation Type *

Results

Factored Form

--

All Factors

--

Factor Pairs

--

Total Number of Factors

--

Results Table

A factoring calculator takes an algebraic expression you type and rewrites it as a product of simpler factors. Whether your polynomial is a short quadratic or a longer chain of terms, you get the answer plus the reasoning, so you can see why it works instead of only copying it. See also our Math Solver (Step-by-Step).

What Factorization Means for an Algebraic Expression

To factor is to rewrite a sum as a multiplication. Expanding runs one way: \((x+4)(x-9)\) becomes \(x^2-5x-36\). Factoring runs the other way and recovers the two brackets. Because the two forms are equal for every value of \(x\), expanding your answer is always a valid check.

The payoff shows up when you solve equations. The zero product property says that if a product equals zero, at least one factor is zero. From \((x+4)(x-9)=0\) you read each solution directly: \(x=-4\) or \(x=9\). That shortcut is why algebra students meet this skill early and keep using it across later math. Equations that look stubborn in expanded form often break into two easy linear equations.

How the Factor Polynomial Calculator Finds the Factored Form

The work follows a fixed order: shared factors come out first, then the remaining piece is matched to a pattern, broken into groups, or sent to a root test.

Pull Out the Greatest Common Factor First

Look for the largest number and the highest variable power that divide every term. That shared monomial is the greatest common factor (GCF). In \(42x^3-70x^2+28x\), each term divides by \(14x\):

$$42x^3-70x^2+28x = 14x(3x^2-5x+2) = 14x(3x-2)(x-1)$$

The middle expression is correct but unfinished. To factor completely, keep going until no bracket breaks down further. The GCF is not the LCM: the LCM of 14 and 21 is 42, while their largest shared divisor is 7.

Prime Factorization of the Coefficients

When the largest shared number is not obvious, break each number into primes: \(42=2 \times 3 \times 7\), \(70=2 \times 5 \times 7\) and \(28=2^2 \times 7\). Only \(2 \times 7 = 14\) is shared by all three. This is number theory at work inside your expression, and the same difficulty of splitting huge integers into primes underlies much of modern cryptography.

Factoring Trinomials With the AC Method

When the leading coefficient of a trinomial \(ax^2+bx+c\) is not 1, the AC method replaces guessing with a short search. Worked examples are the fastest way to learn it, so take \(14x^2-29x-15\):

  1. Multiply \(a\) by the constant term: \(14 \times (-15) = -210\).
  2. Scan factor pairs of \(-210\) for the one that adds to \(-29\), the middle number. The pair is \(-35\) and \(6\).
  3. Split the middle term: \(14x^2-35x+6x-15\).
  4. Apply grouping: \(7x(2x-5)+3(2x-5)\).
  5. Take out the shared bracket to get the binomial factors \((2x-5)(7x+3)\).
Bar chart of factor pair sums for -210, with 6 and -35 highlighted as the pair that adds to -29
Only one pair of whole numbers gives the middle coefficient.

Verify it: the outer and inner terms give \(6x-35x=-29x\), and \((-5)(3)=-15\). If no pair of whole numbers works, stop searching. That expression does not factor with integers.

Difference of Squares, Cube Patterns and the Perfect Square

Some shapes need no search at all. Spot two squares or two cubes joined by a sign, or a trinomial whose outer terms are squares.

PatternIdentityYour check example
Difference of squares\(a^2-b^2=(a-b)(a+b)\)\(49m^2-121=(7m-11)(7m+11)\)
Perfect square\(a^2+2ab+b^2=(a+b)^2\)\(25y^2+70y+49=(5y+7)^2\)
Sum of cubes\(a^3+b^3=(a+b)(a^2-ab+b^2)\)\(27p^3+64=(3p+4)(9p^2-12p+16)\)
Difference of cubes\(a^3-b^3=(a-b)(a^2+ab+b^2)\)\(125-8t^3=(5-2t)(25+10t+4t^2)\)

Each cube identity leaves a second bracket that usually stays whole over the real numbers.

Factoring by Grouping for Higher-Degree Polynomials

With four terms, as in many a cubic, pair them so each pair shares something. For \(5x^3-15x^2+7x-21\), the pairs give \(5x^2(x-3)+7(x-3)\), so the result is \((x-3)(5x^2+7)\). If the two brackets differ, reorder the terms and try again. Any factor polynomial calculator worth trusting should report when a higher-degree input has no neat arrangement. You might also find our calculate Equation Solver Root 1 (x₁) useful.

Factorise a Tile Set With the Factoring Calculator

I am preparing a practice activity and need to know one thing: will 15 large squares (\(x^2\)), 46 strips (\(x\)) and 16 unit squares form one rectangle that fits an A3 mat? With \(x = 7.5\) cm and 1 cm units, the answer is yes to the rectangle, no to the mat.

I type 15x^2+46x+16 into the tool and get the factored form \((3x+8)(5x+2)\). I repeat it by hand: the leading coefficient 15 times the constant term 16 is 240, and among the factor pairs of 240, 6 and 40 add to the middle term's 46. Multiplying out the binomial factors returns my tile counts.

The two factors the tool returns are the side lengths. At 7.5 cm they measure 30.5 cm and 39.5 cm, covering 1,204.75 cm². The ISO 216 standard sets A3 at 29.7 by 42.0 cm, so the short side overhangs by 8 mm. Solving \(3x+8 \le 29.7\) gives \(x \le 7.23\), and 7.2 leaves only 1 mm of slack. I cut at \(x = 7\) cm instead, for a 29 by 37 cm rectangle.

Then I test what a lost strip does, since factoring expressions with a missing piece changes everything:

Strips\(b^2-4ac\)One rectangle?
451065No
46\(1156 = 34^2\)Yes
471249No

The strip count is the number I would check twice. Doubling the kit creates a subtler trap: \(30x^2+92x+32 = 2(3x+8)(5x+2)\). That shared 2 allows two separate mats, or one rectangle of \((6x+16)(5x+2)\) or \((3x+8)(10x+4)\), so students can disagree and still be right. An equation solver would also report zeros at \(-8/3\) and \(-2/5\). Both are mathematically sound, but neither can be a tile length, so factoring calculators answer the layout question only when you keep \(x\) positive.

When Factoring Expressions Needs the Quadratic Formula

For \(ax^2+bx+c\) with integer coefficients, the discriminant \(D=b^2-4ac\) tells you what is possible before you try anything. The quadratic formula then finds the roots:

$$x=\frac{-b\pm\sqrt{D}}{2a} \qquad ax^2+bx+c=a(x-r_1)(x-r_2)$$

Parabola of 14x squared minus 29x minus 15 crossing the horizontal axis at -3/7 and 5/2, matching its two factors
Setting each bracket to zero gives the two crossing points.
  • \(D\) is a positive square number: two rational zeros. Above, \(D=1681=41^2\), so integer brackets exist.
  • \(D=0\): one repeated root, as in \(9x^2-24x+16=(3x-4)^2\).
  • \(D\) positive but not square: \(3x^2-4x-2\) has \(D=40\), so its linear factors contain radicals: \(x=\frac{2\pm\sqrt{10}}{3}\).
  • \(D\) negative: \(2x^2+3x+5\) has \(D=-31\), so it splits only over complex numbers.

"Irreducible" therefore depends on which numbers you allow. A quadratic equation with \(D=40\) still has two real solutions even though no rational factors exist, and its graph still crosses the horizontal axis twice. Equations like this are where the formula earns its place, because no pair of whole numbers will ever fit.

Grid showing which trinomials x squared plus bx plus c have integer factors, irrational roots or complex roots
Small changes in b or c can switch a quadratic between factorable and irreducible.

Using an Algebra Calculator or Equation Solver for Homework

An algebra calculator expands, reduces and factors, while a solver goes on to find the unknown. For homework, choose by what the question asks, and treat the output as practice feedback. A task that says to factorise (the British spelling) wants brackets, while one that asks you to solve equations wants the values of \(x\). Mixing up the two loses marks even when your algebra is right.

Enter the Expression Step by Step

Type powers with a caret, so 14x^2-29x-15 means what you expect. Write multiplication as * where it could be misread, and keep brackets balanced. Many tools handle only one variable, so check the limits before entering several variables. Press the factor button, then read each step-by-step line. If you only need to simplify a fraction, a polynomial factoring calculator helps by exposing brackets you can cancel.

Factoring Mistakes to Check Before You Submit

  • Stopping early: \((6x-18)(x+3)\) equals \(6x^2-54\), but the complete answer is \(6(x-3)(x+3)\).
  • Treating \(x^2+16\) like a difference. It has no real linear factors.
  • Dropping the leading number when rebuilding from roots.
  • Losing a negative sign while you rewrite grouped terms.
  • Dividing both sides of a quadratic equation by \(x\), which erases the solution \(x=0\).

Multiply your brackets back out to catch wrong signs and coefficients, then scan each bracket for a leftover shared number. For equations, also substitute each value into the original line.

Where Factoring Calculators Help Beyond the Classroom

In physics, a ball's height in metres might be \(-5t^2+13t+6\). Factor it in the tool to get \(-(5t+2)(t-3)\), then keep the positive zero: the ball lands at \(t=3\) seconds. Professionals in engineering, financial modeling and computer science use the same mathematics to solve equations for a break-even or zero point, and they check the typed expression, because software factors typos too. Check out our find Possible Rational Zeros (±p/q) with Rational Zeros Calculator as well.