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.
Inputs
Diagonal Length
—
Explain my result
Get a plain-English breakdown of your result with practical next steps.
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