๐Ÿ“ Math & Algebra

Perimeter Calculator

Use this free perimeter calculator to calculate the distance around six common shapes. Enter your measurements to see the formula and results in metres, feet, centimetres and inches.

6 shapes
All common forms
4 units
m ยท ft ยท cm ยท in
Private
Runs in your browser
๐Ÿ“
Perimeter Calculator

Pick a shape, enter your measurements, and get the perimeter with a full unit conversion breakdown.

โš ๏ธ Please fill in all fields with positive numbers.
Perimeter
โ€”
Metres
โ€”
Feet
โ€”
Centimetres
โ€”
Inches
โ€”

What Is Perimeter and Why Does It Matter?

Perimeter is the total distance around the outside boundary of a two-dimensional shape. Think of it as the length of a fence you'd need to enclose a yard, the amount of edging to border a garden bed, or the length of skirting board to run around a room. Unlike area, which measures the space inside a shape, perimeter is purely about the outside edge โ€” and it's always measured in standard length units (metres, feet, centimetres) rather than square units.

Understanding perimeter is one of the most practical geometry skills there is. Whether you're ordering materials for a home renovation, planning a landscaping project, or solving a maths problem, getting the perimeter right means you buy exactly what you need โ€” not too much, not too little. This perimeter calculator handles six of the most common shapes and gives you the result in four units simultaneously so you never have to convert manually.

Perimeter Formulas for Every Common Shape

Different shapes use different perimeter formulas. For straight-sided shapes, you simply add up all the side lengths. For circles, the perimeter (called the circumference) involves ฯ€. Here are the formulas this calculator uses:

Rectangle: P = 2 ร— (length + width) Square: P = 4 ร— side Circle: P = 2 ร— ฯ€ ร— radius โ‰ˆ 6.2832 ร— radius Triangle: P = side a + side b + side c Parallelogram: P = 2 ร— (side a + side b) Trapezoid: P = side a + side b + side c + side d

For a rectangle 10m long and 4m wide: P = 2 ร— (10 + 4) = 2 ร— 14 = 28 metres. For a square with 6m sides: P = 4 ร— 6 = 24 metres. For a circle with radius 5m: P = 2 ร— ฯ€ ร— 5 โ‰ˆ 31.42 metres. Enter your own measurements in the calculator above to get an instant result with a full formula breakdown.

Real-World Worked Examples

Example 1 โ€” Fencing a rectangular backyard

Your backyard is 15 metres long and 8 metres wide. You want to fence all four sides. Using the rectangle formula: P = 2 ร— (15 + 8) = 2 ร— 23 = 46 metres of fencing. Add 5โ€“10% for gate openings and overlaps, so you'd order about 50โ€“51 metres.

Example 2 โ€” Skirting board for a lounge room

Your lounge room is 5.5m ร— 4.2m. Perimeter = 2 ร— (5.5 + 4.2) = 2 ร— 9.7 = 19.4 metres. You'd subtract the width of any doorways (say, two 0.9m doors = 1.8m), leaving 17.6m of skirting board to buy. Add 10% for cuts and joins: order about 19.4 metres.

Example 3 โ€” Garden edging for a circular bed

Your circular garden bed has a radius of 2 metres. Circumference = 2 ร— ฯ€ ร— 2 โ‰ˆ 12.57 metres of edging. Round up to 13 metres to account for joining the ends.

๐Ÿ’ก Always add a buffer: for fencing and edging, add 5โ€“10% to your perimeter for gates, joins, and offcuts. For skirting board, subtract doorway widths first, then add 10% for cuts.

How to Use This Perimeter Calculator

Using the calculator is straightforward. First, click the shape that matches what you're measuring โ€” rectangle, square, circle, triangle, parallelogram, or trapezoid. Next, select your preferred input unit from the dropdown (metres, centimetres, feet, inches, or yards). Then enter the required measurements โ€” length and width for a rectangle, all three sides for a triangle, and so on. Hit Calculate and you'll instantly see the perimeter in your input unit, plus automatic conversions to metres, feet, centimetres, and inches, along with the formula showing exactly how the result was reached.

For shapes not listed โ€” like an irregular polygon โ€” break it into the shapes above, calculate each section's perimeter contribution (the sides that form the boundary), and add them manually.

Perimeter vs Area โ€” Understanding the Difference

This is one of the most common points of confusion in basic geometry. Perimeter is the distance around the outside of a shape โ€” it's a one-dimensional measurement in linear units (m, ft, cm). Area is the amount of flat space inside the shape โ€” it's a two-dimensional measurement in square units (mยฒ, ftยฒ, cmยฒ).

