Perimeter Calculator

Free Perimeter Calculator — find the perimeter of rectangles, squares, circles, triangles, parallelograms, trapezoids, and regular polygons with instant unit conversion.

891.5K usesUpdated · 2026-04-28Runs locally · zero upload

How to Use Perimeter Calculator

The Perimeter Calculator makes boundary-length measurement simple for any common 2-D shape.

  1. Select a shape — choose rectangle, square, circle, triangle, parallelogram, trapezoid, or regular polygon from the dropdown in the Perimeter Calculator.
  2. Choose an input unit — pick mm, cm, m, km, in, ft, or yd to match your measurements.
  3. Enter the dimensions — the Perimeter Calculator shows only the fields relevant to your chosen shape.
  4. Read the perimeter — results appear instantly. Switch the output unit at any time to see the Perimeter Calculator convert automatically.

The Perimeter Calculator is designed for students checking geometry homework, teachers demonstrating formulas, engineers estimating material lengths, and anyone who needs a quick boundary calculation in daily life.

Formula & Theory — Perimeter Calculator

The Perimeter Calculator applies a different formula for each shape:

Rectangle:      P = 2(l + w)
Square:         P = 4a
Circle:         C = 2πr
Triangle:       P = a + b + c
Parallelogram:  P = 2(a + b)
Trapezoid:      P = a + b + c + d
Regular n-gon:  P = n · s
Symbol Meaning
l, w Length and width of a rectangle
a Side length (square) or any labelled side
r Radius of a circle
n Number of sides in a regular polygon
s Side length of a regular polygon

After computing the perimeter in the input unit, the Perimeter Calculator multiplies by the input-unit-to-metre factor, then divides by the output-unit-to-metre factor to deliver a clean converted result.

Why "perimeter" vs "circumference"?

Strictly speaking, the boundary of a circle is its circumference, while closed polygons have a perimeter. The Perimeter Calculator uses "perimeter" as an umbrella term for all shapes but applies the exact circumference formula internally for circles.

Use Cases for Perimeter Calculator

The Perimeter Calculator is practical across many fields:

  • Fencing and landscaping — enter yard dimensions to estimate how much fencing material you need, using the Perimeter Calculator with metre or foot units.
  • Education — teachers can demonstrate perimeter formulas live in the classroom with the Perimeter Calculator.
  • Sewing and crafting — calculate the edge length of fabric pieces in cm or inches.
  • Construction — estimate trim, baseboard, or frame lengths for rectangular rooms with the Perimeter Calculator.
  • Road and track design — use the circle option of the Perimeter Calculator to find the circumference of a circular track.
  • Regular polygon tiling — the Perimeter Calculator computes total edge length for hexagonal, octagonal, or other regular tile arrangements.

From a simple square garden to a complex regular polygon floor pattern, the Perimeter Calculator delivers fast, accurate perimeter results entirely in your browser.

Frequently asked questions about Perimeter Calculator

Which shapes does the Perimeter Calculator support?

The Perimeter Calculator supports rectangles, squares, circles, triangles, parallelograms, trapezoids, and regular polygons. Select your shape from the dropdown and enter the required dimensions.

How does the Perimeter Calculator handle unit conversion?

Choose an input unit (e.g. cm) and a separate output unit (e.g. m). The Perimeter Calculator converts through metres internally so the result is always accurate regardless of the unit combination.

What formula does the Perimeter Calculator use for a circle?

The Perimeter Calculator uses C = 2πr, where r is the radius. This is the exact circumference formula for a perfect circle.

Can the Perimeter Calculator handle irregular polygons?

The Perimeter Calculator currently supports regular polygons (equal sides). For irregular polygons, enter each side individually using the triangle or trapezoid option, or sum the sides manually.

Is my data stored?

No. All calculations happen in your browser; nothing is sent to a server.