Numbers & Arithmetic

Perfect Squares List

A perfect square is a number you get by squaring an integer, n2=n×nn^2 = n \times n, so the list begins 0,1,4,9,16,25,36,49,64,81,1000, 1, 4, 9, 16, 25, 36, 49, 64, 81, 100 and never ends.

n2=n×nn^2 = n \times n

Try it with your numbers

Show every step

Knowing the first twenty by heart makes factoring, radicals and the Pythagorean theorem noticeably faster. Below you get the list, the reason the pattern works, tests that settle large numbers in seconds, and the places perfect squares show up in algebra.

Perfect squares list from 1 to 400

Here are the squares of 11 through 2020. Each entry is also an easy square root in reverse: 196=14\sqrt{196} = 14, as covered in square roots.

nn n2n^2 nn n2n^2
1 1 11 121
2 4 12 144
3 9 13 169
4 16 14 196
5 25 15 225
6 36 16 256
7 49 17 289
8 64 18 324
9 81 19 361
10 100 20 400

A few more worth knowing: 212=44121^2 = 441, 222=48422^2 = 484, 232=52923^2 = 529, 242=57624^2 = 576, 252=62525^2 = 625, 302=90030^2 = 900, 502=250050^2 = 2500 and 1002=10000100^2 = 10000. To count how many perfect squares sit at or below a number NN, round N\sqrt{N} down. Up to 10001000 there are 3131, because 312=96131^2 = 961 and 322=102432^2 = 1024.

The last digits of 121^2 through 10210^2 run 1,4,9,6,5,6,9,4,1,01, 4, 9, 6, 5, 6, 9, 4, 1, 0, a mirror image. That happens because nn and 10−n10 - n always give the same last digit when squared. Remember the first five and the rest follow by reflection.

What makes a number a perfect square?

A number mm is a perfect square when m=k2m = k^2 for some integer kk. Equivalently, m\sqrt{m} is an integer. Both 00 and 11 qualify, since 0=020 = 0^2 and 1=121 = 1^2. The number 22 does not, because no integer squared gives 22. Its root, 2\sqrt{2}, is irrational, which is the usual fate of the square root of a non-square.

Negative numbers are never perfect squares. A positive times a positive is positive, and a negative times a negative is positive too, so no real number squares to something below zero.

The word “perfect” refers to the clean integer root. In algebra the phrase stretches to expressions, such as x2+6x+9=(x+3)2x^2 + 6x + 9 = (x+3)^2, which are the square of another expression. That meaning gets its own section below.

Quick check

Is 00 a perfect square? Answer yes or no.

Why do perfect squares grow by odd numbers?

Five by five tile square built from colored L-shaped layers showing odd numbers summing to squares
Adding 3, 5, 7, 9 tiles in L-shaped borders turns 1 into 4, 9, 16 and 25.

Picture an n×nn \times n square of unit tiles. To make the next square you add an L-shaped border: nn tiles along one side, nn along the other, and one corner tile.

(n+1)2=n2+2n+1(n+1)^2 = n^2 + 2n + 1

So the gaps between consecutive squares are 3,5,7,9,…3, 5, 7, 9, \dots, the odd numbers. Stacking those gaps from 11 shows 1+3+5+7+9=25=521 + 3 + 5 + 7 + 9 = 25 = 5^2. The sum of the first nn odd numbers is n2n^2. This is an arithmetic series with nn terms and an average term of nn.

Gap check

The gap after n2n^2 is 2n+12n + 1. From 4949 to 6464 it is 2(7)+1=152(7) + 1 = 15, and indeed 64−49=1564 - 49 = 15.

The same idea explains why squares thin out. Between n2n^2 and (n+1)2(n+1)^2 there are exactly 2n2n non-squares. Between 2525 and 3636 that is the ten numbers 2626 through 3535.

How can you tell if a number is a perfect square?

Run the cheap tests first. They can only rule a number out, never confirm it.

  1. The last digit must be 0,1,4,5,60, 1, 4, 5, 6 or 99.
  2. Trailing zeros must come in an even count, so 36003600 can pass but 30003000 cannot.
  3. Divide the last two digits by 44. The remainder must be 00 or 11.
  4. The digital root (repeatedly add the digits) must be 1,4,71, 4, 7 or 99.

Test 3 has a one-line reason. An even number 2k2k squares to 4k24k^2, remainder 00. An odd number 2k+12k+1 squares to 4k2+4k+14k^2 + 4k + 1, remainder 11. Since 100100 is divisible by 44, only the last two digits matter. You can also use divisibility rules for 44 and 99 to run tests 3 and 4 fast.

