Free perfect square calculator: enter a whole number to check whether it is a perfect square, get its exact root, or the nearest squares above and below it.
Perfect Square Calculator
Is it a perfect square? Get the verdict, the exact root when it is, and the bracketing squares when it is not.
Enter your values
Fill in the fields below — the result appears with every step shown.
Your result will appear here
Enter your values above, then press Calculate — or press Enter in any field.TinyExe · Perfect Square Result
Calculated locally in your browser
—
Name
—
Number to check
—
Input 2
—
Result
—
How this was calculated
What to do next
TinyExe PDF & PNG exports carry the TinyExe logo and tinyexe.com header & footer.
Runs 100% in your browser — your numbers never leave this tab; nothing is uploaded or stored.
The short answer
A number is a perfect square when its square root is a whole number. One hundred forty-four is a perfect square because its square root is exactly twelve. Fifty is not a perfect square, because it lies between forty-nine, which is seven squared, and sixty-four, which is eight squared.
- Perfect squares: 1, 4, 9, 16, 25, 36, 49, 64, 81, 100
- Squares only end in 0, 1, 4, 5, 6 or 9
- 144 = 12 squared
Perfect squares to 20 squared
Reference values for this calculator.
| k | k squared | k | k squared |
|---|---|---|---|
| 1 | 1 | 11 | 121 |
| 5 | 25 | 15 | 225 |
| 10 | 100 | 20 | 400 |
| 12 | 144 | 16 | 256 |
The formula
The exact formula this calculator uses — every variable in it is explained in the card below.
The formula
Ideas enhancement: as well as the yes/no verdict and exact root, it brackets a non-square between the nearest square below and above, which is what estimation and exam questions usually need next.
Worked examples
Worked examples with the full working shown — try them in the calculator to check.
Example 1
A classic square
n = 144
| Calculation | Steps |
|---|---|
| sqrt(144) = 12 exactly, and 12 x 12 = 144. | 144 is a perfect square, root 12. |
Result
Example 2
Round hundred
n = 100
| Calculation | Steps |
|---|---|
| sqrt(100) = 10 exactly, and 10 x 10 = 100. | 100 is a perfect square, root 10. |
Result
Example 3
Between squares
n = 50
| Calculation | Steps |
|---|---|
| sqrt(50) = 7.071... not whole. 7 squared = 49 and 8 squared = 64, so 50 sits between them. | 50 is not a perfect square; floor root 7. |
Result
How to use this calculator
Step 1
Enter a non-negative whole number.
Step 2
Press Calculate.
Step 3
Read the verdict: perfect square with its exact root, or not a square.
Step 4
Use the bracketing squares shown for estimation questions.
Frequently asked questions
What is a perfect square?
A whole number that is the square of another whole number: 1, 4, 9, 16, 25 and so on. 144 is a perfect square because 12 x 12 = 144.
Is 0 a perfect square?
Yes - 0 = 0 x 0, so 0 qualifies, with square root 0.
Is 1 a perfect square?
Yes, 1 = 1 x 1. It is the first positive perfect square.
Can a negative number be a perfect square?
No. Squaring any real number gives a non-negative result, so no negative number is a perfect square in the real numbers.
How can I check a big number quickly?
Look at the last digit: squares end only in 0, 1, 4, 5, 6 or 9. A number ending in 2, 3, 7 or 8 can be ruled out immediately, then test its square root.
About this calculator
A perfect square calculator checks whether a whole number is the square of another whole number. If it is, you get the exact square root; if it is not, you get the two perfect squares that bracket it.
Perfect squares are the diagonal of the multiplication table: 1, 4, 9, 16, 25... The gaps between them grow by 2 each time (3, 5, 7, 9...), which is why squares thin out as numbers grow - among the first hundred whole numbers there are only ten squares.
The last-digit test is a powerful shortcut: squaring any whole number can only end in 0, 1, 4, 5, 6 or 9. That instantly rules out numbers ending in 2, 3, 7 or 8 - about 40% of all candidates - before any root is tried.
Knowing the bracketing squares is genuinely useful even when the answer is no: if 50 lies between 49 and 64, its square root lies between 7 and 8, closer to 7 - the starting point for estimating roots by hand.
Use it for maths homework on squares and roots, for simplifying square roots, for quick estimation, and for pattern-spotting in number sequences where square numbers appear.
How to calculate it yourself
Step 1
Take the square root of the number.
Step 2
Ask whether that root is a whole number with nothing after the decimal point.
Step 3
If yes, square it back to confirm it reproduces the number exactly.
Step 4
If no, the floor and the next whole number give the bracketing squares.
Real-life examples
Tiling a square patio
A gardener has 144 square pavers and wants to know whether they tile a perfect square patio with none left over.
sqrt(144) = 12 exactly, so a 12 by 12 layout uses all 144 pavers.
A perfect 12 x 12 square patio is possible.
Class photo arrangement
A teacher with 50 pupils wonders whether they can stand in a square formation for a photo.
50 lies between 49 (7 x 7) and 64 (8 x 8), so no square formation uses exactly 50 pupils.
Use 7 rows of 7 with one pupil holding the banner instead.
Ideas & use cases
- Simplify a root: check whether the number under a square-root sign is a perfect square before reaching for decimal approximations.
- Spot the pattern: list squares up to 400 and use them to factor numbers like 225 or 324 quickly in algebra.
- Estimate any root: bracket the number between two squares, then refine - the method calculators themselves start from.
Limitations & sources
- Checks non-negative integers only; it does not test whether a decimal or fraction is the square of a rational number, and very large integers beyond normal double precision may be unreliable.
Sources: Standard number theory definition of perfect squares (OpenStax Prealgebra, squares and square roots)
