MaximCalculator Free, fun & accurate calculators
🧩 Platinum math layout
🌙Dark Mode

Factoring Calculator

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.

Instant results + step-by-step breakdown
🧮Prime factorization & quadratic factoring
📚Perfect for homework checks & practice
📸Clean output for screenshots & sharing

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.

🧩
🔢
📝
Your factor result will appear here
Choose a mode, enter values, and tap “Factor Now”.
Tip: Use the “Show steps” setting to get a clean explanation you can screenshot or paste into notes.

This factoring calculator is an educational tool. Always double-check if your class expects a specific factoring method or form.

📚 Formula Breakdown

What “factoring” really means (and why it matters)

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.

1) Factoring integers

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:

  • 84 = 2 × 42 = 2 × 2 × 21 = 2² × 3 × 7
  • 360 = 2³ × 3² × 5

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.

2) Factoring quadratics

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.

How this calculator factors a quadratic

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:

  • We look for integers p, q, r, s such that pr=a, qs=c, and ps+qr=b.
  • If we find them, then (px+q)(rx+s) is the factorization.
  • If we cannot find such integers, we report that the quadratic is not factorable over integers (it may still factor over rational/real numbers).

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.

Important detail: factoring is about the “domain”

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.

🧪 Examples

Step-by-step factoring examples you can copy

Example A: Prime factorization of an integer

Factor 360.

  • Divide by 2: 360 = 2 × 180
  • Divide by 2 again: 180 = 2 × 90
  • Divide by 2 again: 90 = 2 × 45
  • Now divide by 3: 45 = 3 × 15 = 3 × 3 × 5

Combine everything: 360 = 2³ × 3² × 5.

Example B: Simple quadratic (a = 1)

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).

Example C: Quadratic with a ≠ 1

Factor 2x² + 7x + 3.

We want (px+q)(rx+s) such that pr = 2 and qs = 3. Try factor pairs:

  • For 2: (1,2)
  • For 3: (1,3) and sign choices (+/+ or -/- if c is positive)

Check (2x + 1)(x + 3): multiplying gives 2x² + 6x + x + 3 = 2x² + 7x + 3. Perfect! So: 2x² + 7x + 3 = (2x + 1)(x + 3).

Example D: When it won’t factor nicely

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.

Quick self-check tip

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.

🧭 How It Works

What this factoring calculator is doing under the hood

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.

Integer factoring algorithm

For integers, the calculator performs a standard prime factorization by repeated division:

  • Take the absolute value of n. (If it’s negative, we keep track of the -1 factor.)
  • Divide by 2 as many times as possible.
  • Then test odd divisors 3, 5, 7, … up to √n.
  • If something is left over > 1, that leftover is prime.

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.

Quadratic factoring algorithm

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.”

Why the “integer-only” note matters

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.

Common student mistakes this tool helps prevent
  • Sign errors: forgetting that a negative constant means opposite signs in factors.
  • Wrong factor pairs: picking a pair that multiplies correctly but doesn’t add to the middle term.
  • Skipping verification: not expanding factors to confirm the original expression.
  • Mixing methods: applying “sum/product” shortcuts to cases where a ≠ 1 without adjusting.

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.

❓ FAQs

Factoring questions people ask constantly

  • What does it mean to “factor completely”?

    “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.

  • Why can’t some quadratics be factored?

    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.

  • How do I know which signs to use in (x ± m)(x ± n)?

    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.

  • What’s the fastest way to check my factoring?

    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.

  • Can this factor higher-degree polynomials?

    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.

  • Does factoring help with simplifying fractions?

    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.

✅ Quick Study Tips

How to get better at factoring (fast)

  • Memorize factor pairs up to 100: it makes spotting patterns much faster.
  • Track signs first: look at c before you do anything else.
  • Always verify by expansion: it’s the #1 error-catcher.
  • Practice one “type” at a time: e.g., 10 quadratics where a=1, then 10 where a≠1.
  • Use GCF early: if all terms share a factor, pull it out first.
  • Use this page as feedback: do it manually, then compare the steps.

If your teacher expects factoring by grouping or special products (difference of squares, perfect squares), this tool still helps by verifying the final factorization.