Free tools that run in your browser. Use any tool without an account.

Favourites Cart
Sign in
Join free

Factoring Calculator

  • Free
  • Runs in your browser
  • No account needed

FreeToolr's Factoring Calculator rewrites a polynomial or whole number into factors, shows real roots, divisor counts, and working. For example, x^2 - 5x + 6 becomes (x - 2)(x - 3).

Factored form
(x - 2)(x - 3)
Real roots
x = 2, 3
Steps
Start: x^2 - 5x + 6
Rational root test: try p/q where p divides 6 and q divides 1. Roots found: x = 2, 3. Each root r = p/q gives a factor (qx - p).
Result: (x - 2)(x - 3)

Factoring is over the integers. Irrational roots are shown as square roots with a 6-decimal value.

Runs in your browser. Your files and values are not sent to us. Report a problem
Advertisement

About the Factoring Calculator

FreeToolr's Factoring Calculator helps students, teachers, and anyone checking algebra. Enter a polynomial in x or a whole number. For polynomials, it removes the greatest common factor, tests rational root candidates, and splits the remaining expression where integer factors exist. For whole numbers, it finds prime factors and counts the divisors. Results update instantly as you type, so you do not need a calculate button. The calculation runs in your browser, and nothing is uploaded. You can copy the result or share a link that reopens with your numbers. The tool combines factored form, real roots, divisor counts, and steps in one focused page. Factoring uses integers, so some quadratics remain unfactored when their discriminant is negative or not a square. Irrational roots appear as square roots with a six-decimal value.

How to use it

  1. 1Enter a polynomial in x or a whole number.
  2. 2Check the factored form, real roots, divisor count, and steps.
  3. 3Review the displayed work to follow each factor.
  4. 4Copy the result or share a link that preserves your input.
Advertisement

Worked example

Enter x^2 - 5x + 6. The calculator gives the factored form (x - 2)(x - 3), with real roots x = 2 and x = 3. The steps show the rational roots and the resulting factors.

The formula

Method used: Polynomials: take out the greatest common factor and any power of x, then use the rational root theorem: every rational root p/q has p dividing the constant term and q dividing the leading coefficientEach root found gives a factor (qx - p), divided out exactly with fractionsWhat is left is split into integer factors where possible (this covers differences of squares such as x^4 - 16 and pairs of quadratics); quadratics with a negative or non-square discriminant stay as they areWhole numbers: divide by primes in turn (360 = 2^3 x 3^2 x 5); the number of divisors is the product of (exponent + 1)Caveat: Factoring is over the integersIrrational roots are shown as square roots with a 6-decimal value

Source: Common Core State Standards for Mathematics, HSA-SSE.B.3 and HSA-APR.B.2. Last checked 4 November 2026.

What it is good for

  • Shows factored form, real roots, divisor counts, and steps.
  • Updates instantly while you type, without a calculate button.
  • Runs in your browser with no uploaded data.
  • Factoring is over the integers, so some expressions stay partly factored.
  • Irrational roots include a square-root form and a six-decimal value.
Advertisement

Questions people ask

What can I enter?

Enter a polynomial in x or a whole number. The tool does not factor multivariable expressions.

What does the calculator show?

It shows the factored form, real roots, number of divisors, and steps. Divisor counts apply to whole-number inputs.

How does it factor polynomials?

It removes the greatest common factor and powers of x first. It then tests rational root candidates and splits the remaining expression into integer factors where possible.

What is the rational root theorem?

For a polynomial with integer coefficients, a rational root p/q must have p dividing the constant term. Its denominator q must divide the leading coefficient.

Why does my quadratic stay unfactored?

A quadratic with a negative or non-square discriminant may not factor into integer factors. The calculator keeps that quadratic as it is and shows irrational roots as square roots with six decimal places.

How do I factor a whole number such as 360?

The calculator divides by primes in order. For 360, the prime factorization is 2^3 x 3^2 x 5, so the number of divisors is (3 + 1)(2 + 1)(1 + 1) = 24.

Is factoring the same as solving?

No. Factoring rewrites an expression as a product, while solving finds values of x. For example, (x - 2)(x - 3) has roots 2 and 3.

Help keep every tool free

FreeToolr stays free because people help it grow. Share a tool you like, tell us what to build next, or support us on Ko-fi.

Advertisement
Advertisement