AZCalculate logo

Mathematics

Perimeter Calculator

Use this perimeter calculator to find the outside boundary length of common shapes and convert the result into metres, feet, or the selected unit.

perimetercircumferencegeometryperimeter calculatorcircumference calculatorrectangle perimeter

Calculator

Calculate instantly

P = 2(l + w)
The calculator switches formulas by shape and converts the final boundary length into common units.
  1. Each shape has its own perimeter rule.
  2. The calculation uses the dimensions visible for the selected shape.
  3. The selected unit result is normalized to metres and feet for comparison.

Inputs

Shape and dimensions

Choose a shape, enter its dimensions, and convert the perimeter into common length units.

Breakdown

Clear result breakdown

Review the values that explain the primary result.

Selected shape

Rectangle

Perimeter in selected unit

40 m

Perimeter in metres

40 m

Perimeter in feet

131.2336 ft

Visual comparison

Perimeter conversion

The same boundary length is shown in selected units, metres, and feet.

The same boundary length is shown in selected units, metres, and feet.

Practical guidance

Insights for this scenario

Perimeter is not area

Perimeter measures distance around the outside. Area measures surface coverage inside the shape.

Triangle sides are checked

A triangle must satisfy the triangle inequality before the perimeter is meaningful.

Circle perimeter is circumference

For circles, perimeter is normally called circumference and can be calculated from radius or diameter.

Step-by-step solution

Follow the calculation path from known values to final result.

  1. 1

    Choose the correct shape formula

    Each shape has its own perimeter rule.

    P = 2(l + w)

  2. 2

    Add or multiply the boundary dimensions

    The calculation uses the dimensions visible for the selected shape.

    40 m

  3. 3

    Convert units

    The selected unit result is normalized to metres and feet for comparison.

    40 m

Formula explorer

P = 2(l + w)

The calculator switches formulas by shape and converts the final boundary length into common units.

l(selected length unit)
Length: Longer rectangle side.
w(selected length unit)
Width: Shorter rectangle side.
r(selected length unit)
Radius: Distance from circle centre to edge.
n
Number of sides: Side count for a regular polygon.

Assumptions and references

Units

  • m

Assumptions

  • All entered dimensions use the selected unit.
  • Shapes are ideal geometric models.
  • Regular polygon sides are equal in length.

Limitations

  • Confusing perimeter with area.
  • Using diameter in a radius formula.
  • Entering triangle sides that cannot form a triangle.
  • Results depend on the accuracy of the values entered.
  • Rounding may make displayed values slightly different from exact intermediate calculations.

Worked examples

Easy

Rectangle perimeter

Known values

  • Length: 12 m
  • Width: 8 m

Calculation

  • 1. Add length and width.
  • 2. Double the sum.
  • 3. 2 x (12 + 8) = 40.

Result and meaning

The perimeter is 40 m.

Learning guide

Understand the calculation

Concepts

  • Perimeter is the outside boundary length.
  • Circle perimeter is circumference.
  • Regular polygon perimeter is number of sides times side length.

Tips

  • Use the same unit for all dimensions.
  • Check triangle side lengths before calculating.
  • Use area calculators when you need surface coverage.

Common mistakes

  • Confusing perimeter with area.
  • Using diameter in the radius formula.
  • Entering triangle side lengths that cannot form a triangle.

Educational notes

  • The calculator switches formulas by shape, validates dimensions such as triangle side lengths, and converts the final boundary length into common units.
  • Steps help you see whether the formula, substitutions, and arithmetic all match the problem.
  • Use the calculator mode that matches the problem and keep values consistent.
  • Use it as an estimate and compare it with the formula, assumptions, and examples shown on the page.
  • Real-world inputs can include local rules, changing rates, measurement tolerances, and conditions outside the core formula.

Glossary

Length
Longer rectangle side.
Width
Shorter rectangle side.
Radius
Distance from circle centre to edge.
Number of sides
Side count for a regular polygon.

Trust panel

Calculator quality and review

Reviewed by
AZCalculate mathematics education review
Review date
2026-06-25
References
2
Trust score
94/100
Formula verified
Yes
Risk level
low
Category
Mathematics
Calculator version
2.1
Formula version
2.1

Sign in to save this calculation and access it later.

Trust note

Clear calculation guidance

This calculator follows the shown formula and is intended for everyday reference, learning, and quick checks.

Low risk contextDifficulty: easyConfidence estimate: 94/100Reviewed 2026-06-25Reviewed by: AZCalculate mathematics education reviewCalculator v2.1 / Formula v2.12 sources listed

