Find the width of a rectangle from area & length, perimeter & length, diagonal & length, or area & perimeter. Shows all rectangle properties including area, perimeter, diagonal, and aspect ratio wi...
Knowing the width of a rectangle is fundamental to countless real-world tasks — from framing a wall and sizing a garden bed to solving geometry problems and designing user interfaces. But what if you don't have the width directly? This calculator solves that problem by deriving the rectangle's width from any combination of known properties.
Choose from four solution methods: calculate width from area and length, from perimeter and length, from diagonal and length, or even from area and perimeter alone (no individual side length needed). Each method uses a different mathematical relationship, and this tool applies the correct formula automatically so you don't have to remember which equation to use.
Once the width is computed, the calculator displays the complete set of rectangle properties — area, perimeter, diagonal, aspect ratio, and whether the shape is actually a square. Visual comparison bars show the relative proportions of length versus width and how each dimension contributes to the perimeter. A detailed properties table and a formulas reference table let you verify the math or learn the underlying equations.
Preset examples cover all four methods so you can explore instantly. Whether you're a student checking homework, a builder calculating material dimensions, or a designer verifying layout proportions, this tool gives you accurate results with full context in seconds.
Rectangle width is often the unknown dimension in layout, flooring, framing, land measurement, and geometry homework. The difficulty is that the correct formula depends on which pair of properties you already know. This calculator chooses the right relationship automatically and then expands the answer into the full set of rectangle properties so you can validate the result instead of solving width in isolation.
From Area & Length: W = A ÷ L | From Perimeter & Length: W = (P ÷ 2) − L | From Diagonal & Length: W = √(D² − L²) | From Area & Perimeter: solve quadratic where L + W = P/2 and L × W = A
Result: Width = 5 cm, perimeter = 30 cm, diagonal ≈ 11.1803 cm
Given a rectangle with area = 50 cm² and length = 10 cm: Width = 50 ÷ 10 = 5 cm. Then: Perimeter = 2(10 + 5) = 30 cm. Diagonal = √(10² + 5²) = √125 ≈ 11.1803 cm. Aspect ratio = 10 ÷ 5 = 2:1.
Rectangle width can be solved from several different pairs of measurements, but each pair leads to a different equation. Area and length give a direct division, perimeter and length give a subtraction from the semi-perimeter, and diagonal and length require the Pythagorean theorem. If only area and perimeter are known, width comes from solving a quadratic relationship between the two side lengths.
Not every pair of numbers can describe a real rectangle. A diagonal must be longer than either side, and a perimeter must be large enough to accommodate the stated length. In the area-and-perimeter case, the discriminant decides whether a real rectangle exists at all. Those checks matter because they tell you whether the issue is arithmetic or an impossible set of measurements.
Once width is found, it becomes easy to compute the rest of the shape: area, perimeter, diagonal, and aspect ratio. That broader view is useful in practice because a design or construction problem rarely ends at one missing dimension. Comparing width against length also helps you catch unreasonable proportions, especially when a near-square result or a very long, narrow rectangle would change how the object is used.
Divide the area by the length: Width = Area ÷ Length. For example, if the area is 60 cm² and the length is 12 cm, the width is 60 ÷ 12 = 5 cm.
Use the formula Width = (Perimeter ÷ 2) − Length. For example, with a perimeter of 34 and length of 12: Width = (34 ÷ 2) − 12 = 17 − 12 = 5.
Yes. Use the Pythagorean theorem: Width = √(Diagonal² − Length²). The diagonal must be greater than the length for a valid result.
The calculator solves the quadratic equation where L + W = Perimeter/2 and L × W = Area. It finds both dimensions simultaneously.
The aspect ratio is the length divided by the width (L:W). A ratio of 2:1 means the length is twice the width. A ratio of 1:1 means it is a square.
Your inputs may be geometrically impossible. For example, a perimeter of 10 with a length of 8 gives a negative width (10/2 − 8 = −3), which is not valid. Double-check that your values describe a valid rectangle.