Worked example. Is 73967396 a perfect square?

The last digit is 66, the last two digits 9696 are divisible by 44, and the digit sum 7+3+9+6=257+3+9+6 = 25 reduces to 77. It passes every test, so now bracket the root:

802=6400<7396<8100=90280^2 = 6400 < 7396 < 8100 = 90^2

The root lies between 8080 and 9090. A square ending in 66 comes from a root ending in 44 or 66, leaving 8484 and 8686. Then 842=705684^2 = 7056 and 862=739686^2 = 7396. So 7396=8627396 = 86^2.

As a cross-check, prime factorization gives 7396=4×1849=22×4327396 = 4 \times 1849 = 2^2 \times 43^2, with every exponent even.

The trap: passing the tests proves nothing. The number 20132013 is not a square, yet a number like 52+...5^2+... is not needed to see the point: 2424 ends in 44 and still fails. Another common misconception is judging by the count of prime factors. 6=2×36 = 2 \times 3 has two prime factors, an even count, but it is not a square. The real condition is that each prime appears an even number of times.

Quick check

Use the last-two-digits test: could 12341234 be a perfect square?

How to find perfect squares in your head

Numbers ending in 55 have a shortcut. Write the number as 10a+510a + 5:

(10a+5)2=100a2+100a+25=100 a(a+1)+25(10a+5)^2 = 100a^2 + 100a + 25 = 100\,a(a+1) + 25

So multiply aa by the next integer and attach 2525. For 65265^2: 6×7=426 \times 7 = 42, giving 42254225. For 85285^2: 8×9=728 \times 9 = 72, giving 72257225.

For numbers near a round value, use n2=(n−d)(n+d)+d2n^2 = (n-d)(n+d) + d^2. To find 47247^2, take d=3d = 3:

472=44×50+32=2200+9=220947^2 = 44 \times 50 + 3^2 = 2200 + 9 = 2209

Both tricks are plain multiplication of integers rearranged so that one factor is a round number, which is why they work.

Try this: Square 3535, 7575 and 9595 using the a(a+1)a(a+1) trick, then confirm each with ordinary multiplication. You should get 12251225, 56255625 and 90259025.

Are negatives, fractions and decimals perfect squares?

Squaring a negative integer gives a perfect square: (−6)2=36(-6)^2 = 36. The trap lives in notation. Without parentheses the exponent applies only to the 66, so −62=−36-6^2 = -36. Following the order of operations settles it.

Root versus equation

25=5\sqrt{25} = 5 only, but x2=25x^2 = 25 has two solutions, x=±5x = \pm 5. In general x2=∣x∣\sqrt{x^2} = |x|.

That last identity ties to absolute value: (−5)2=25=5=∣−5∣\sqrt{(-5)^2} = \sqrt{25} = 5 = |-5|.

Fractions and decimals can be squares of rational numbers. 916=(34)2\frac{9}{16} = \left(\frac{3}{4}\right)^2 and 0.49=0.720.49 = 0.7^2. The trap is checking before simplifying.

Worked example. Is 5072\frac{50}{72} a perfect square fraction?

Neither 5050 nor 7272 is a perfect square, which looks like a no. Simplify first:

5072=2536=(56)2\frac{50}{72} = \frac{25}{36} = \left(\frac{5}{6}\right)^2

So yes. For decimals, count places: 0.0049=0.0720.0049 = 0.07^2 works, because squaring doubles the number of decimal places. A decimal with an odd count of places, like 0.50.5, cannot be a square of a terminating decimal.

What is a perfect square trinomial?

Expanding (a+b)2(a+b)^2 gives a trinomial with a recognisable shape:

a2+2ab+b2=(a+b)2a^2 + 2ab + b^2 = (a+b)^2

The test: the first and last terms are perfect squares, and the middle term equals twice the product of their roots. The sign of the middle term decides (a+b)2(a+b)^2 or (a−b)2(a-b)^2.

Worked example. Factor 9x2+30x+259x^2 + 30x + 25 if possible.

The end terms are (3x)2(3x)^2 and 525^2. Twice the product of the roots is 2(3x)(5)=30x2(3x)(5) = 30x, which matches. So 9x2+30x+25=(3x+5)29x^2 + 30x + 25 = (3x+5)^2.

Now try x2+10x+16x^2 + 10x + 16. The end terms are x2x^2 and 424^2, but 2(x)(4)=8x2(x)(4) = 8x, not 10x10x. It is not a perfect square trinomial. It still factors as (x+2)(x+8)(x+2)(x+8).

