Geometry

How to Find Missing Rectangle Sides From Area or Diagonal

Find missing rectangle sides from area, perimeter or diagonal. Work through supported measurement pairs, impossible inputs and checks for a valid answer. This guide explains the reasoning, not just the keystrokes.

Published · Updated · 6 min read

Ask whether the known measurements determine the rectangle

Finding a missing rectangle side requires enough information to fix its dimensions. If one side and the area are known, divide area by that side. If one side and the diagonal are known, use the Pythagorean theorem. Area alone is insufficient: 48 square units could describe sides 8 and 6, 12 and 4, or many other pairs. A calculator should not silently choose a square to fill that gap.

The Rectangle Calculator supports six specific pairs: both sides; one side with area, perimeter or diagonal; area with perimeter; and area with diagonal. Choose the pair that matches your source information. Changing this mode loads example values, so replace them with the intended measurements before using the result. This guide follows a hypothetical 8 cm by 6 cm rectangle to make several independent recovery routes easy to compare.

Write down the three relationships first

For adjacent side lengths a and b, area A = ab, perimeter P = 2(a + b), and diagonal d = √(a² + b²). The diagonal joins opposite corners, not neighboring ones. A rectangle's right angles make the Pythagorean relationship applicable. In the running example, A = 48 cm², P = 28 cm and d = 10 cm. These measurements describe the same rectangle rather than three unrelated sample answers.

All length measurements must use the same unit, and area must use its corresponding square unit. A side of 80 mm and an area of 48 cm² cannot be inserted together as the raw numbers 80 and 48. Convert one quantity first. The unit selector labels the existing numbers instead of converting them, so switching from centimeters to millimeters without changing the values changes the physical rectangle being described.

Recover a side from the other side and area or perimeter

With one side a and area A, the missing side is b = A / a. Entering a = 8 cm and A = 48 cm² gives b = 6 cm. Multiplying back, 8 × 6 = 48, checks the original area. Dividing a length by an area reverses the intended operation and produces inverse-length units, which is a quick indication that the equation has been rearranged incorrectly.

With a side and perimeter, halve the perimeter first: a + b = P / 2. Then b = P / 2 − a. For a = 8 cm and P = 28 cm, b = 14 − 8 = 6 cm. A positive rectangle requires P > 2a. If P = 16 cm with a = 8 cm, the recovered width is zero; that is a collapsed shape, not an acceptable rectangle with a very small width.

Recover a side from the diagonal

With known side a and diagonal d, rearrange d² = a² + b² to obtain b = √(d² − a²). For a = 8 cm and d = 10 cm, b = √(100 − 64) = 6 cm. The diagonal must exceed the known side for a positive second side. A diagonal of 7 cm cannot belong to a rectangle that already has an 8 cm side, regardless of the unknown width.

A calculator can evaluate the difference of squares as (d − a)(d + a), reducing some avoidable numerical cancellation. That does not rescue inconsistent measurements or an unresolved difference between nearly equal entered values. If a measured diagonal rounds to the same number as a long side, obtain more appropriate measurement precision rather than forcing a tiny width. The formula is exact for an ideal rectangle; the measurements used in it may not be.

Use area and perimeter to solve for both sides

Let S = P / 2, the sum of the two side lengths. Since a + b = S and ab = A, the sides are roots of x² − Sx + A = 0. Thus the larger side is (S + √(S² − 4A)) / 2 and the smaller side can be found as A divided by the larger side. For A = 48 cm² and P = 28 cm, S = 14 and the square root is 2, producing 8 cm and 6 cm.

Real positive sides require A ≤ P² / 16 when area and perimeter are positive. At P = 28 cm, the maximum area is 49 cm², attained by a 7 cm square. An area of 60 cm² with that perimeter is impossible. This bound follows from requiring a nonnegative discriminant; it is a consistency test, not a suggestion to alter an inconvenient measurement. Investigate the input pair when the check fails.

Use area and diagonal without guessing an orientation

For area A and diagonal d, combine ab = A with a² + b² = d². One route uses a + b = √(d² + 2A) and the difference between sides √(d² − 2A). Half their sum gives the larger side, and half their difference gives the smaller. With A = 48 cm² and d = 10 cm, these intermediate values are 14 cm and 2 cm, again producing 8 cm and 6 cm.

This pair requires A ≤ d² / 2. A 10 cm diagonal therefore allows at most 50 cm², the square case with both sides √50 cm. An area of 60 cm² cannot share that diagonal. The recovered sides are determined only up to swapping: the calculator lists the larger side first for these area-based inverse modes. It cannot know which edge of your drawing should be called horizontal, length or width.

Supported missing-side pairs and their consistency checks
Known inputsRecovery relationshipPositive-rectangle requirement
Side a and area Ab = A / aa > 0, A > 0
Side a and perimeter Pb = P / 2 − aP > 2a
Side a and diagonal db = √(d² − a²)d > a
Area A and perimeter PSolve sum P / 2 and product AA ≤ P² / 16
Area A and diagonal dSolve squares sum d² and product AA ≤ d² / 2

Both known sides form the sixth input mode. All measurements must be positive, in consistent units and within the calculator's supported ranges.

Separate impossible data from insufficient data

An area of 48 cm² alone is insufficient because several positive rectangles fit it. An area of 60 cm² with perimeter 28 cm is inconsistent because no rectangle fits it. Those are different problems and need different remedies. For insufficient data, obtain another independent measurement. For inconsistent data, check transcription, units, rounding and whether the object really has right angles before choosing a calculation mode again.

The interface accepts only its listed pairs; it does not offer perimeter plus diagonal or an arbitrary system of several measurements. Additional measurements can still be used outside the input pair to check the recovered result. If you know area, side and diagonal, for example, solve from side plus area and compare the displayed diagonal with the measured one. Disagreement deserves investigation rather than averaging incompatible dimensions into a seemingly complete rectangle.

Verify the recovered shape before using its dimensions

Recalculate area, perimeter and diagonal from the returned sides. The 8 cm and 6 cm result must reproduce 48 cm², 28 cm and 10 cm respectively. Save the known pair and the units with that check. Rounded answers may reproduce the original values only approximately, so use unrounded internal values when continuing a calculation and round once for the final measurement record or worksheet submission.

This educational tool models ideal geometry, with positive dimensions and finite numerical limits. It does not measure squareness, infer building tolerances or determine how much material to purchase. The area guide helps select a formula for other flat shapes, while the conversion guide handles changes of square units. For a real panel or room, confirm the relevant dimensions and any separate clearance or waste requirements instead of treating a recovered side as an installation specification.

Frequently asked questions

Can I find both rectangle sides from area alone?

No. Many side pairs have the same product. Supply one side, the perimeter or the diagonal in a supported pair.

Why must the diagonal be longer than a known side?

The other side must be positive. The diagonal is the hypotenuse, so d² = a² + b² must exceed a².

Does the larger recovered side have to be horizontal?

No. Area-based inverse modes return the longer side first, but swapping the sides preserves the same rectangle.

Is a square allowed?

Yes. Equal positive sides are valid. For area plus perimeter, the square occurs at A = P² / 16; for area plus diagonal, at A = d² / 2.

Sources

References used to support definitions and interpretation in this guide.

  1. Wolfram MathWorld — Rectangle
  2. OpenStax — Geometric Formulas