Length of a Rectangle Calculator

Calculate a rectangle’s length from its width and its area, perimeter, or diagonal.

Result
—

How to calculate

Divide area by width, or subtract width from half the perimeter. If you know the diagonal, take the square root of the difference between its square and the width squared.

Worked example

Enter Width 5 · Second known measurement Area · Measurement value 30. The result is 6 units.

Units and assumptions

Use one consistent length unit. The result uses that same unit for lengths, its square for areas, and its cube for volumes.

OpenStax geometry formulas

Related calculators