Calculator and Converter

Rectangle calculator

Enter the length and width of a rectangle, and this tool calculates its area, perimeter and diagonal.

Results

Enter your values to see the result.

About this tool

It also shows the ratio of length to width. It is useful for rooms, boards, screens, fields, tabletops and any other flat shape with four right angles, and the results are shown in the unit you use.

How it is calculated
area = length × width; perimeter = 2 × (length + width); diagonal = √(length² + width²)
Worked example
With Length: 8; Width: 6, the result is: Area: 48; Perimeter: 28; Diagonal: 10; Length ÷ width: 1.33.
Good to know
The area is length times width, the perimeter is twice the sum of the length and the width, and the diagonal comes from the Pythagorean theorem. The results use the same unit as your input. A square is a rectangle whose length and width are equal.

Frequently asked questions

How do I find the diagonal of a rectangle?

Square the length and the width, add them and take the square root. The tool does this and shows the result.

Is a square also a rectangle?

Yes. A square has four right angles like any rectangle, and its four sides are equal. You can use this tool for it.

What unit is the area in?

It is the square of the unit you enter. If the sides are in metres, the area is in square metres.

Related calculators