Home · Math · Plane Geometry · Perimeter of a Rectangle Calculator

Perimeter of a Rectangle Calculator

Perimeter of a rectangle from length and width, with its area and diagonal.

Your figures

Example result — edit the figures to make it yours

20

Perimeter

Area24.00
Diagonal7.21

6 4 Rectangle · 6 × 4
The shape for your figures, drawn and labelled from the same values the result is computed from — change a figure and the drawing follows.

What this calculator does

Perimeter of a rectangle from length and width, with its area and diagonal. Every figure on this page is computed from the formula or definition stated below, with no hidden rounding steps, and the method notes name the exact convention where more than one exists.

The formula and method

P = 2(L + W)

Opposite sides of a rectangle are equal, so the perimeter is twice the sum of length and width. Area is L x W and the diagonal sqrt(L^2 + W^2).

Length and width in the same unit give the perimeter in that unit.

Worked example

With the example inputs this page opens with (length 6, width 4), the result is 20.00 — perimeter. Change any figure and the result updates with the same formula.

Quick reference

Quick reference — varying length
LengthPerimeter
314.00
4.817.60
620.00
7.523.00
926.00
1232.00

Computed with the same formulas as the calculator above — enter any values there for figures beyond this table.

Common questions

How does the Perimeter of a Rectangle Calculator work?

Perimeter of a rectangle from length and width, with its area and diagonal. Length - Width -> Perimeter. The result updates as you type, and the formula and method on this page state the exact definitions used, so you can reproduce the calculation by hand.

What inputs does the Perimeter of a Rectangle Calculator need?

Length - Width -> Perimeter. Invalid entries — such as a zero denominator, an out-of-range value or a malformed list — produce a plain-language message instead of a misleading number.

Is the Perimeter of a Rectangle Calculator free to use?

Yes. It runs entirely in your browser with no sign-up, and the same calculator is available as an embeddable widget via the Embed button, so it can be placed on another site with its calculation intact.