Rectangle Perimeter Area
Calculator

Inputs

Area
40

Results

Area
40
Perimeter
26
Diagonal
9.433981

Results

Area40
Perimeter26
Diagonal9.433981

formula-map diagram

Area
40
Perimeter
26
Diagonal
9.433981

Formula map

Formula

A = l × w, P = 2 × (l + w)

= 40

Note

Simplified model: these are exact results of the stated idealised formulas, assuming perfect shapes and exact inputs. Real measurements carry error, and the ellipse perimeter is a Ramanujan approximation. Verify independently before relying on these figures.

Example: with the default inputs, calculator.mathematics.rect_area is 40.

More in Mathematics

See all →

Frequently asked questions

How do I find the area and perimeter of a rectangle?+

Enter the length and the width. The calculator computes the area as length × width and the perimeter as 2 × (length + width).

Does this calculator also give the diagonal?+

Yes. It also returns the diagonal, calculated as the square root of length² + width².

What units should I use?+

Any unit, as long as length and width use the same one. The perimeter and diagonal come out in that unit, and the area in that unit squared.

Can I enter a square?+

Yes. A square is a rectangle with equal sides, so enter the same value for length and width.

Can the length or width be zero or negative?+

No. Both values must be greater than zero, so the calculator keeps them above a very small positive minimum.