Square Diagonal Calculator
A square with a side of 10 has a diagonal of about 14.1421. This calculator finds the diagonal of a square from its side length, or works backward from a known diagonal to find the side. Enter either measurement and it returns the diagonal, the side, the area, and the perimeter together, using the Pythagorean relationship that connects a square's side to its diagonal. A square's diagonal is not the same as its perimeter or its side times two, a mix-up that trips up a lot of quick mental math. The diagonal is the straight line across the square from one corner to the opposite corner, and it is always longer than any single side but shorter than two sides added together. Knowing this value matters for practical jobs like squaring up a deck or room, choosing a screen sized by its diagonal, or working out whether a flat panel will pass through a diagonal opening. This tool handles both directions of the calculation so you never need to remember which way to divide or multiply by the square root of 2. Pick your input type, enter the number you have, and read off the rest.
Quick answer
The diagonal of a square equals the side length multiplied by the square root of 2, roughly 1.4142.
What this tells you
- •The diagonal of a square equals the side length multiplied by the square root of 2, roughly 1.4142.
- •The side length equals the diagonal divided by the square root of 2, the reverse of the diagonal formula.
- •Area is calculated as side times side, and it does not depend on which value you started with.
- •Perimeter is calculated as 4 times the side length, the total distance around all four edges.
- •The diagonal splits a square into two identical right triangles, each with two legs equal to the side length.
- •A square's diagonal is always longer than its side but shorter than two sides combined.
- •All results are rounded to 4 decimal places, though the calculator uses full precision internally before rounding.
How to Use
- 1Choose whether you are entering the side length or the diagonal using the Input type selector.
- 2Enter the value in the box. Decimals such as 8.5 or 12.25 are accepted for real-world measurements.
- 3Click Calculate to get the diagonal, side, area, and perimeter together.
- 4Use the diagonal to check squareness, size a screen, or plan a diagonal cut. Use the side for material cuts, framing, or area coverage.
- 5Enter a new value anytime to recalculate. There is no need to reload the page or clear the previous result first.
How It Works
Formula
Diagonal = side x sqrt(2). Side = diagonal / sqrt(2). Area = side x side. Perimeter = 4 x side.A square's diagonal splits it into two right triangles, each with two legs equal to the side length and a hypotenuse equal to the diagonal. The Pythagorean theorem states that the hypotenuse squared equals the sum of the two legs squared, so diagonal squared equals side squared plus side squared, or 2 times side squared. Taking the square root of both sides gives diagonal = side x sqrt(2), where sqrt(2) is approximately 1.4142. Reversing the formula, side = diagonal / sqrt(2), recovers the side length from a known diagonal. For example, a square with a side of 10 has a diagonal of 10 x 1.4142 = 14.1421, an area of 10 x 10 = 100, and a perimeter of 4 x 10 = 40.
Calculation note: values are processed in the order shown above, using the current input units.
Worked Examples
Diagonal of a 10-inch square panel
Diagonal = 10 x sqrt(2) = 10 x 1.4142 = 14.1421 inches. Area = 10 x 10 = 100 square inches. Perimeter = 4 x 10 = 40 inches. This is the arithmetic you would do to check the diagonal opening a 10-inch square panel needs to pass through.
Side length from a measured diagonal of 14.1421
Side = 14.1421 / sqrt(2) = 14.1421 / 1.4142 ≈ 10.0000, confirming the round trip back from the diagonal in the first example. Small rounding in the last decimal place is expected because sqrt(2) is an irrational number.
Diagonal of a 5-foot square deck section
Diagonal = 5 x sqrt(2) = 5 x 1.4142 = 7.0711 feet. Area = 5 x 5 = 25 square feet, and perimeter = 4 x 5 = 20 feet. A builder checking a 5-foot square deck frame would measure this diagonal and compare it to the opposite diagonal to confirm the corners are square.
Side and area from a 20-inch diagonal, such as a monitor screen
Side = 20 / sqrt(2) = 20 / 1.4142 ≈ 14.1421 inches. Area ≈ 14.1421 x 14.1421 = 200 square inches, and perimeter ≈ 4 x 14.1421 = 56.5685 inches. Screens and monitors are commonly quoted by their diagonal length, so this shows how to recover the actual side length from that spec.
Square Side Length and Diagonal Reference
Common side lengths and their corresponding diagonal, using diagonal = side x sqrt(2).
| Side | Diagonal | Area | Perimeter |
|---|---|---|---|
| 1 | 1.4142 | 1 | 4 |
| 5 | 7.0711 | 25 | 20 |
| 10 | 14.1421 | 100 | 40 |
| 20 | 28.2843 | 400 | 80 |
| 50 | 70.7107 | 2500 | 200 |
The diagonal-to-side ratio stays constant at sqrt(2), about 1.4142, no matter how large or small the square is.
Where the diagonal formula comes from
Draw a single diagonal line across any square and it splits the shape into two identical right triangles. Each triangle has two legs equal to the square's side length and a hypotenuse equal to the diagonal itself. That setup is exactly what the Pythagorean theorem describes: the hypotenuse squared equals the sum of the two legs squared. Substituting the side length for both legs gives diagonal squared equals side squared plus side squared, which simplifies to 2 times side squared. Taking the square root of both sides produces the working formula, diagonal = side x sqrt(2).
Outside of geometry homework, this relationship shows up in a handful of practical situations. Builders and DIYers use it to check whether a room, slab, or deck frame is truly square by measuring both diagonals and comparing them. If the two diagonal measurements match, the corners are square, even though checking the four side lengths alone cannot catch a frame that has racked out of shape into a parallelogram. Anyone buying a TV, monitor, or tablet also runs into this math indirectly, since screen sizes are almost always quoted as a diagonal measurement rather than a width or height, so recovering the true side length or comparing screens by area both require the diagonal formula.
The same relationship applies when fitting a flat square object, like a piece of plywood, glass, or a solar panel, through a diagonal opening such as a hatch, doorway turned at an angle, or a round port. Knowing the diagonal tells you the largest straight-line dimension the square object presents, which is the true limiting measurement in tight installs.
Common mistakes
- Confusing the diagonal with the perimeter. The diagonal is a single line across two opposite corners, while the perimeter is the total distance around all four sides, and the two values are rarely close to each other.
- Using the square diagonal formula, side x sqrt(2), on a rectangle that is not actually square. A rectangle's diagonal depends on both the length and the width, calculated as sqrt(length squared + width squared), not on a single side times sqrt(2).
- Forgetting that 'squaring' a room or frame in construction means checking that both diagonals are equal, not just measuring the four sides. A frame can have four equal sides and still be racked out of true if the diagonals differ.
- Rounding sqrt(2) too early in a multi-step hand calculation. Using 1.4 instead of 1.4142 can shift the final diagonal or side value enough to matter on larger squares.
- Assuming a screen's diagonal size tells you its width or height directly. The diagonal spec needs to be divided by sqrt(2) to recover the side length of a square screen, or combined with the aspect ratio for a non-square one.
Embed this calculator on your site
Drop this single line where you want the calculator to appear. It is responsive, mobile-friendly, resizes automatically, and is free to use with attribution.
<script src="https://calctide.com/embed.js" data-tool="square-diagonal-calculator" async></script>Preview the embed at /embed/square-diagonal-calculator/.