Square Calculator
Calculate area, perimeter, and diagonal of a square.
What this calculator does
This tool works out the area, perimeter and diagonal of a square from the length of one side. A square has four equal sides and four square corners, so one measurement is all it needs.
Use it for square patios, sandboxes, garden plots, tiles, shed floors and quilt blocks, or to check your maths homework.
A worked example
Mateo is laying a square paver patio behind his house in Saskatoon. Each side will be 12 feet long.
The patio covers 144.00 sq units, which in his case means square feet. He uses that to order pavers, base gravel and sand. The edge restraint that holds the pavers in place runs around all four sides. The perimeter is 48.00 units, so he buys that many feet of it.
Before he digs, Mateo sets out string lines and measures from corner to corner. Each diagonal should be 16.97 units. If the two diagonals match, his corners are square.
How we work it out
Area is the side times itself, also called the side squared. Perimeter is the side times 4, since all four sides match. The diagonal, the line from one corner to the opposite corner, is the side times the square root of 2, which is about 1.414.
Each answer is rounded to two decimal places and given in the unit you entered. Area is in square units. The tool does not convert between feet and metres.
Check your layout with the diagonals
Four equal sides do not prove you have a square. A shape with four equal sides can lean over, like a diamond, and still have matching sides. The diagonals tell you the truth. In a true square, both diagonals are the same length, and each one equals the diagonal shown here.
When you set out stakes for a deck, a shed base or concrete forms, measure both diagonals. If one is longer, nudge the two corners at the ends of the long diagonal toward each other and measure again. Repeat until both match the result.
Feet and inches trip people up
The side must be one number in one unit. A side of 10 feet 6 inches is 10.5 feet, not 10.6. Divide the inches by 12 to turn them into part of a foot, or give the whole side in inches. If you work in inches, the area comes out in square inches, which is a very large number for a floor.
Square units grow fast. A square twice as wide covers four times the area. So a garden 20 feet on each side is not double a garden 10 feet on each side. It is four times as big, and needs four times the soil and seed.
From one square to many
To count square tiles or pavers, find the area of the space, then divide by the area of one tile. Run this calculator once for the space and once for a single tile, in the same unit. Buy some spares for cuts and breakage, and keep a few for repairs later.
For a fence or edging around a square yard, use the perimeter, then take off the width of any gate.
What this does not include
- Rectangles, which have their own tool
- Shapes with four equal sides but corners that are not square, such as a rhombus
- Converting between feet, inches and metres
- Waste from cutting tiles, pavers or sod to fit
Common questions
Why is the diagonal longer than the side?
The diagonal cuts across the square from corner to corner. Together with two sides, it forms a right-angled triangle, and the diagonal is the longest side of that triangle. By the Pythagorean theorem it is always about 1.414 times the side, whatever size the square is.
What is the difference between 10 square feet and 10 feet square?
They sound alike but are very different. Ten feet square describes a square that is 10 feet on each side, which covers 100 square feet. Ten square feet is an amount of area, such as a patch about 3 feet 2 inches on each side. Plans and listings use both, so read them carefully.
How do I find the side if I know the area?
Take the square root of the area. A square room of 144 square feet has sides of 12 feet, because 12 times 12 is 144. For areas that are not perfect squares, the root calculator gives you the decimal answer. Enter that side here to get the perimeter and diagonal too.
Is a square a kind of rectangle?
Yes. A square is a rectangle whose length and width are equal. If you enter the same number for both in the rectangle calculator, you get the same area, perimeter and diagonal as here. This page simply saves you typing the side twice.
What if my room is almost square?
Measure all four walls. If they differ by more than a little, the room is not a true square, and the rectangle calculator will be more accurate. Use the longer length and the longer width when you buy flooring, so you do not run short.
Sources
- NIST Guide to the SI, Appendix B.8: Factors for Units Listed Alphabetically, National Institute of Standards and Technology
Last reviewed October 18, 2026. How we check our numbers.
This is an estimate to help you plan. It is not financial, medical, or legal advice. Talk to a professional before you make a big decision.