Worksheets · Algebra 2

Sum and difference of cubes worksheet for Algebra 2

Two formulas that students mix up constantly, because the only difference between them is where the minus signs go. Tick one pattern to drill it, or both to make them decide which is which.

Also taught in Precalculus, 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

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

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

    1−8x3
  2. 27x3+64y3
  3. 27x3+y3
  4. 4x4+32x
  5. 125x3−8y3
  6. 108x4−256x

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

Sigma Prep · sigmaprep.io/worksheets

Name

Sum and Difference of CubesAnswer keyVersion 1

Date Period

Factor each completely.

  1. Factor a difference of cubes

    a3−8(a−2)(a2+2a+4)
  2. 27x3−125(3x−5)(9x2+15x+25)
  3. b3−125(b−5)(b2+5b+25)
  4. 8a3−125(2a−5)(4a2+10a+25)
  5. b3−27(b−3)(b2+3b+9)
  6. 64a3−27(4a−3)(16a2+12a+9)
  7. b3−64(b−4)(b2+4b+16)
  1. Factor a sum of cubes

    64v3+125(4v+5)(16v2−20v+25)
  2. x3+27(x+3)(x2−3x+9)
  3. 8k3+27(2k+3)(4k2−6k+9)
  4. p3+64(p+4)(p2−4p+16)
  5. 27v3+8(3v+2)(9v2−6v+4)
  6. m3+8(m+2)(m2−2m+4)
  7. 27y3+64(3y+4)(9y2−12y+16)
  1. Factor sums and differences of cubes

    1−8x3(1−2x)(1+2x+4x2)
  2. 27x3+64y3(3x+4y)(9x2−12xy+16y2)
  3. 27x3+y3(3x+y)(9x2−3xy+y2)
  4. 4x4+32x4x(x+2)(x2−2x+4)
  5. 125x3−8y3(5x−2y)(25x2+10xy+4y2)
  6. 108x4−256x4x(3x−4)(9x2+12x+16)

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

How to do these

x3−27

  1. Both terms are cubes: x³ and 3³.
  2. The first parenthesis copies the sign: (x - 3).
  3. The second is x² + 3x + 9, with the middle sign flipped.

The answer is (x−3)(x2+3x+9).

Where students go wrong

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.

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.

Algebra 2 is usually taken around 10th or 11th 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.