Home · Math · Plane Geometry · Length Of A Rectangle Calculator
Length Of A Rectangle Calculator
Length of a rectangle recovered from its diagonal and width by Pythagoras, with its area.
What this calculator does
Length of a rectangle recovered from its diagonal and width by Pythagoras, with its 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 is the hypotenuse of the right triangle formed by length and width, so L = sqrt(d^2 - W^2). The area is L x W.
The diagonal must be longer than the width - it always is in a real rectangle.
Worked example
With the example inputs this page opens with (diagonal 5, width 3), the result is 4.00 — length. Change any figure and the result updates with the same formula.
Quick reference
| Diagonal | Length |
|---|---|
| 4 | 2.65 |
| 5 | 4.00 |
| 6.25 | 5.48 |
| 7.5 | 6.87 |
| 10 | 9.54 |
| 6 | 5.20 |
Computed with the same formulas as the calculator above — enter any values there for figures beyond this table.
Common questions
How does the Length Of A Rectangle Calculator work?
Length of a rectangle recovered from its diagonal and width by Pythagoras, with its area. Diagonal - Width -> Length. 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 Length Of A Rectangle Calculator need?
Diagonal - Width -> Length. 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 Length 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.