Rectangle · Formulas, without the guesswork.
Choose the formula matching the measurement labels below.
Length and width
A = ab; P = 2(a+b); d =
Inputs: Length a (length units); Width b (length units).
Diagonal and one side
b =
Inputs: Diagonal d (length units); Known side a (length units).
Area and one side
b = A/a
Inputs: Area A (square units); Known side a (length units).
Perimeter and one side
b = P/2−a
Inputs: Perimeter P (length units); Known side a (length units).
Reading the notation
Label the adjacent sides before drawing the diagonal. The diagonal is the hypotenuse of a right triangle formed by those sides.
Do not use a sloping distance as a side. A diagonal must exceed the known adjacent side.
Reference reading: Rectangle at Wolfram MathWorld.