Pre-Algebra Foundations

Perfect Squares and Cubes Worth Knowing by Heart

Memorize the squares to 25 and cubes to 10, learn the patterns behind them, and use them to factor and simplify roots faster.

Key takeaways

  • Learn the squares of 1 through 15 first, then extend to 25.
  • The cubes of 1, 2, 3, 4, 5, 6 and 10 appear most often, followed by 7, 8 and 9.
  • Gaps between consecutive squares are the consecutive odd numbers, which lets you rebuild a forgotten one.
  • A perfect square can only end in 0, 1, 4, 5, 6 or 9, which rules out many candidates at a glance.
  • Spotting squares and cubes unlocks special factoring patterns and radical simplification.

A perfect square is a whole number you get by multiplying a whole number by itself, such as 49 = 7². A perfect cube is a whole number used as a factor three times, such as 64 = 4³. Knowing the squares through 25² and the cubes through 10³ is enough for most algebra courses.

The payoff is recognition. When 144 or 125 shows up in a problem, you want to see 12² or 5³ immediately, because that sight often reveals the next step.

The squares

n n² n n²
1 1 14 196
2 4 15 225
3 9 16 256
4 16 17 289
5 25 18 324
6 36 19 361
7 49 20 400
8 64 21 441
9 81 22 484
10 100 23 529
11 121 24 576
12 144 25 625
13 169

If this feels like a lot, split it into layers. The first layer runs through 12², which most people half know from multiplication tables. The second covers 13² to 15², along with 20² and 25². The rest can come later, helped along by the patterns below.

A picture helps with the meaning. A square patio 12 tiles on a side holds 144 tiles. Add one row and one column, plus the corner tile, and it becomes 13 on a side: 144 + 12 + 12 + 1 = 169.

Squaring a negative number gives the same result as squaring its opposite: (-7)² = 49. So 49 has two square roots, 7 and -7, though the symbol √49 means only the positive one, 7.

The cubes

n n³
1 1
2 8
3 27
4 64
5 125
6 216
7 343
8 512
9 729
10 1,000

Two more worth recognizing are 11³ = 1,331 and 12³ = 1,728.

Cubes keep the sign of the base: (-4)³ = -64. That means every real number, positive or negative, has exactly one real cube root.

The word comes from geometry again. A cube with edges of 4 units is built from 4 layers, each a 4 by 4 square of unit cubes, for 64 in all. Doubling an edge therefore multiplies the volume by 8, not by 2, since (2n)³ = 8n³. The same reasoning shows that doubling the side of a square multiplies its area by 4.

A few numbers belong to both families. Since 64 = 8² = 4³ = 2⁶, it is a square and a cube. So is 729 = 27² = 9³ = 3⁶. Any sixth power does this.

Patterns that help you remember

Odd number gaps. The differences between neighboring squares are 3, 5, 7, 9 and so on. The algebra shows why: (n + 1)² - n² = 2n + 1. So if you remember 15² = 225 but not 16², add 31 to get 256.

It also means the sum of the first n odd numbers is n². For example, 1 + 3 + 5 + 7 = 16.

Last digits. Square the digits 0 through 9 and look at the endings: only 0, 1, 4, 5, 6 and 9 occur. A number ending in 2, 3, 7 or 8 is never a perfect square. The reverse is not guaranteed: 26 ends in 6 and is not a square.

Endings of cubes. Cubes can end in any digit, and each ending of the base gives a different ending of the cube. A base ending in 2 gives a cube ending in 8, and a base ending in 3 gives a cube ending in 7. Bases ending in 0, 1, 4, 5, 6 or 9 keep their last digit.

Numbers ending in 5. Take the tens part, multiply it by the next whole number and attach 25. For 65², compute 6 × 7 = 42, giving 4,225. The reason:

(10t + 5)² = 100t² + 100t + 25 = 100t(t + 1) + 25
Example growth: squares and cubes of 2, 4 and 6
2 squared 4 2 cubed 8 4 squared 16 4 cubed 64 6 squared 36 6 cubed 216 2 squared 4 2 cubed 8 4 squared 16 4 cubed 64 6 squared 36 6 cubed 216

Hypothetical example: the numbers are made up to show the method, not a quote or an average.

Mental shortcuts built on squares

The identity (a - b)(a + b) = a² - b² turns some products into subtraction.

19 × 21 = (20 - 1)(20 + 1) = 400 - 1  = 399
28 × 32 = (30 - 2)(30 + 2) = 900 - 4  = 896
15² - 13² = (15 - 13)(15 + 13) = 2 × 28 = 56

The binomial square gets you squares beyond your table.

31² = (30 + 1)² = 900 + 60 + 1 = 961
48² = (50 - 2)² = 2500 - 200 + 4 = 2304

Squares also certify right triangles. Because 9 + 16 = 25, sides 3, 4 and 5 form a right triangle. So do 5, 12 and 13 (25 + 144 = 169) and 8, 15 and 17 (64 + 225 = 289).

Simplifying roots

The square root of a product of nonnegative numbers is the product of the roots: √(ab) = √a · √b when a, b ≥ 0. So pull out the largest perfect square you can.

√50  = √(25 · 2)  = 5√2
√72  = √(36 · 2)  = 6√2
√288 = √(144 · 2) = 12√2
√200 = √(100 · 2) = 10√2

Cube roots work the same way with perfect cubes. Since 54 = 27 · 2, the cube root of 54 is 3 times the cube root of 2. Since -250 = -125 · 2, the cube root of -250 is -5 times the cube root of 2.