A classic example that shows why they're different: a rectangle 1m ร— 9m and a rectangle 3m ร— 3m have the same perimeter (20m each) but very different areas (9mยฒ vs 9mยฒ โ€” actually the same in this case, but try 1m ร— 8m vs 4m ร— 4m: perimeter 18m each, areas 8mยฒ vs 16mยฒ). Always think about what you actually need โ€” the boundary or the space โ€” before choosing which formula to use. Use this calculator for the boundary; use the area calculator for the space inside.

Unit Conversions for Perimeter

This calculator automatically converts your perimeter result into four units. The conversion factors for length are: 1 metre = 100 centimetres = 3.2808 feet = 39.3701 inches = 1.0936 yards. If you measure your room in feet and need to order skirting board sold by the metre, the calculator handles that conversion instantly โ€” no manual maths required.

According to NIST's guide to SI units, the metre is the internationally recognised base unit of length. In Australia and the UK, metres and centimetres are standard for construction. In the US, feet and inches dominate. This calculator works equally well in all systems.

Perimeter in Construction and Home Improvement

In construction and home renovation, perimeter measurements come up constantly. Here are the most common uses:

  • Fencing: Add up the perimeter of your block or yard to estimate fencing materials. Don't forget to subtract gate widths.
  • Skirting boards and baseboards: Measure the perimeter of each room, subtract door openings, and add 10% for waste and joins.
  • Coving and cornicing: Same as skirting board โ€” perimeter of the ceiling line, less any gaps for light fittings or beams.
  • Garden edging: Measure the perimeter of each garden bed. Use the circle mode for round beds, rectangle for straight-sided ones.
  • Decking and retaining walls: Calculate the outside perimeter to estimate the length of fascia boards or capping materials.
  • Swimming pools: The perimeter of a rectangular pool tells you how much coping, tiling, or fencing you need around the edge.
  • Picture and mirror frames: The perimeter determines how much frame material to buy. Add 10โ€“15% for mitre cut waste.

Perimeter of Irregular Shapes

Not all shapes are neat rectangles or perfect circles. For L-shaped yards, oddly shaped rooms, or irregular garden beds, the approach is to walk the entire boundary and either measure each straight section individually or break the shape into standard shapes. Add up the lengths of all outer edges โ€” that total is your perimeter. For curves, you'll need a flexible measuring tape. This calculator handles the six most common regular shapes; for truly irregular shapes, measure each side separately and add them.

Frequently Asked Questions

How do I calculate the perimeter of a rectangle?
P = 2 ร— (length + width). For a rectangle 8m long and 5m wide: P = 2 ร— (8 + 5) = 26m. Enter the dimensions in rectangle mode above for an instant result with a full unit conversion breakdown.
What is the perimeter of a circle called?
The perimeter of a circle is called the circumference. It equals 2 ร— ฯ€ ร— radius, or ฯ€ ร— diameter. For a circle with radius 7m: 2 ร— ฯ€ ร— 7 โ‰ˆ 43.98m. Use the circle mode above, or our dedicated circumference calculator for more options including arc length.
How do I calculate the perimeter of a triangle?
Add all three side lengths: P = a + b + c. For a triangle with sides 5m, 7m, and 6m: P = 5 + 7 + 6 = 18m. Enter each side in triangle mode above.
What is the difference between perimeter and area?
Perimeter is the distance around the outside of a shape, measured in linear units (m, ft). Area is the space inside the shape, measured in square units (mยฒ, ftยฒ). Use perimeter for fencing, edging, and borders โ€” use area for flooring, painting, and coverage calculations.
How do I calculate the perimeter of an irregular shape?
Measure every side of the shape individually and add them together. For curved sections, use a flexible tape measure along the curve. For L-shaped or complex shapes, you can also break the shape into standard rectangles and triangles, calculate each, and add only the outer boundary sides.
How much fencing do I need for a rectangular yard?
Calculate the perimeter using P = 2 ร— (length + width), then subtract the width of any gates, and add 5โ€“10% for overlaps and joins. For example, a 20m ร— 12m yard needs 2 ร— (20 + 12) = 64m of fencing before deductions.
How do I convert the perimeter result to different units?
The calculator converts automatically โ€” enter your dimensions in any unit and the result appears simultaneously in metres, feet, centimetres, and inches. No manual conversion needed.
Is my data private?
Yes โ€” this calculator runs entirely in your browser. Nothing you enter is uploaded, stored, or shared with anyone. It also works offline once the page has loaded.
Scroll to Top