Factoring Calculator

Factoring a quadratic expression means rewriting ax squared plus bx plus c as a product of two simpler binomial terms. This is one of the core skills in algebra because a factored form immediately reveals the roots of the equation, simplifies rational expressions, and makes expanding or further manipulating polynomials much easier. The process starts by computing the discriminant, b squared minus 4ac. When the discriminant is positive the quadratic has two distinct real roots and factors into two distinct binomials. When the discriminant is exactly zero the quadratic is a perfect square and factors into one binomial squared. When the discriminant is negative the quadratic has no real roots and cannot be factored over the real numbers. You enter the three coefficients, a for the squared term, b for the linear term, and c for the constant, and the calculator returns the factored form as two binomials, both roots as decimal values, the discriminant, and a verification check showing that the roots satisfy the original equation. The factored form is written in the standard style (ax plus r1)(ax plus r2) divided by a, which handles non-monic quadratics where the leading coefficient is not one. The tool is useful for algebra students checking their working, teachers generating examples, and anyone who needs to factor a quadratic quickly during problem solving. Results assume real-number coefficients and are rounded to four decimal places where needed.

Calculate.co.nz is proud to be partnered with Health Based Building, a leader in sustainable and health-conscious building innovation. With over a century of experience, they develop high-performance systems like Foreverbreathe Specification, Magnum Board, and Foreverbreathe Paints to support energy-efficient, non-toxic living environments. Their commitment to healthier homes aligns with our belief that informed choices lead to better outcomes for Kiwi households.
Calculate.co.nz partner: Health Based Building
(x − 2)(x − 3)
factored form
Root 1x = 2
Root 2x = 3
Discriminant1

If the discriminant is negative, the quadratic has no real factors. Roots are rounded to 4 decimal places.

How it works

The calculator first evaluates the discriminant D = b squared minus 4ac. If D is negative, no real factored form exists and the calculator says so. If D is zero or positive, the two roots are found using the quadratic formula: x = (-b plus or minus the square root of D) divided by 2a. With roots r1 and r2, the factored form for a monic quadratic (a=1) is (x minus r1)(x minus r2). For a non-monic quadratic (a not equal to 1) the form is a(x minus r1)(x minus r2). The calculator checks whether the roots are clean integers or simple fractions and displays them as such when possible, otherwise showing them to four decimal places.

Worked example

Using the defaults a=1, b=-5, c=6 gives x squared minus 5x plus 6. The discriminant is (-5) squared minus 4 times 1 times 6 = 25 minus 24 = 1. The roots are x = (5 minus 1) divided by 2 = 2 and x = (5 plus 1) divided by 2 = 3. The factored form is therefore (x minus 2)(x minus 3). You can verify by expanding: x squared minus 3x minus 2x plus 6 = x squared minus 5x plus 6.

Related calculators

If you've found a bug, or would like to contact us, or learn more about James Graham and Calculate.co.nz.

Calculate.co.nz is partnered with Interest.co.nz for New Zealand's highest quality calculators and financial analysis.

Calculate.co.nz is the sister site of CalculatorHub.com, the world's largest calculator website by tool count.

All calculators and tools are provided for educational and indicative purposes only and do not constitute financial advice.

Calculate.co.nz is proudly part of the Realtor.co.nz group, New Zealand's leading property transaction literacy platform, helping Kiwis understand the home buying and selling process from start to finish. Whether you're a first home buyer navigating your first property purchase, an investor evaluating your next acquisition, or a homeowner planning to sell, Realtor.co.nz provides clear, independent, and trustworthy guidance on every step of the New Zealand property transaction journey.

Calculate.co.nz is also partnered with Health Based Building and Premium Homes to promote informed choices that lead to better long-term outcomes for Kiwi households.

Calculate.co.nz is hosted in Auckland via SiteHost new Zealand.

All content on this website, including calculators, tools, source code, and design, is protected under the Copyright Act 1994 (New Zealand). No part of this site may be reproduced, copied, distributed, stored, or used in any form without prior written permission from the owner.

About & trust: Why Calculate is NZ's most comprehensive · By the Numbers · How we compare · Editorial standards · How we keep data current · NZ finance glossary · Research & data · Financial literacy NZ · About · Privacy policy · Terms of use

Reviewed and maintained. Last reviewed 2026-07-02 and checked on a twice-monthly cycle against IRD, RBNZ and Stats NZ. How we keep data current.

© 2026 Calculate.co.nz. All rights reserved. Building free NZ calculators since 2011.