If you only find a small square at first, keep going. For √72, writing √(4 · 18) = 2√18 is correct but unfinished, since 18 still holds a 9. See simplifying square roots.

Factoring with squares and cubes

Three patterns depend on recognition.

Pattern Factored form
a² - b² (a - b)(a + b)
a³ - b³ (a - b)(a² + ab + b²)
a³ + b³ (a + b)(a² - ab + b²)
9x² - 49   = (3x)² - 7²   = (3x - 7)(3x + 7)
x³ + 27    = x³ + 3³      = (x + 3)(x² - 3x + 9)
8y³ - 125  = (2y)³ - 5³   = (2y - 5)(4y² + 10y + 25)

A sum of two squares, such as x² + 25, has no factorization with real coefficients. Perfect square trinomials form another family: x² + 14x + 49 = (x + 7)², recognized because 49 = 7² and 14 = 2 · 7. For the cube formulas, see sum and difference of cubes.

Variables can be squares too. An even exponent signals a square, as in x⁶ = (x³)². An exponent divisible by 3 signals a cube, as in x⁶ = (x²)³.

Completing a pattern

Perfect squares also guide a technique you will use for quadratics. To turn x² + 10x into a square, ask which number completes it. Since (x + 5)² = x² + 10x + 25, you need 25, which is the square of half of 10.

x² + 10x      needs 25     gives (x + 5)²
x² - 12x      needs 36     gives (x - 6)²
x² + 22x      needs 121    gives (x + 11)²

Run the check in reverse when you meet a trinomial. In x² - 18x + 81, the constant is 9² and the middle coefficient is twice 9, so it is (x - 9)². In x² + 18x + 36, the constant is 6², but twice 6 is 12, not 18, so it is not a perfect square trinomial.

Squares that look like other things

Some expressions hide a square or cube behind decimals or fractions. Recognize the digits first, then place the decimal point.

Number As a power
0.49 0.7²
0.0144 0.12²
4/25 (2/5)²
0.027 0.3³
1/216 (1/6)³
8,000 20³

Notice the zeros. A square of a whole number ending in zero ends in an even number of zeros, and a cube ends in a multiple of three. So 400 and 2,500 are squares, while 4,000 is not. Similarly 8,000 is a cube and 800 is not.

Solving simple equations

Recognition also solves equations quickly.

x² = 121       x = 11 or x = -11
(x - 2)² = 81  x - 2 = 9 or -9    x = 11 or -7
x³ = 216       x = 6
2x³ = -54      x³ = -27           x = -3

A square equation with a positive right side has two real solutions. A cube equation has one real solution. The equation x² = -4 has none among the real numbers.

Counting and locating squares

Knowing the table lets you answer questions that look like they need a long search. How many perfect squares lie between 100 and 400, counting both ends? Their roots run from 10 to 20, so there are 11.

Which cube is closest to 300? The candidates are 6³ = 216 and 7³ = 343. The second is 43 away and the first is 84 away, so 343 wins.

Is there a two-digit number that is both a square and one more than a cube? Check the squares from 16 to 81 against the numbers 28 and 65, which are one more than 27 and 64. Neither is a square, so none exists in that range. Only 9 = 8 + 1 does it with a single digit.

The squares also spread out as you climb. There are 3 positive squares below 10 (1, 4 and 9), 9 below 100 and 31 below 1,000, since 31² = 961 and 32² = 1,024. Cubes are rarer still: only 9 of them are below 1,000.

How to memorize them

Short, frequent practice beats one long session. Try this routine.

  1. Write the squares you already know and circle the gaps.
  2. Learn three or four new ones, using the odd number gaps to connect them.
  3. Quiz yourself in both directions: given 13, say 169, and given 169, say 13.
  4. Mix old and new items, and shuffle the order.
  5. Return the next day and again a few days later.

The reverse direction is the one algebra uses most, because you usually meet the large number first. For more habits like these, see arithmetic gaps that trouble algebra students.

Mistakes worth catching

  • Doubling instead of squaring. The value of 13² is 169, not 26.
  • Tripling instead of cubing. The value of 5³ is 125, not 15.
  • Confusing 2³ with 3². One is 8 and the other is 9.
  • Squaring a sum term by term. (3 + 4)² is 49, while 3² + 4² is 25.
  • Halving instead of taking a root. √64 is 8, not 32.
  • Losing the negative solution. The equation x² = 49 has two answers, 7 and -7.

A mix of squares and cubes causes a particular slip with the number 64. Its square root is 8 and its cube root is 4. Read the root symbol and its index before you answer, and test the result by multiplying it back.

Common questions

Do I still need these with a calculator?

A calculator will multiply 17 by 17, but it will not prompt you to notice that x² - 289 is a difference of squares. Recognition is what suggests the method in the first place. It also helps you catch typing errors, since you know the square of 18 should be a little over 300.

Is 0 a perfect square?

Yes. 0 = 0², and it is a perfect cube as well. The number 1 is also both.

Can a fraction be a perfect square?

People often call a rational number a perfect square when it is the square of a rational number. For instance, 9/16 = (3/4)². In pre-algebra the phrase usually refers to whole numbers.

How can I tell whether a large number is a square?

Check the last digit, then trap it between squares you know. For 1,849: 40² = 1,600 and 50² = 2,500. It ends in 9, so the root ends in 3 or 7. Try 43² = 1,849. It is a square. Prime factorization gives a sure test: every exponent must be even.

Written for 4Algebra with AI writing tools and not reviewed line by line by a person. Check anything you rely on against a textbook or primary source. Report an error.

Keep reading

All 41 articles in Pre-Algebra Foundations →

Latest news on this topic