# Rectangle calculation

For a rectangle with sides a and b, the following formulas hold:

Area =
a*b

Perimeter = 2*a+2*b

Diagonal = square root of a²+b²

A rectangle has those typical properties:

It's got four sides and four corners.

The sides are perpendicular to each other, i.e. they inclose a 90°-angle.

Two opposing sides are parallel.

Opposing sides have the same length.

The yellow line (called diagonal) has the length square root of (a^2+b^2).

If you want to see some examples, just enter your example above.

For further information, just move the mouse over one of the words above. The corresponding piece of the rectangle will then be marked.

Side a Side b

Diagonal d

Area

Perimeter