Square Calculator

A square with side s has area s², perimeter 4s and diagonal s√2. For a side of 5, the area is 25, the perimeter is 20, the diagonal is 7.071 and the inscribed circle has radius 2.5. You can start from the side, diagonal, area or perimeter.

Last updated · By · Runs in your browser, nothing is uploaded

Result

Step-by-Step Solution

Enter your values above to see the full working.

What Is a Square?

A square is a four-sided shape in which all four sides are equal and all four angles are right angles. It is the most symmetrical quadrilateral: it is at once a rectangle (four right angles), a rhombus (four equal sides) and a parallelogram. Everything about a square follows from one number, so if you know any single measurement, side, diagonal, area or perimeter, you can find the rest.

This calculator works in all directions. If you know the area of a square room, it tells you the length of each wall. If you know the diagonal of a screen or tile, it tells you the side.

All Measurements of a Square with Side 5

MeasurementFormulaValue
Side sgiven5
Areas²25
Perimeter4s20
Diagonals√27.0711
Inscribed circle radiuss ÷ 22.5
Circumscribed circle radiuss√2 ÷ 23.5355

Square Formulas

Area A = s² Perimeter P = 4s Diagonal d = s√2 s = √A = P ÷ 4 = d ÷ √2 Inscribed radius = s ÷ 2 Circumscribed radius = d ÷ 2 = s√2 ÷ 2
  • s is the side length.
  • The diagonal divides the square into two isosceles right triangles, and its length follows from the Pythagorean theorem: d² = s² + s².
  • The inscribed circle touches all four sides, and the circumscribed circle passes through all four corners.
  • From the area, the side is the square root: s = √A. See the square root calculator.

How Is It Calculated? Worked Examples

Side 5

  1. Area: 5² = 25.
  2. Perimeter: 4 × 5 = 20.
  3. Diagonal: 5 × 1.4142 = 7.071.
  4. Inscribed circle radius: 2.5. Circumscribed radius: 3.536.

Starting from the Diagonal: d = 10

The side is 10 ÷ √2 = 7.071, the area is half the square of the diagonal, 100 ÷ 2 = 50, and the perimeter is 28.28.

Starting from the Area: A = 100

The side is √100 = 10, the perimeter is 40 and the diagonal is 14.14.

Tiling a Room

Square tiles of 30 cm have an area of 900 cm² = 0.09 m². A 10 m² floor needs 10 ÷ 0.09 = 111.1, so 112 tiles, plus extra for cuts.

A Square in a Circle

The largest square that fits inside a circle of radius 5 has a diagonal of 10, a side of 7.07 and an area of 50, which is 63.7% of the circle’s 78.54.

Scaling

Doubling the side quadruples the area and doubles the perimeter. A chessboard contains 64 small squares, but counting squares of every size gives 1² + 2² + … + 8² = 204.

Square Numbers and Measurement Error

The numbers 1, 4, 9, 16, 25 are called square numbers because they count dots arranged in squares, and each is the sum of consecutive odd numbers (25 = 1 + 3 + 5 + 7 + 9). Because area depends on the square of the side, small errors double: a 1% error in measuring the side leads to about a 2% error in the area, so measure carefully before calculating the amount of paint, tile or turf.

How to Use This Square Calculator

  1. Choose what you know: the side, the diagonal, the area or the perimeter.
  2. Enter the value.
  3. Read the side, area, perimeter, diagonal and the radii of the inscribed and circumscribed circles.

Where Square Calculations Are Used

  • Home and garden: tiles, paving, squares of carpet and garden beds.
  • Design and printing: square canvases, photographs and logos.
  • Construction: square footings, columns and floor plans.
  • Screens and electronics: pixel grids and square chips.
  • Mathematics: squares and square roots, number patterns and tessellations.

Squares and Circles Compared

A square of side 10 has an area of 100 and a perimeter of 40. A circle with the same area has a radius of 5.642 and a circumference of only 35.45, so the circle is the more efficient shape. For a photo frame 20 cm on each side, the diagonal is 28.28 cm, so the frame fits inside a 30 cm square box only when laid diagonally across, with room to spare.

What Are the Most Common Mistakes With the Square Calculator?

  • Confusing area and perimeter. Area is s² (square units), perimeter 4s (length).
  • Using the diagonal as a side. The diagonal is s√2, about 41% longer.
  • Forgetting to take the square root when finding a side from an area.
  • Mixing units. A 50 cm square is 0.25 m², not 2,500 m².
  • Assuming a rhombus is a square. A square also needs right angles.
  • Doubling the side to double the area. Doubling the side quadruples the area.

Where Can You Verify These Formulas?

The definitions and formulas on this page follow standard references. Check them against these sources:

Built and maintained by S. Dilshan. Found a mistake? Email [email protected] with the page address.

Frequently Asked Questions

What is the area of a square?

Side squared: A = s². For s = 5 the area is 25.

What is the diagonal of a square?

s√2, about 1.414 times the side. For s = 5 it is 7.07.

How do I find the side from the area?

Take the square root: s = √A. An area of 100 gives a side of 10.

How do I find the side from the diagonal?

s = d ÷ √2. A diagonal of 10 gives a side of 7.07.

What is the perimeter of a square?

4 times the side. For s = 5 it is 20.

How many right angles and lines of symmetry does a square have?

Four right angles and four lines of symmetry, two along the diagonals and two through the midpoints of opposite sides.