Math

Diagonal of Square Calculator

Calculate the diagonal of a square from side length, or find the side length from the diagonal. Includes area, perimeter, and geometric relationships.

Formula

d = s × √2

Where d = diagonal, s = side length, and √2 ≈ 1.41421356

Diagonal
14.1421

Square Properties

Side: 10, Diagonal: 14.1421

Side length (s)
10
Diagonal (d)
14.1421
Area (s²)
100
Perimeter (4s)
40

Related Circles

Circumradius (d/2)
7.0711
Inradius (s/2)
5

Formula Derivation

Using the Pythagorean theorem:

d² = s² + s²

d² = 2s²

d = s√2

The diagonal forms a right triangle with two sides of the square.

Quick Reference

SideDiagonalArea
11.4141
22.8284
57.07125
1014.142100
1216.971144
1521.213225
2028.284400

The diagonal divides the square into two congruent right triangles (45-45-90 triangles).

Finding the Diagonal of a Square

The diagonal of a square connects two opposite corners, passing through the center. It's one of the most fundamental measurements in geometry and appears frequently in construction, design, and mathematics.

The Formula

The diagonal of a square with side length s is:

d=s2d = s\sqrt{2}

Where √2 ≈ 1.41421356...

To find the side from the diagonal:

s=d2=d22s = \frac{d}{\sqrt{2}} = \frac{d\sqrt{2}}{2}

Why √2?

Pythagorean Theorem Proof

The diagonal creates a right triangle with two sides of the square:

d2=s2+s2=2s2d^2 = s^2 + s^2 = 2s^2

Taking the square root:

d=2s2=s2d = \sqrt{2s^2} = s\sqrt{2}

The 45-45-90 Triangle

A square's diagonal divides it into two congruent 45-45-90 triangles. In any 45-45-90 triangle:

  • The legs are equal (both = s)
  • The hypotenuse = leg × √2

This is why the ratio √2 appears in the diagonal formula.

Related Measurements

Area from Diagonal

You can calculate area directly from the diagonal:

A=d22A = \frac{d^2}{2}

This is because A = s² and s = d/√2, so:

A=(d2)2=d22A = \left(\frac{d}{\sqrt{2}}\right)^2 = \frac{d^2}{2}

Perimeter from Diagonal

P=4s=4×d2=2d2P = 4s = 4 \times \frac{d}{\sqrt{2}} = 2d\sqrt{2}

Circumradius (Circumscribed Circle)

The radius of a circle passing through all four corners:

R=d2R = \frac{d}{2}

Inradius (Inscribed Circle)

The radius of a circle fitting inside the square:

r=s2r = \frac{s}{2}

Practical Applications

Construction and Carpentry

When squaring a foundation or frame:

  1. Measure both diagonals
  2. If they're equal, the shape is a rectangle
  3. If sides are also equal, it's a square

Example: For a 10×10 foot deck, the diagonal should be 10√2 ≈ 14.14 feet.

Screen Sizes

TV and monitor sizes are measured diagonally:

  • A 50" TV might have roughly 43.5" × 24.5" dimensions
  • For a square display, a 50" diagonal means ~35.4" sides

Tile and Flooring

When laying tiles diagonally:

  • A 12" tile placed diagonally spans 12√2 ≈ 17" corner to corner
  • Coverage calculations must account for increased cut waste

Photography

The "rule of thirds" grid creates squares, and understanding diagonals helps with composition and focal length calculations.

Common Diagonal Values

Side LengthDiagonal
11.414
22.828
34.243
45.657
57.071
68.485
811.314
1014.142
1216.971
1521.213
2028.284

Relationship to Other Shapes

Rectangle

For a rectangle with sides a and b:

d=a2+b2d = \sqrt{a^2 + b^2}

A square is a special case where a = b.

Cube

The space diagonal of a cube with side s:

dspace=s3d_{space} = s\sqrt{3}

The face diagonal (on any face) uses the same formula as a square.

Regular Polygons

For a regular n-gon, the relationship between side and longest diagonal varies:

  • Square (n=4): d = s√2
  • Pentagon (n=5): d = s × φ (golden ratio)
  • Hexagon (n=6): d = 2s

The Irrational Nature of √2

A Famous Discovery

The ancient Greeks discovered that √2 cannot be expressed as a fraction—it's irrational. This was revolutionary and allegedly caused a crisis in Pythagorean philosophy.

Decimal Approximation

√2 = 1.41421356237309504880168872420969807856967187537694...

For most practical purposes, 1.414 or 1.4142 provides sufficient accuracy.

Rational Approximations

Close fractions for √2:

  • 99/70 ≈ 1.4143
  • 239/169 ≈ 1.41420
  • 577/408 ≈ 1.414216

Working with Units

Converting Between Units

When the side is in different units:

  • Side in inches, diagonal in feet: d = (s × √2) / 12
  • Side in cm, diagonal in meters: d = (s × √2) / 100

Mixed Unit Example

A room is 12 feet square. What's the diagonal in feet and inches?

  • d = 12 × √2 = 16.97 feet
  • 16.97 feet = 16 feet, 11.6 inches

Solving for Side Length

Given Diagonal

If you know the diagonal and need the side:

s=d20.7071×ds = \frac{d}{\sqrt{2}} \approx 0.7071 \times d

Example: A TV has a 55" diagonal (assuming square). Side ≈ 55 × 0.7071 ≈ 38.9"

Given Area

If you know the area:

s=As = \sqrt{A} d=2Ad = \sqrt{2A}

Summary

Key formulas for square diagonals:

  1. Diagonal from side: d = s√2
  2. Side from diagonal: s = d/√2
  3. Area from diagonal: A = d²/2
  4. Circumradius: R = d/2
  5. Inradius: r = s/2

The √2 relationship is fundamental to understanding squares, rectangles, and 45-45-90 triangles in geometry.