Worksheets · Precalculus

Sum and difference of cubes worksheet for Precalculus

In Precalculus the cube patterns come with constants written first and two-letter terms, such as 27 - x³ and 8x³ - 125y³. The quadratic factor never factors over the reals, which is why it gives complex zeros later on.

Also taught in Algebra 2, at its own level and with its own examples.

Select your difficulty

Pick more than one for a sheet that mixes them.

The preview can look cramped on a phone. The PDF and printed sheet come out normal.

Free math worksheets at sigmaprep.io/worksheets© 2026 Sigma Prep

Sigma Prep · sigmaprep.io/worksheets

Name

Sum and Difference of Cubes

Date Period

Factor each completely.

  1. Factor a difference of cubes

    r3−27
  2. 8x3−125
  3. k3−8
  4. 64n3−27
  5. a3−64
  6. 8x3−27
  7. m3−125
  1. Factor a sum of cubes

    27b3+125
  2. p3+64
  3. 27p3+8
  4. x3+125
  5. 64x3+125
  6. x3+8
  7. 27m3+64
  1. Factor sums and differences of cubes

    27x3+8y3
  2. 135x4−5x
  3. 125x3−y3
  4. 125x3−8y3
  5. 1−x3
  6. 625x4+320x

Free math worksheets at sigmaprep.io/worksheets© 2026 Sigma Prep

Sigma Prep · sigmaprep.io/worksheets

Name

Sum and Difference of CubesAnswer keyVersion 2

Date Period

Factor each completely.

  1. Factor a difference of cubes

    r3−27(r−3)(r2+3r+9)
  2. 8x3−125(2x−5)(4x2+10x+25)
  3. k3−8(k−2)(k2+2k+4)
  4. 64n3−27(4n−3)(16n2+12n+9)
  5. a3−64(a−4)(a2+4a+16)
  6. 8x3−27(2x−3)(4x2+6x+9)
  7. m3−125(m−5)(m2+5m+25)
  1. Factor a sum of cubes

    27b3+125(3b+5)(9b2−15b+25)
  2. p3+64(p+4)(p2−4p+16)
  3. 27p3+8(3p+2)(9p2−6p+4)
  4. x3+125(x+5)(x2−5x+25)
  5. 64x3+125(4x+5)(16x2−20x+25)
  6. x3+8(x+2)(x2−2x+4)
  7. 27m3+64(3m+4)(9m2−12m+16)
  1. Factor sums and differences of cubes

    27x3+8y3(3x+2y)(9x2−6xy+4y2)
  2. 135x4−5x5x(3x−1)(9x2+3x+1)
  3. 125x3−y3(5x−y)(25x2+5xy+y2)
  4. 125x3−8y3(5x−2y)(25x2+10xy+4y2)
  5. 1−x3(1−x)(1+x+x2)
  6. 625x4+320x5x(5x+4)(25x2−20x+16)

Free math worksheets at sigmaprep.io/worksheets© 2026 Sigma Prep

How to do these

27x3−64y3

  1. 27x³ is (3x)³ and 64y³ is (4y)³, so this is a difference of cubes.
  2. Use a³ - b³ = (a - b)(a² + ab + b²) with a = 3x and b = 4y.
  3. The quadratic factor is 9x² + 12xy + 16y².

The answer is (3x−4y)(9x2+12xy+16y2).

Where students go wrong

Getting the signs wrong in the quadratic factor. For a difference the middle term is plus: x³ - 64y³ is (x - 4y)(x² + 4xy + 16y²). Only the sign in the binomial matches the original.

Also called the sum of cubes, the difference of cubes or cube factoring formulas.

What you can put on this worksheet

A difference of cubes
v3−64 → (v−4)(v2+4v+16)
A sum of cubes
v3+64 → (v+4)(v2−4v+16)
GCFs, constants first, two variables
27x3−64y3 → (3x−4y)(9x2+12xy+16y2)
Both terms negative, a GCF in two letters, solving
Solve: −27x3+125=0 → {53,−5+5i36,−5−5i36}

Questions about these worksheets

Yes. Every sum and difference of cubes sheet is free to print and free to download as a PDF. There is no account to make, no email to hand over and no limit on how many you take.

Yes. The answer key prints on a second page, and you can choose whether it shows each question beside its answer or just the answers in a list.

Yes. Print straight from the page, or download the PDF and print that. The sheet is laid out for paper rather than squeezed off a screen, so there is room to work under each question, and the answer key comes out on its own page.

Precalculus is usually taken around 11th or 12th grade, though schools vary and plenty of students meet it earlier or later. Pick the difficulty rather than the grade: the easy level suits a first lesson on it, the hard level suits review before a test.

Yes, as many as you like. The questions are built fresh each time rather than picked from a fixed set of files, so pressing Generate gives a new sheet. That is what you want for a second class, a retake, or two students sitting next to each other.

That is the closest comparison, and Kuta Software is good software. It is also paid software you install on a computer. These worksheets run in a browser tab for free, with no account and nothing to install. Like Kuta, the sum and difference of cubes questions are generated when you ask for them rather than pulled from a fixed set of files, so two classes never get the same sheet, and the answer key comes with it.

Yes. There are two levels, and you can tick more than one for a sheet that mixes them, in which case the questions come out easiest first. The harder levels are not just larger numbers: they ask for something the easy ones do not.

You pick from 4: a difference of cubes, a sum of cubes, gcfs, constants first, two variables and both terms negative, a gcf in two letters, solving. Tick as many as you want and set how many of each, or let it spread them evenly.

Two things. The signs: in the second parenthesis the middle term always has the opposite sign to the first parenthesis, so a difference of cubes gives a plus in the middle and a sum gives a minus. And students try to keep factoring x² + 3x + 9. It never factors, on any of these, so the answer is finished.