Skip to content
Advertisement
Hosinger Special Offer

Perimeter Calculator

Perimeter Calculator from Gizcalc helps you estimate results quickly within the Math & Statistics category.

  • Instant results
  • Charts & tables
  • Save & compare
  • Private – runs in your browser
Perimeter —

Sample inputs are pre-filled so you can see a result quickly. Results are estimates only and may not be accurate because prices, interest rates, taxes, fees, fuel costs, tariffs, market returns, medical costs, and local rules can change. Please verify current values before making financial, tax, legal, medical, or business decisions.

Formula used

Rectangle P = 2(l + w) | Circle C = 2πr

  • Square = 4 × side
  • Triangle = a + b + c
  • Regular polygon = n × side
  • Regular polygon area = n × side² ÷ (4 × tan(180° ÷ n))

About the Perimeter Calculator

What is the Perimeter Calculator?

The perimeter is the total length of the boundary of a flat shape — the distance you would walk going once around it. For a circle it is called the circumference. You need the perimeter to buy fencing, skirting boards, edging, lace or wire.

Choose a shape and enter its measurements. For a triangle, all three sides are required and are checked to make sure they can actually form a triangle. For a regular polygon (all sides equal), enter the side length and the number of sides. The area is shown alongside.

How to use the Perimeter Calculator

  1. Shape — each option lists which measurements it uses. (sample: Rectangle)
  2. Side a / Length / Radius (sample: 12)
  3. Side b / Width (sample: 8)
  4. Side c (triangle only) (sample: 10)
  5. Number of Sides (regular polygon) — used only for a regular polygon (3 or more). (sample: 6)
  6. Press Calculate Perimeter (results also refresh as you type). The result card shows the Perimeter, along with Area.

Formula used

Rectangle P = 2(l + w) | Circle C = 2πr

  • Square = 4 × side
  • Triangle = a + b + c
  • Regular polygon = n × side
  • Regular polygon area = n × side² ÷ (4 × tan(180° ÷ n))

The triangle's area uses Heron's formula, so no height is needed.

Worked example

These are the sample values already filled in the calculator above, and the result it returns for them:

InputSample value
ShapeRectangle
Side a / Length / Radius12
Side b / Width8
Side c (triangle only)10
Number of Sides (regular polygon)6
ResultValue
Perimeter40 units
Area96 sq units

Tips for using the Perimeter Calculator

  • Measure all sides in the same unit before adding them.
  • For fencing, subtract the width of any gates and add a little extra for posts and overlaps.
  • Of all shapes with the same perimeter, a circle encloses the most area.

Frequently asked questions

Add the length and width and double the result: P = 2(l + w). A 12 m × 8 m plot has a perimeter of 40 m.

C = 2πr = 2 × π × 7 ≈ 43.98 cm.

6 × 5 = 30 cm.

In any triangle each side must be shorter than the other two combined (the triangle inequality). Sides of 2, 3 and 6 cannot meet, because 2 + 3 is less than 6.