Skip to content

Squares, Cubes and the Roots You Can Read Straight Off Them

Memorise the squares to 30 and the cubes to 15, then use a last-digit filter and a digital-root check to read exact roots straight back off them.

By Published Updated 7 min read

Reign Creative LLC makes IQ Test & Brain Training Games, which this article links to, so we have a commercial interest in it. How we write and check articles.

Key takeaways

  • Exact square roots in your head are a recognition problem, not a calculation problem: if you know the squares up to 30 by sight, most four-digit perfect squares resolve in one pass.
  • A square number can only end in 0, 1, 4, 5, 6 or 9, so any number ending in 2, 3, 7 or 8 can be rejected as a perfect square instantly.
  • The last digit of a square narrows its root to two candidates; a single comparison against the midpoint square then picks the right one.
  • Cubes are easier than squares, because every digit has a distinct last digit when cubed — the final digit of a perfect cube names the final digit of its root outright.
  • Both methods are exact only when the target really is a perfect square or cube; when it is not, you are back to estimating, which is a different technique with different error behaviour.

Getting an exact square root in your head is not a calculation. It is a recognition task with two filters in front of it. If you know the squares up to 30 on sight, the last digit of a four-digit target narrows its root to two candidates, and one comparison decides between them. Cubes are easier still, because the last digit of a cube names the last digit of its root outright.

This is a different skill from estimating an irrational root. Mental math tricks that actually work covers the divide-and-average method for approximating something like the square root of 60. What follows is about the other case: the number really is a perfect square or cube, and you want the exact answer without reaching for anything.

The facts you have to own first

Recognition only works if the facts are already there. The squares from 1 to 30 are:

1, 4, 9, 16, 25, 36, 49, 64, 81, 100, 121, 144, 169, 196, 225, 256, 289, 324, 361, 400, 441, 484, 529, 576, 625, 676, 729, 784, 841, 900.

The On-Line Encyclopedia of Integer Sequences catalogues this as sequence A000290, and its opening terms are the same list read from zero. Thirty facts is a small investment, and they pay out twice — once for reading roots, and again inside shortcuts such as the difference of squares, where the only slow step is remembering what 27 squared is.

The cubes from 1 to 15 are shorter still:

1, 8, 27, 64, 125, 216, 343, 512, 729, 1000, 1331, 1728, 2197, 2744, 3375.

Fifteen facts. Note that 64 and 729 appear in both lists, being 8² and 4³, and 27² and 9³ respectively.

The last-digit filter for squares

The last digit of a square depends only on the last digit of its root, because every other part of the number contributes a multiple of ten. Squaring the digits 0 to 9 therefore produces the complete set of possible endings, and MathWorld records the result: the last digit of a square can only be 0, 1, 4, 5, 6 or 9.

That gives you an instant rejection test. Any number ending in 2, 3, 7 or 8 is not a perfect square, full stop. No arithmetic required.

It also works forwards. The endings pair up:

  • A root ending in 1 or 9 gives a square ending in 1.
  • A root ending in 2 or 8 gives a square ending in 4.
  • A root ending in 3 or 7 gives a square ending in 9.
  • A root ending in 4 or 6 gives a square ending in 6.
  • A root ending in 5 gives a square ending in 5; a root ending in 0 gives a square ending in 0.

So the final digit of the target leaves you with exactly two candidate roots, and in the 5 and 0 cases, only one.

Reading a four-digit square

Take 3,481.

Cover the last two digits, leaving 34. The largest square at or below 34 is 25, which is 5², so the tens digit of the root is 5 — the root is somewhere in the fifties. The target ends in 1, so the root ends in 1 or 9. The candidates are 51 and 59.

To choose, compare against the midpoint: 55² = 3,025. Since 3,481 is above that, take the larger candidate. The root is 59, and 59² = 3,600 − 120 + 1 = 3,481. Correct.

Take 5,776. Cover the last two digits, leaving 57. The largest square at or below 57 is 49 = 7², so the root is in the seventies. The target ends in 6, so the root ends in 4 or 6: candidates 74 and 76. The midpoint square is 75² = 5,625, and 5,776 is above it, so the answer is 76. Check: 76² = 5,625 + 150 + 1 = 5,776.

Condition. This procedure assumes the target is the square of a two-digit whole number, which is the same as saying it has four digits and really is a perfect square. Outside that range the same logic still applies, but you are covering three digits rather than two and working from a longer list.

The digital-root check as a second filter

There is a second cheap test, and it catches numbers the last-digit filter lets through. MathWorld notes that a necessary — though not sufficient — condition for a number to be square is that its digital root is 1, 4, 7 or 9. The digital root is what you get by adding the digits repeatedly until one digit remains.

4,539. Digits sum to 4 + 5 + 3 + 9 = 21, and 2 + 1 = 3. Three is not in the permitted set, so 4,539 is not a perfect square — and indeed 67² = 4,489 and 68² = 4,624, so nothing lands on it.

7,921. Digits sum to 19, then to 10, then to 1. That passes. The last digit is 1, so the root ends in 1 or 9. Covering the last two digits leaves 79, whose largest contained square is 64 = 8², so the root is in the eighties: 81 or 89. The midpoint 85² = 7,225 sits below the target, so the answer is 89, and 89² = 8,100 − 180 + 1 = 7,921.