Formula and Explanation

Perimeter = total boundary length

The calculator switches formulas by shape, validates dimensions such as triangle side lengths, and converts the final boundary length into common units.

Variable descriptions

l(selected length unit)
Length: Longer rectangle side.
w(selected length unit)
Width: Shorter rectangle side.
r(selected length unit)
Radius: Distance from circle centre to edge.
n
Number of sides: Side count for a regular polygon.

Formula Notes

  • Rectangle perimeter is 2(l + w).
  • Circle perimeter is circumference.
  • Triangle side lengths must satisfy the triangle inequality.

Common uses

  • Estimate borders
  • Measure outlines
  • Study geometry
  • Measure borders or fencing
  • Check triangle side lengths

Assumptions

What this calculation assumes

  • All entered dimensions use the selected unit.
  • Shapes are ideal geometric models.
  • Regular polygon sides are equal in length.

Avoid mistakes

Quick checks before you rely on the result

  • Confusing perimeter with area.
  • Using diameter in a radius formula.
  • Entering triangle sides that cannot form a triangle.

Step-by-Step Explanation

Follow the reasoning, not only the final number.

  1. 1

    Set up the calculation

    Choose the shape.

    Starting with clearly defined values and units prevents the most common calculation errors.

  2. 2

    Work through step 2

    Enter the dimensions in the selected unit.

    This step transforms the known values into the form required by the formula.

  3. 3

    Work through step 3

    Apply the shape's perimeter formula.

    This step transforms the known values into the form required by the formula.

  4. 4

    Work through step 4

    Validate triangle or polygon rules where needed.

    This step transforms the known values into the form required by the formula.

  5. 5

    Interpret the result

    Convert the result into metres and feet for comparison.

    Compare the result with your real-world goal, such as estimate borders.

Worked example

Rectangle perimeter example

Known values

  • Length: 12 m
  • Width: 8 m

Calculation

  1. 1. Add length and width: 12 + 8 = 20.
  2. 2. Double the sum.
  3. 3. 2 x 20 = 40.

Result and meaning

The rectangle perimeter is 40 m.

Calculator guide

About this Perimeter Calculator

Calculate perimeter or circumference for rectangles, triangles, and circles. This page includes an interactive calculator, concise formula notes, worked examples, FAQs, related calculators, and practical guidance you can revisit whenever needed.

References

Sources used for this calculator

Found something that does not look right?

We work hard to keep every calculator accurate and useful. If you notice a calculation error, missing option, or unclear explanation, please let us know so we can review and correct it promptly.

Report an Issue

Calculator usage

Usage information loads after the calculator is ready.

FAQ

Perimeter Calculator FAQs

How does the perimeter calculator work?+

It uses Perimeter = sum of side lengths and calculates the result from the values you enter.

Can I copy or print the result?+

Yes. AZCalculate calculator pages include copy, share, and print actions.

What is perimeter?+

Perimeter is the total distance around the outside boundary of a shape.

Is perimeter the same as area?+

No. Perimeter measures boundary length, while area measures surface coverage inside the shape.

How do I calculate rectangle perimeter?+

Add length and width, then double the sum: P = 2(l + w).

How do I calculate triangle perimeter?+

Add the three side lengths: P = a + b + c. The side lengths must be able to form a valid triangle.

What is the perimeter of a circle called?+

For a circle, perimeter is usually called circumference. Use C = 2pi r from radius or C = pi d from diameter.

Can I calculate regular polygon perimeter?+

Yes. Multiply the number of sides by the side length: P = n x s.

Can I switch units?+

Yes. Enter dimensions in millimetres, centimetres, metres, kilometres, inches, feet, or yards and compare converted results.

Why is my triangle rejected?+

A valid triangle requires each pair of sides to be longer than the remaining side. This is called the triangle inequality.

Related tools

Related Calculators

Continue with closely related tools selected from the same subject and matching calculation needs.

Mathematics

Area Calculator

Calculate rectangle, triangle, and circle area from common dimensions.

Calculate rectangle area, perimeter, and diagonal.

Calculate triangle area, perimeter, and semi-perimeter from side lengths.

Calculate circle area, circumference, and diameter from radius.

Calculate rectangular prism, cylinder, cone, and sphere volume.

Calculate surface area for boxes, cylinders, and spheres.

Calculate circle area and circumference from radius.

Explore all Mathematics calculators
Perimeter Calculator - Rectangle, Triangle, Circle and Polygon | AZCalculate