Rectangle Calculator

Free foreverNo sign-upPrivate · runs in your browser

What is the Rectangle Calculator?

The rectangle calculator finds area, perimeter and diagonal from the two side lengths. It is handy for rooms, plots and sheets of material.

How to use the Rectangle tool

  1. Enter Length and Width.
  2. The result updates instantly as you type, or press Calculate.
  3. Use Try an example to see how it works, and Reset to start again.

Formula

Area = length × width. Perimeter = 2 × (length + width). Diagonal = √(length² + width²).

Worked example

With length 12, width 8, the area comes to 96. Perimeter: 40; Diagonal: 14.4222.

Frequently asked questions

What is the difference between area and perimeter?

Area is the space inside the rectangle. Perimeter is the distance around its edge.

How is the diagonal found?

With the Pythagorean theorem applied to the length and width.

Rectangle area, perimeter and diagonal

Area = l × w, perimeter = 2(l + w), diagonal = √(l² + w²).

LengthWidthAreaPerimeterDiagonal
236103.606
3412145
4520186.403
5525207.071
512603413
68482810
8151204617
10202006022.361
12161925620
25401,00013047.17

FAQ

How do I find the diagonal of a rectangle? Use the Pythagorean theorem: √(length² + width²).

Does a square work here? Yes, set length and width equal.

Related calculators

Checked by Calcovate · Formula tested against worked examples · Updated 7 Nov 2026 · How we check our calculators.