Home · Math · Plane Geometry · Perimeter Calculator

Perimeter Calculator

Perimeter of a common plane shape - square, rectangle, circle or triangle - chosen from one menu.

Your figures

Example result — edit the figures to make it yours

20

Perimeter (square)

5 5 Rectangle · 5 × 5
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 common plane shape - square, rectangle, circle or triangle - chosen from one menu. 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

Square 4s; rectangle 2(L + W); circle 2 pi r; triangle a + b + c

Pick the shape, then fill the dimensions it uses: square uses D1=side; rectangle uses D1=length, D2=width; circle uses D1=radius; triangle uses D1, D2, D3 as its three sides. Unused dimensions are ignored.

All dimensions must share one unit. The triangle's sides must satisfy the triangle inequality for a real triangle.

Worked example

With the example inputs this page opens with (dimension 1 5, dimension 2 4, dimension 3 3), the result is 20.00 — perimeter (square). Change any figure and the result updates with the same formula.

Quick reference

Quick reference — varying dimension 1
Dimension 1Perimeter (square)
2.510.00
416.00
520.00
6.2525.00
7.530.00
1040.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 Calculator work?

Perimeter of a common plane shape - square, rectangle, circle or triangle - chosen from one menu. Shape - Dimensions -> 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 Calculator need?

Shape - Dimensions -> 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 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.