Home · Math · Plane Geometry · Diagonal of a Rectangle Calculator
Diagonal of a Rectangle Calculator
Diagonal of a rectangle from length and width by Pythagoras, with the angle the diagonal makes and the rectangle's area.
What this calculator does
Diagonal of a rectangle from length and width by Pythagoras, with the angle the diagonal makes and the rectangle's area. Every figure on this page is computed from the formula or definition stated below, with no hidden rounding steps, and the method notes name the exact convention where more than one exists.
The formula and method
The diagonal splits a rectangle into two right triangles, so d = sqrt(L^2 + W^2). Its angle to the length side is atan(W/L). All angles are in degrees; trigonometric outputs use the degree-based functions so no radian conversion is needed.
A quick field check for squareness: both diagonals of a true rectangle are equal, so measure both and compare.
Worked example
With the example inputs this page opens with (length 6, width 4), the result is 7.21 — diagonal. Change any figure and the result updates with the same formula.
Quick reference
| Length | Diagonal |
|---|---|
| 3 | 5.00 |
| 4.8 | 6.25 |
| 6 | 7.21 |
| 7.5 | 8.50 |
| 9 | 9.85 |
| 12 | 12.65 |
Computed with the same formulas as the calculator above — enter any values there for figures beyond this table.
Common questions
How does the Diagonal of a Rectangle Calculator work?
Diagonal of a rectangle from length and width by Pythagoras, with the angle the diagonal makes and the rectangle's area. Length - Width -> Diagonal. The result updates as you type, and the formula and method on this page state the exact definitions used, so you can reproduce the calculation by hand.
What inputs does the Diagonal of a Rectangle Calculator need?
Length - Width -> Diagonal. Invalid entries — such as a zero denominator, an out-of-range value or a malformed list — produce a plain-language message instead of a misleading number.
Is the Diagonal of a Rectangle Calculator free to use?
Yes. It runs entirely in your browser with no sign-up, and the same calculator is available as an embeddable widget via the Embed button, so it can be placed on another site with its calculation intact.