Math

Rectangle Calculator

Enter the length and width to find the area, perimeter and diagonal.

Your numbers

Your results

Area
Area
—
Perimeter
—
Diagonal
—

Rectangle Calculator by TheCalcTools

How the Rectangle Calculator works

Enter both sides in the same unit.

Area is length times width; perimeter is twice the sum of the sides.

The diagonal uses the Pythagorean theorem.

The formula

A = l × wP = 2(l + w)

Worked example

Using the default values shown in the calculator:

Length12
Width5
  1. Area = 12 × 5 = 60.
  2. Perimeter = 2 × (12 + 5) = 34.
  3. Diagonal = √(144 + 25) = 13.00.

Result:

Area60.00
Perimeter34.00
Diagonal13.0000

Frequently asked questions

Is a square a rectangle?

Yes. A square is a rectangle whose length equals its width.

How do I find a side from the area?

Divide the area by the other side.

Sources and further reading

More in Math · All calculators

This calculator gives estimates for information only. Check important results independently before you rely on them. See our disclaimer.