Rectangle Width Calculator
Test cases replayed : 3 of 3 match · Methodology · No outside source listed
Enter the length of a rectangle and one other measurement (area, perimeter or diagonal) to get its width and the rest of its dimensions.
Result
Width W (length units)
Area L × W (square units)
- Perimeter 2(L + W) (length units)
- Diagonal √(L² + W²) (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.
- What you know besides the length: choose Area, Perimeter or Diagonal.
- Length L (length units): enter 0 or more.
- Area (square units; mode 1): enter 0 or more.
- Perimeter (length units; mode 2): enter 0 or more.
- Diagonal (length units; mode 3): enter 0 or more.
- Read the result: Width W (length units); the panel also shows Area L × W (square units), Perimeter 2(L + W) (length units) and Diagonal √(L² + W²) (length units).
How this calculator works
A rectangle's area is A = L × W, its perimeter P = 2(L + W) and its diagonal d = √(L² + W²) by the Pythagorean theorem. Solving each for the width gives W = A ÷ L, W = P ÷ 2 − L or W = √(d² − L²).
Use the same length unit everywhere. A perimeter no larger than twice the length, or a diagonal shorter than the length, describes no rectangle and the width shows a dash.
Worked example
| What you know besides the length | Area |
|---|---|
| Length L (length units) | 8 |
| Area (square units; mode 1) | 48 |
| Width W (length units) | 6 |
|---|---|
| Perimeter 2(L + W) (length units) | 28 |
| Diagonal √(L² + W²) (length units) | 10 |
Frequently asked questions
What is the width of a rectangle with area 48 and length 8?
48 ÷ 8 = 6 units, which gives a perimeter of 28 and a diagonal of 10.
What is the width if the length is 12 and the diagonal is 13?
√(13² − 12²) = √25 = 5 units.