This is the engine behind completing the square: to turn x2+bxx^2 + bx into a perfect square, add (b2)2\left(\frac{b}{2}\right)^2. It also explains why a quadratic with a repeated root has discriminant zero, a pattern you can practise in these quadratic formula problems.

Where are perfect squares used?

Factor pairs of 36 with the unpaired factor 6 highlighted showing nine factors in total
36 has nine factors because 6 pairs with itself, which only happens for perfect squares.

They turn up wherever area, distance or roots appear:

  • Side from area: a square with area 169169 square units has side 1313.
  • Pythagorean triples: 32+42=523^2 + 4^2 = 5^2 and 52+122=1325^2 + 12^2 = 13^2 are perfect squares summing to a perfect square.
  • Simplifying radicals: pull out the largest perfect square factor.
  • Counting factors: a number has an odd number of factors only if it is a perfect square.

Worked example. Simplify 450\sqrt{450}.

Check for perfect square factors: 450=225×2450 = 225 \times 2 and 225=152225 = 15^2. So

450=225⋅2=152\sqrt{450} = \sqrt{225}\cdot\sqrt{2} = 15\sqrt{2}

The factor-count fact comes from pairing. Factors come in pairs dd and nd\frac{n}{d}, and a pair collapses to one factor only when d=nd = \sqrt{n}. Look at 3636: 1,2,3,4,6,9,12,18,361, 2, 3, 4, 6, 9, 12, 18, 36 gives nine factors, and the unpaired one is 66. You can see the pattern across the factors of numbers 1 to 100, where only 1,4,9,16,25,36,49,64,811, 4, 9, 16, 25, 36, 49, 64, 81 and 100100 have an odd count.

Quick check

Simplify 200\sqrt{200} by pulling out the largest perfect square factor.

Perfect squares vs perfect cubes: what is the difference?

A perfect square is an integer squared, n2n^2. A perfect cube is an integer cubed, n3n^3, so the list runs 1,8,27,64,1251, 8, 27, 64, 125. The full set is on the perfect cubes list. Squares can be written as a square-shaped area, while cubes fill a three-dimensional block.

The two lists overlap at sixth powers, because n6=(n3)2=(n2)3n^6 = (n^3)^2 = (n^2)^3. Examples are 64=82=4364 = 8^2 = 4^3 and 729=272=93729 = 27^2 = 9^3. The next is 4096=642=1634096 = 64^2 = 16^3.

One sign difference matters. A negative number cannot be a perfect square, but a negative number can be a perfect cube, since (−3)3=−27(-3)^3 = -27. Odd powers keep the sign, while even powers erase it.

Practice problems

0 of 5 solved

  1. Is 144144 a perfect square? If so, what is its square root?

  2. Exactly one of 34683468, 34813481 and 34893489 is a perfect square. Which one?

  3. What is the smallest whole number you can multiply 180180 by to get a perfect square?

  4. For which values of kk is 4x2+kx+814x^2 + kx + 81 a perfect square trinomial?

  5. How many perfect squares are there between 500500 and 20002000?

Common questions

What are the first 10 perfect squares?

They are 1,4,9,16,25,36,49,64,811, 4, 9, 16, 25, 36, 49, 64, 81 and 100100, the squares of 11 through 1010. Including zero, the list starts 0,1,4,9,…0, 1, 4, 9, \dots.

Is 0 a perfect square? Is 1?

Yes to both. 0=020 = 0^2 and 1=121 = 1^2, and both 00 and 11 are integers, which is all the definition asks for.

How do you know if a large number is a perfect square?

Rule out the easy failures first: last digit, an even count of trailing zeros, and the remainder when the last two digits are divided by 44. Then bracket the square root between two known squares and test the candidates, or check that every prime in its factorization has an even exponent.

Can a perfect square be negative?

No. A positive number squared is positive and a negative number squared is also positive, so no real number squares to a negative. The smallest perfect square is 00.

Are decimals and fractions perfect squares?

In the strict sense, perfect squares are integers. Fractions such as 916\frac{9}{16} and decimals such as 0.490.49 are squares of rational numbers, (34)2\left(\frac{3}{4}\right)^2 and 0.720.7^2, and are often called perfect square fractions or decimals.

What is the difference between a perfect square and a square root?

A perfect square is the result of squaring an integer, like 4949. The square root goes the other way: 49=7\sqrt{49} = 7. Every perfect square has an integer square root, and no other positive integer does.

Up next