terican

Last verified · v1.0

Calculator · math

Square Diagonal Calculator

Find the diagonal of any square by entering its side length. Uses the formula d = s√2, derived from the Pythagorean theorem, for instant accurate results.

FreeInstantNo signupOpen source

Inputs

Diagonal Length

Explain my result

0/3 free

Get a plain-English breakdown of your result with practical next steps.

Diagonal Lengthunits

The formula

How the
result is
computed.

How the Square Diagonal Calculator Works

The square diagonal calculator applies a precise geometric formula derived from the Pythagorean theorem to determine the length of the straight line connecting two opposite corners of any square. Given a side length s, the diagonal d is always equal to s multiplied by the square root of 2. This fundamental relationship represents one of the most elegant and universally applicable geometric principles, holding true across all scales and measurement systems without exception or special cases.

The Core Formula

The formula is expressed as:

d = s × √2

Where d is the diagonal length and s is the length of one side of the square. Since √2 ≈ 1.41421356, every diagonal is approximately 41.4% longer than its corresponding side, a fixed and universal relationship that holds at every scale. This constant ratio means that whether you are working with millimeters, kilometers, or any other unit, the proportion between diagonal and side remains mathematically identical.

Deriving the Formula from the Pythagorean Theorem

A square has four equal sides and four right angles. Drawing a diagonal from one corner to the opposite corner divides the square into two congruent right triangles. Each triangle has two legs of equal length s and a hypotenuse equal to the diagonal d. Applying the Pythagorean theorem gives: d² = s² + s² = 2s², therefore d = √(2s²) = s√2. The ORCCA Square and nth Root Properties reference confirms that √(s²) = s for any positive value of s, validating this simplification step. This derivation demonstrates why the diagonal and side relationship is not coincidental but rather a necessary mathematical consequence of the square's geometric properties.

Variable Definitions

  • s (Side Length) — The length of any one side of the square. Because all four sides of a square are equal, only one measurement is required as input.
  • d (Diagonal) — The straight-line distance between two opposite, non-adjacent corners of the square.
  • √2 (Square Root of 2) — An irrational constant approximately equal to 1.41421356. It is the exact, fixed ratio between the diagonal and the side of any square in Euclidean geometry.

Worked Examples

Example 1: Floor Tile

A square ceramic tile has a side length of 30 cm. Its diagonal is d = 30 × 1.41421 ≈ 42.43 cm. This measurement determines the maximum width that fits when cutting the tile at a 45-degree angle for a corner installation.

Example 2: Television Screen

A square display panel measures 24 inches per side. Its diagonal is d = 24 × √2 ≈ 33.94 inches. Television and monitor screen sizes are universally advertised by diagonal measurement, making this formula directly applicable to consumer electronics sizing.

Example 3: Construction Framing

A square room foundation measures 12 feet on each side. The diagonal bracing required spans d = 12 × 1.41421 ≈ 16.97 feet. Structural engineers and carpenters use this value to confirm that walls are plumb and that the structure forms a true square.

Practical Applications

  • Interior Design: Calculating diagonal measurements for rugs, furniture placement, and cable routing in square rooms ensures optimal spatial planning and aesthetics.
  • Woodworking: Determining cut lengths for mitered corners, diagonal bracing members, and angled joinery requires precise diagonal measurements for structural integrity.
  • Technology: Computing screen diagonal sizes for monitors, tablets, and display panels directly determines marketed product sizes and viewing angles.
  • Architecture: Verifying right angles during building layout by comparing both diagonals ensures structural accuracy and prevents costly framing errors.
  • Landscaping: Planning diagonal pathways and border edging across square garden beds creates visual interest while maintaining geometric precision.

Numerical Precision and Rounding

Since √2 is an irrational number with infinite non-repeating decimal places, the diagonal length will always be an approximation in practical applications. Most calculations use 1.41421 or higher precision values depending on required accuracy. For most real-world applications, rounding to two or three decimal places provides sufficient precision, though engineering and manufacturing contexts may demand higher accuracy.

Inverse Calculation: Finding Side Length from the Diagonal

When the diagonal is known and the side length is needed, rearrange the formula: s = d / √2 ≈ d × 0.70711. For a diagonal of 10 meters, the corresponding side length is 10 × 0.70711 = 7.071 meters. This inverse method is widely used in tile layout, screen manufacturing, and structural verification when specifications reference diagonal measurements rather than side lengths.

Reference

Frequently asked questions

What is the formula for calculating the diagonal of a square?
The diagonal of a square is calculated using the formula d = s√2, where d is the diagonal length and s is the side length. This formula derives directly from the Pythagorean theorem: drawing a diagonal creates two right triangles where both legs equal s, so d² = s² + s² = 2s², giving d = s√2. The constant √2 ≈ 1.41421 applies universally to every square, regardless of its size or unit of measurement.
How do I calculate the diagonal of a square with a side length of 10 cm?
To find the diagonal of a 10 cm square, multiply 10 by √2 (approximately 1.41421). The result is 10 × 1.41421 ≈ 14.142 cm. This value represents the straight-line distance between two opposite corners. The same ratio applies at any scale: a 10-meter square has a diagonal of approximately 14.142 meters, and a 10-inch square has a diagonal of approximately 14.142 inches.
Why is the diagonal of a square equal to the side length multiplied by √2?
Drawing a diagonal through a square creates two right triangles, each with two equal legs of length s. The Pythagorean theorem states that the hypotenuse squared equals the sum of the squares of both legs: d² = s² + s² = 2s². Taking the square root of both sides yields d = s√2. This makes √2 the universal and exact ratio between the diagonal and the side of any square in Euclidean geometry, with no exceptions.
How do I find the side length of a square if I only know its diagonal?
Rearrange the formula to isolate the side length: s = d ÷ √2, which is equivalent to s ≈ d × 0.70711. For example, a diagonal of 20 cm corresponds to a side length of 20 × 0.70711 ≈ 14.142 cm. This inverse calculation is essential in carpentry, tile installation, and electronics manufacturing when only the diagonal measurement is available and the side length must be determined precisely.
What are common real-world applications of the square diagonal formula?
The square diagonal formula appears across many professional fields. Carpenters cut diagonal bracing members to exact length using this formula. Interior designers calculate rug diagonal dimensions for square rooms. Electronics engineers derive panel side lengths from screen diagonal specifications. Architects and builders verify right angles during construction by measuring both diagonals of a framed structure — equal diagonals confirm a true square. Landscapers use it when planning diagonal garden paths.
Is the diagonal of a square always longer than its sides?
Yes, the diagonal of a square is always longer than any single side by a factor of √2 ≈ 1.41421, meaning every diagonal is approximately 41.4% longer than its corresponding side. This relationship holds at every scale without exception. A 1-inch square has a diagonal of about 1.414 inches, and a 100-foot square has a diagonal of approximately 141.42 feet. The ratio is exact and invariant for all squares in Euclidean geometry.