Solving quadratic equations by factoring is often the simplest and quickest method, as long as you know how to factor. If factoring is new to you or a little rusty, do not worry. This interactive lesson shows you how to factor each equation one step at a time, starting with simple examples and building up to harder ones.

To solve a quadratic equation by factoring, write it as a product of two factors equal to 0, like (x + )(x + ) = 0. Find the numbers that go in the boxes, then set each factor equal to 0. This works because of the zero product property: if a product equals zero, at least one of its factors must be zero.
Reveal each solution one step at a time, or show all the steps at once.
x² + 3x + 2 = 0
| Try | Cross multiply and add |
|---|---|
| xx12 | 2x + x = 3x ✓ |
| xx−1−2 | −2x − x = −3x |
x² − 3x + 2 = 0
| Try | Cross multiply and add |
|---|---|
| xx12 | 2x + x = 3x |
| xx−1−2 | −2x − x = −3x ✓ |
x² + x − 30 = 0
| Try | Cross multiply and add |
|---|---|
| xx1−30 | −30x + x = −29x |
| xx−130 | 30x − x = 29x |
| xx2−15 | −15x + 2x = −13x |
| xx−215 | 15x − 2x = 13x |
| xx3−10 | −10x + 3x = −7x |
| xx−310 | 10x − 3x = 7x |
| xx5−6 | −6x + 5x = −x |
| xx−56 | 6x − 5x = x ✓ |
x² − x − 30 = 0
| Try | Cross multiply and add |
|---|---|
| xx1−30 | −30x + x = −29x |
| xx−130 | 30x − x = 29x |
| xx2−15 | −15x + 2x = −13x |
| xx−215 | 15x − 2x = 13x |
| xx3−10 | −10x + 3x = −7x |
| xx−310 | 10x − 3x = 7x |
| xx5−6 | −6x + 5x = −x ✓ |
| xx−56 | 6x − 5x = x |
6x² + 27x + 30 = 0
| Try | Cross multiply and add |
|---|---|
| 6xx301 | 6x + 30x = 36x |
| 6xx152 | 12x + 15x = 27x ✓ |
| 6xx65 | 30x + 6x = 36x |
| 3x2x301 | 3x + 60x = 63x |
| 3x2x152 | 6x + 30x = 36x |
| 3x2x65 | 15x + 12x = 27x ✓ |
Every example above follows the same steps.
For x² + bx + c, cross multiplying just adds the two numbers, so you don't need the table. A quick look is enough: find two numbers that multiply to c and add to b. The signs follow this pattern:
| If c is… | and b is… | then the two numbers are… | Example |
|---|---|---|---|
| positive | positive | both positive | x² + 7x + 12: 3 and 4 |
| positive | negative | both negative | x² − 7x + 12: −3 and −4 |
| negative | positive or negative | one positive, one negative; the larger one (ignoring signs) has the same sign as b | x² + x − 12: 4 and −3 x² − x − 12: −4 and 3 |
The solutions have the opposite signs of the two numbers. If the numbers are 4 and −3, the factors are (x + 4)(x − 3), and the solutions are x = −4 and x = 3.
Each tab shows a situation that often trips students up. Pick one to see it solved step by step.
x² = 5x + 14
| Try | Cross multiply and add |
|---|---|
| xx1−14 | −14x + x = −13x |
| xx−114 | 14x − x = 13x |
| xx2−7 | −7x + 2x = −5x ✓ |
| xx−27 | 7x − 2x = 5x |
3x² − 12x = 0
x² − 49 = 0
| Try | Cross multiply and add |
|---|---|
| xx1−49 | −49x + x = −48x |
| xx−149 | 49x − x = 48x |
| xx7−7 | −7x + 7x = 0 ✓ |
| xx−77 | 7x − 7x = 0 ✓ |
x² − 10x + 25 = 0
| Try | Cross multiply and add |
|---|---|
| xx125 | 25x + x = 26x |
| xx−1−25 | −25x − x = −26x |
| xx55 | 5x + 5x = 10x |
| xx−5−5 | −5x − 5x = −10x ✓ |
2x² + 5x − 3 = 0
| Try | Cross multiply and add |
|---|---|
| 2xx1−3 | −6x + x = −5x |
| 2xx−31 | 2x − 3x = −x |
| 2xx−13 | 6x − x = 5x ✓ |
| 2xx3−1 | −2x + 3x = x |
−x² + 2x + 15 = 0
| Try | Cross multiply and add |
|---|---|
| xx1−15 | −15x + x = −14x |
| xx−115 | 15x − x = 14x |
| xx3−5 | −5x + 3x = −2x ✓ |
| xx−35 | 5x − 3x = 2x |
A rectangle is 3 meters longer than it is wide. Its area is 40 square meters. Find its width and length.
| Try | Cross multiply and add |
|---|---|
| ww1−40 | −40w + w = −39w |
| ww−140 | 40w − w = 39w |
| ww2−20 | −20w + 2w = −18w |
| ww−220 | 20w − 2w = 18w |
| ww4−10 | −10w + 4w = −6w |
| ww−410 | 10w − 4w = 6w |
| ww5−8 | −8w + 5w = −3w |
| ww−58 | 8w − 5w = 3w ✓ |
Which is the equation in standard form, with 0 on one side?
What is the greatest common factor of all the terms in ?
Set each factor equal to 0 and solve for x. If a factor can never be 0, press Never 0. You can type a fraction like 3/2 or a decimal like 1.5.
Solve by factoring. Choose the complete set of solutions.
Not every quadratic equation can be factored with whole numbers. Take x² + x − 1 = 0. The two numbers would have to multiply to −1 and add to 1, and the only whole-number pairs that multiply to −1 are 1 and −1, which add to 0. When no pair works, solve the equation with the quadratic formula instead. Factoring is fastest when it works, so it's worth trying first.