Both filters are statements about remainders — the last-digit test is about remainders on division by 10, the digital-root test about remainders on division by 9. NRICH's introduction to modular arithmetic sets out that machinery using a clock face, and the same idea is what makes the divisibility rules work.

Cubes are easier than squares

Cubing the digits 0 to 9 gives 0, 1, 8, 27, 64, 125, 216, 343, 512, 729 — whose last digits are 0, 1, 8, 7, 4, 5, 6, 3, 2, 9. Every one is different. That means the last digit of a perfect cube determines the last digit of its root exactly, with no pair of candidates to resolve.

13,824. Cover the last three digits, leaving 13. The largest cube at or below 13 is 8 = 2³, so the root starts with 2. The target ends in 4, and only 4 cubes to something ending in 4, so the root ends in 4. The answer is 24, and 24³ = 576 × 24 = 13,824.

50,653. Covering three digits leaves 50; the largest cube at or below it is 27 = 3³, so the root starts with 3. The target ends in 3, which only 7 produces, so the root ends in 7. The answer is 37, and 37³ = 1,369 × 37 = 50,653.

The same condition applies: this reads cube roots of two-digit numbers, which means five- and six-digit targets that really are cubes.

Where recognition stops

Both methods are all-or-nothing. They return an exact answer or they tell you the number is not a perfect power, and neither ever returns an approximation. When the target is not a perfect square — which is almost always, in real problems — you need estimation instead, and estimation behaves completely differently: it always returns something, it is never exact, and its usefulness depends on knowing the size and direction of its error. Estimation techniques that make mental math useful covers that half, and the wider set of methods sits in the mental math training guide. More of this hub's arithmetic material is collected under mental math, and the rest of the subject area under education and brain training.

Drilling recognition rather than calculation

Recognition responds to short, frequent retrieval practice, because what you are building is the ability to produce a fact rather than derive it. IQ Test & Brain Training Games, which is our own app, built by Reign Creative, ships two modes aimed squarely at this. Squares & Cubes is a 60-second timed mode with five difficulty settings — Squares 1–15, Squares 13–30, Cubes 1–15, Square roots and Mixed — and Square Root Trainer is a separate 60-second mode on roots alone.

For the flat memorisation half, the Flash Cards mode carries a Squares deck covering n² for n from 2 to 30 and a Cubes deck covering n³ for n from 2 to 15, twelve cards to a session, with a flip-then-grade format where you mark each card yourself. The app is a practice and entertainment product rather than a course or a standardised assessment: on the drills you actually play it records score, accuracy, streak, response time and personal bests, and the results of its IQ-style test, memory test and reaction time test are, in its listing's words, estimates based on app activities, not a professional assessment.

The number to watch is response time rather than score. A square you have to reconstruct costs seconds; a square you recognise costs a fraction of one, and that gap is the whole point of memorising the list in the first place. For the shortcuts that use these facts once you have them, see multiplication shortcuts and why they work.

Good to know

Frequently asked questions

Which digits can a perfect square end in?
Only 0, 1, 4, 5, 6 or 9. Because the last digit of a square depends only on the last digit of its root, squaring 0 through 9 produces every possibility there is, and that list has just six members. A number ending in 2, 3, 7 or 8 is therefore never a perfect square, which makes this the cheapest rejection test available.
How do you find an exact square root without a calculator?
For a four-digit perfect square, cover the last two digits. The largest square at or below the remaining number gives the tens digit of the root. The final digit of the target gives you two candidates for the units digit. Compare the target against the square of the midpoint, such as 55 or 75, to choose between them.
How many squares and cubes are worth memorising?
Squares to 30 and cubes to 15 cover almost every case a mental arithmetic problem will throw at you. That is 30 facts and 15 facts, and they earn their keep twice: once for recognition, and again inside shortcuts such as the difference of squares, where knowing 27 squared outright removes the only slow step.
Does this method work when the number is not a perfect square?
No, and that is the important limit. Recognition returns an exact answer or nothing at all. For a non-square such as 60, you need an estimation method instead, which trades exactness for a quick approximation and carries an error you have to reason about separately.

Sources

  1. A000290: The squares: a(n) = n^2 (opens in a new tab)The OEIS Foundation Inc. (On-Line Encyclopedia of Integer Sequences) — accessed
  2. A000578: The cubes: a(n) = n^3 (opens in a new tab)The OEIS Foundation Inc. (On-Line Encyclopedia of Integer Sequences) — accessed
  3. Square Number (opens in a new tab)MathWorld — A Wolfram Resource — accessed
  4. An Introduction to Modular Arithmetic (opens in a new tab)NRICH, Millennium Mathematics Project, University of Cambridge — accessed

About the author

— The independent app studio that builds the apps covered on this site and publishes every article here. On Google Play it publishes as Reign Collective Apps.

We use AI tools to help research, draft and edit our articles. Each article lists the sources its factual claims rely on, and details about our apps come from their live Google Play listings. No article on this site has been reviewed by an independent expert unless the reviewer is named on it.

Spotted an error? Tell us — how corrections are handled is set out in our editorial policy.