Length of a Rectangle Calculator
Test cases replayed : 3 of 3 match · Methodology · No outside source listed
Enter the width and one more measurement to get the missing length.
Result
Length (length units)
Area (square units)
- Perimeter (length units)
- Diagonal (length units)
Estimate for planning only, not tax, legal, financial or medical advice. This calculator uses the method explained on this page.
This browser did not allow copying. The sentence is in the box below, already selected: copy it with your keyboard or the menu.
How to use this calculator
Fill in the fields in this order; each step takes you to its field.
- Besides the width, I know: choose The area, The perimeter or The diagonal.
- Width (length units): enter 0 or more.
- Area (square units; first choice): enter 0 or more.
- Perimeter (length units; second choice): enter 0 or more.
- Diagonal (length units; third choice): enter 0 or more.
- Read the result: Length (length units); the panel also shows Area (square units), Perimeter (length units) and Diagonal (length units).
How this calculator works
From the area A = L × W, the length is L = A ÷ W. From the perimeter P = 2(L + W), L = P ÷ 2 − W. From the diagonal d, the Pythagorean theorem gives L = √(d² − W²).
The formula
| Symbol | Meaning | Unit |
|---|---|---|
| Besides the width, I know (1: The area; 2: The perimeter; 3: The diagonal) | ||
| Width | length units | |
| Area (first choice) | square units | |
| Perimeter (second choice) | length units | |
| Diagonal (third choice) | length units | |
| Length | length units |
Worked example
| Besides the width, I know | The area |
|---|---|
| Width (length units) | 6 |
| Area (square units; first choice) | 48 |
| Area (square units) | 48 |
|---|---|
| Perimeter (length units) | 28 |
| Diagonal (length units) | 10 |
Length (length units) 8
Each step uses the unrounded value of the step before it; figures on this page are rounded for display.
Frequently asked questions
How do I find the length of a rectangle from its area?
Divide the area by the width. A 48 sq ft rectangle that is 6 ft wide is 8 ft long.
How do I find the length from the perimeter?
Halve the perimeter and subtract the width. A perimeter of 50 with a width of 10 gives a length of 15.