Find rectangle dimensions from area and perimeter, area and one side, perimeter and one side, or diagonal and one side. Shows length, width, area, perimeter, diagonal, and aspect ratio.
Rectangles are one of the most common shapes in everyday life — from screens and paper sizes to rooms and fields. But often you do not know both dimensions directly. Instead, you may know the area and perimeter of a room, the diagonal and one wall length, or a side and the total fencing needed. Our Dimensions of a Rectangle Calculator works backward from five different combinations of known values to find the missing length and width. Once both sides are determined, the tool instantly computes area, perimeter, diagonal (via the Pythagorean theorem), and the aspect ratio so you can compare proportions at a glance. The math behind the area-and-perimeter mode involves solving a quadratic equation — the semi-perimeter gives the sum of the sides while the area gives their product, producing a pair of values from the quadratic formula. The diagonal-and-side mode applies Pythagoras directly. A visual bar chart shows how length, width, and diagonal compare, and a reference table of well-known rectangle sizes (Letter, A4, HD 16:9, golden rectangle, credit card) puts your result in real-world context. Whether you are laying out a garden, sizing a display, or solving geometry homework, this calculator handles the algebra instantly and accurately.
This calculator is useful whenever the sides of a rectangle are not measured directly, but can be inferred from other known constraints. That happens in room planning, sign design, screen sizing, fencing problems, printing layouts, and homework problems where you are given area plus perimeter, one side plus the diagonal, or another mixed pair of values.
It is especially practical because it gathers both the reverse-solved dimensions and the follow-up properties in one place. Once length and width are found, you can immediately confirm the area, perimeter, diagonal, and aspect ratio, then compare the proportions against familiar reference rectangles such as Letter, A4, HD 16:9, or a square.
From Area + Perimeter: s = P/2; L, W = (s ± √(s² − 4A)) / 2. From Area + Side: other = A / side. From Perimeter + Side: other = P/2 − side. From Diagonal + Side: other = √(d² − side²). Diagonal: d = √(L² + W²). Aspect ratio = L / W.
Result: Length = 6 cm, width = 4 cm, diagonal ≈ 7.21 cm
Given Area = 24 cm² and Perimeter = 20 cm: s = 10, disc = 100 − 96 = 4, L = (10+2)/2 = 6 cm, W = (10−2)/2 = 4 cm. Diagonal = √(36+16) = √52 ≈ 7.21 cm. Aspect ratio ≈ 1.50:1.
Many rectangle problems are inverse problems: the final dimensions are unknown, but enough related information is available to recover them. Area plus one side is the simplest case because the other side is just area divided by side. Diagonal plus one side uses the Pythagorean theorem. Area plus perimeter is the most algebra-heavy mode because the missing sides come from a quadratic relationship involving both the sum and the product of the sides.
Reverse rectangle calculations appear in floor plans, banner and poster design, enclosure sizing, monitor dimensions, garden bed planning, and material cutting. If you know the perimeter of a fenced area and one side, you can recover the other side immediately. If you know a screen diagonal and one measured edge, you can estimate the missing dimension and compare the shape to familiar aspect ratios.
The aspect ratio helps you understand shape, not just size. A 1:1 ratio means a square, while larger ratios indicate a longer, narrower rectangle. Some input pairs are impossible, and the calculator guards against those cases. For example, area can be too large for a given perimeter, or a known side can be longer than the diagonal. Those failures are mathematically useful because they tell you the original measurements are inconsistent.
No — infinitely many rectangles share the same area. You need a second constraint such as perimeter, one side, or the diagonal.
The diagonal alone is not enough either. You need one side (or the aspect ratio) to uniquely determine both dimensions.
By the Pythagorean theorem: d = √(L² + W²). This is the straight-line distance between opposite corners.
Aspect ratio is the ratio of the longer side to the shorter side. Common examples: 16:9 for HD screens, √2:1 for A-series paper.
If P²/4 < 4A, the quadratic has no real solution — the given area is too large for the given perimeter. The maximum area for a given perimeter is a square.
Yes — a square is a special rectangle where length equals width. The calculator will return equal sides and an aspect ratio of 1:1.