Width of a Rectangle Calculator
Enter the length and one other measurement (area, perimeter, or diagonal) to find the width of your rectangle instantly. You can also enter both the width and length to compute area, perimeter, and diagonal. Switch between metric and imperial units - all values update as you type.
Width of a rectangle: the three key formulas
A rectangle has four measurements: length (L), width (W), area (A), perimeter (P), and diagonal (d). If you know any two of these, you can find the rest. The three formulas for finding width are: From area: W = A / L From perimeter: W = P / 2 - L From diagonal: W = sqrt(d² - L²) The diagonal formula comes directly from the Pythagorean theorem, because the diagonal of a rectangle divides it into two right-angled triangles. If you know both the length and width, the calculator also computes area, perimeter, diagonal, and the aspect ratio for you.
How to find the width of a rectangle
Choose the solve mode that matches the information you have, then enter the values. The most common case is knowing the area and length - for example, a 60 m² floor that is 10 m long has a width of 60 / 10 = 6 m. If you know the perimeter instead - say, 32 m of fencing around a 10 m long plot - the width is 32 / 2 - 10 = 6 m. If you know the screen diagonal (11.662 m) and the length (10 m), the width is sqrt(11.662² - 10²) = sqrt(135.80 - 100) = sqrt(35.80) = 5.983 m. All modes are computed here in the same step-by-step style so you can verify the arithmetic.
Width, length, and the aspect ratio
By convention, the length is usually the longer dimension and the width the shorter, but the formulas are completely symmetric - swapping the two labels does not change the area, perimeter, or diagonal. The aspect ratio (length divided by width, always greater than or equal to 1) describes the shape of the rectangle independent of its size. A square has an aspect ratio of 1:1. A 16:9 widescreen display has a ratio of approximately 1.778:1. The golden rectangle, which appears throughout art and architecture, has a ratio of approximately 1.618:1 (the golden ratio). Knowing the ratio and one side immediately gives you the other: W = L / ratio.
Practical uses for the width formula
The width formula appears in dozens of everyday situations. A contractor who knows a room's floor area and one wall length can find the opposite wall without measuring. A farmer who knows the total fence length and one field boundary can calculate how far the parallel boundary runs. A graphic designer who knows a print area and one edge can confirm the other dimension fits the canvas. Screen sizes are quoted as diagonal measurements, so the Pythagorean approach lets you find the actual viewing width from the quoted diagonal and the known aspect ratio. This calculator handles all three routes in a single tool.
Common rectangle aspect ratios
| Rectangle type | Aspect ratio | Example |
|---|---|---|
| Square | 1 : 1 | Chess board tile |
| A4 paper | 1.414 : 1 | ISO 216 standard sheet |
| Golden rectangle | 1.618 : 1 | Parthenon facade, credit cards |
| 4:3 screen | 1.333 : 1 | Classic SD TV, iPad |
| 16:9 screen | 1.778 : 1 | HD and 4K widescreen |
| US Letter paper | 1.294 : 1 | 8.5 in x 11 in sheet |
| IMAX frame | 1.43 : 1 | IMAX 70 mm film |
| CinemaScope | 2.39 : 1 | Anamorphic widescreen film |
Familiar rectangles and their approximate length-to-width ratios. Knowing the ratio and one dimension lets you find the other instantly.
Frequently asked questions
How do I find the width of a rectangle if I only know the area and length?
Divide the area by the length: Width = Area / Length. For example, if the area is 48 cm² and the length is 8 cm, the width is 48 / 8 = 6 cm. This is the most common case when planning rooms, gardens, or material cuts where the total area and one dimension are known.
How do I find the width of a rectangle from its perimeter?
Use the formula: Width = Perimeter / 2 - Length. This follows from the perimeter definition P = 2 x (L + W). Divide both sides by 2 to get P/2 = L + W, then subtract the length. For example, a perimeter of 28 m with a length of 9 m gives Width = 28 / 2 - 9 = 14 - 9 = 5 m.
How do I find the width of a rectangle using the diagonal?
Apply the Pythagorean theorem: Width = sqrt(Diagonal² - Length²). The diagonal of a rectangle splits it into two right-angled triangles where the diagonal is the hypotenuse. For example, a diagonal of 13 cm and a length of 12 cm gives Width = sqrt(169 - 144) = sqrt(25) = 5 cm.
Is width the same as length for a rectangle?
No. By standard convention, length refers to the longer dimension and width to the shorter, though the formulas are symmetric and work regardless of which side you label which. A square is the special case where length and width are equal, giving an aspect ratio of 1:1.
Can width be larger than length?
The formulas have no restriction on which is larger - both are just the two sides of the rectangle. If you enter a width larger than the length, the calculator still works correctly. The aspect ratio displayed always puts the larger dimension first so it stays at or above 1:1.
How do unit conversions affect the result?
All inputs must be in the same unit. If your area is in square feet and your length is in feet, the resulting width will be in feet. If you mix units (say, area in square metres but length in centimetres), you must convert first. Use this calculator's unit selector to keep everything consistent, and note that area units are the square of the length unit (m², cm², ft², etc.).