Skip to content
Verify InstituteA little more certainty.No account required
Methods and assumptions documented

Perimeter Calculator

Calculate the perimeter of squares, rectangles, triangles, circles, regular polygons, any four-sided shape, semicircles and ellipses.

Enter quantities in the labelled units. Unit changes keep the entered number; calculate again.

Loading calculator… If this message remains, reload the page.

a = ab = bc = cSelected geometry and live inputs
The diagram highlights the dimensions used by this calculator. It is a visual guide and is not to scale.

Assumptions

Triangle and four-sided inputs are checked so the sides can actually close.

Calculations run on your device. Input values are not placed in the URL or sent to analytics.

HOW THE CALCULATION WORKS

Transparent perimeter calculator method

  1. Rectangle = 2 × (length + width); triangle = a + b + c; regular polygon = sides × side length.
  2. Circle = 2πr; semicircle = πr + 2r (curved edge plus diameter).
  3. Ellipse ≈ π(a + b)(1 + 3h ÷ (10 + √(4 − 3h))), h = ((a − b) ÷ (a + b))² (Ramanujan, float).

Worked example

A 12 × 8 rectangle has a perimeter of 40.

Defaults and assumptions

Limitations

Precision and rounding

Supported arithmetic uses exact fractions. Formulas involving logarithms, trigonometry, statistical functions or simulations can use numerical approximations; storing an approximation as a fraction does not make it exact. Decimal display rounds to at most 6 fractional places, so very small values can appear as approximately zero. Time displays round to the nearest second where shown. Whole-item rounding follows the stated formula.

Sources

Use the assumptions, worked example and sources to interpret your result. Estimates do not replace professional advice.

How to use this calculator

  1. Enter the measured quantities in the labelled units; inspect any named customer defaults.
  2. Check the units, dates and selected options. Where a tool asks for a rate, price or product specification, use a value appropriate to your situation.
  3. Calculate and compare the result, exact details, assumptions and worked example.

Common questions

Are the example values recommendations?

No. They demonstrate the arithmetic. Use measurements, product labels and supplier information appropriate to your situation.

What happens when I change units?

The entered number stays the same and is reinterpreted in the new unit. The old result is cleared; calculate again.

Are inputs sent to a server?

No. Calculations stay in your browser. A calculation record is downloaded only when you request it.

Report a problem or suggest a calculator

Found a confusing result, a missing option, or an idea for a new calculator? Send it privately to the site owner.

Opening the form loads Cloudflare Turnstile, a spam check that processes connection and device information. Privacy details.

Related tools