5-Sided Shape Area Calculator: How to Use It, Formula, and Example

A five-sided shape sounds simple until you try to measure one. A garden bed with an angled corner, a plot with five uneven boundaries, or a bay-window room does not fit any single school formula. The 5-Sided Shape Area Calculator works from the five corners of your shape. Type in the corner coordinates, the five side lengths with two diagonals, or a single side for a regular pentagon, and it gives you the area and perimeter. This guide explains what the tool does, how to use it, the formulas behind it, and a worked example.
What is the 5-Sided Shape Area Calculator?
The 5-Sided Shape Area Calculator is a free online tool on IrregularShapeCalc.com, with no limit on how many shapes you can measure. A five-sided shape is called a pentagon. When all five sides and angles are equal, it is a regular pentagon, and one measurement is enough. Most real five-sided shapes are irregular pentagons, with different side lengths and angles, and sometimes a corner that points inward. For those shapes there is no single shortcut formula, so the calculator offers several ways to describe your shape:
- Enter coordinates – type the x, y position of each corner, in order around the edge, for an exact answer from plans or survey data.
- Enter sides and diagonals – type the five side lengths plus two diagonals from one corner, useful when you measured the plot with a tape and have no coordinates.
- Regular pentagon – type a single side length and the calculator works out the area of a perfect five-sided shape.
- Draw on a grid – click each corner on a grid for rooms and beds when you have no exact numbers yet.
It also gives you the perimeter, each side length, and the interior angle at every corner.
How to use the calculator, step by step
1. Pick a method and a unit. Choose coordinates, sides and diagonals, regular pentagon, or draw, then select your unit.
2. Number the corners 1 to 5 in order. Work around the edge in one direction. The order matters, because the calculator joins the corners in the order you list them.
3. Enter your measurements. For coordinates, type the x and y value of each corner. For sides and diagonals, type the five side lengths and the two diagonals from corner 1 to corners 3 and 4.
4. Check the drawing. The calculator draws your pentagon to scale. If the shape looks twisted or crossed, a corner is probably out of order.
5. Read your results. The area, perimeter, and interior angles appear straight away, with the area converted into square meters, square yards, and acres.
6. Open the step-by-step calculation. The working shows each part of the math, so you can check it by hand or copy it into homework or a quote.
The formula behind the calculator
The formula depends on which method you picked, because each method starts from different measurements.
Shoelace formula (coordinates method): When you enter coordinates, the calculator applies the Shoelace formula, also called the surveyor’s formula. Area = 1/2 x | sum of (xi x yi+1 – xi+1 x yi) |. In plain words: for each corner, multiply its x value by the next corner’s y value, then subtract the next corner’s x value multiplied by this corner’s y value. Add up the results, ignore a minus sign, and divide by 2.
Heron’s formula (sides and diagonals method): When you enter side lengths and diagonals, the calculator splits the pentagon into three triangles from one corner, then finds each triangle’s area with Heron’s formula. Area of a triangle = sqrt[ s x (s – a) x (s – b) x (s – c) ], where s = (a + b + c) / 2. Here a, b, and c are the three sides of the triangle, and s is the semi-perimeter. The three triangle areas are added together to give the area of the whole pentagon.
Regular pentagon formula: For a regular pentagon, where every side has the same length s: Area = 1/4 x sqrt(5 x (5 + 2 sqrt5)) x s squared, about 1.7205 x s squared. The same answer comes from the perimeter and the apothem: Area = 1/2 x Perimeter x Apothem.
Worked example: an irregular pentagon plot
Suppose a five-sided garden plot has these corners, in feet: (0, 0), (30, 0), (35, 15), (20, 30), and (0, 20). Apply the Shoelace formula, one pair of corners at a time (the last corner wraps back to the first).
| Corners | Calculation | Result |
|---|---|---|
| P1 to P2 | (0 x 0) – (30 x 0) | 0 |
| P2 to P3 | (30 x 15) – (35 x 0) | 450 |
| P3 to P4 | (35 x 30) – (20 x 15) | 750 |
| P4 to P5 | (20 x 20) – (0 x 30) | 400 |
| P5 to P1 | (0 x 0) – (0 x 20) | 0 |
| Sum | 1,600 |
Area = 1,600 / 2 = 800 sq ft (about 74.32 m2). Perimeter = 30 + 15.81 + 21.21 + 22.36 + 20 = 109.38 ft. Side lengths come from the distance between each pair of corners – for example, the side from (30, 0) to (35, 15) is sqrt(5 squared + 15 squared) = sqrt250 = 15.81 ft. Check it another way: the pentagon fits inside a 35 x 30 ft rectangle of 1,050 sq ft, minus three corner triangles of 37.5, 112.5, and 100 sq ft – which also gives 800 sq ft.
Common uses
- Land and plots – check the size of a five-sided plot before buying, building, or fencing it.
- Gardens and yards – size up a pentagonal bed or lawn for mulch, soil, or turf.
- Rooms and floors – measure a five-sided room, such as one with a bay window, for flooring or carpet.
- Roofs and decks – work out the surface of a pentagonal roof section or deck before ordering materials.
- Homework – check answers for pentagon problems, with the working shown.
Most projects need both numbers: area for the surface you are covering, and perimeter for fencing, edging, or trim.
Tips for an accurate result
- List the corners in order. Go around the shape in one direction, or the outline crosses itself and gives a wrong area.
- Measure the diagonals from the same corner. Both diagonals must start at corner 1: one to corner 3 and one to corner 4.
- Measure carefully. The math is exact for the shape you enter, so the result is only as good as your measurements. Measure each side twice.
- Do not use side lengths alone. The same five sides can lean into many different pentagons, so you also need the diagonals, the angles, or the corner positions.
- Check the drawing before trusting the number. If the shape on screen does not match the shape you measured, a corner is out of order or a number is mistyped.
- Use a surveyor for legal boundaries. This calculator is for planning and estimating, not legal boundaries.
Frequently asked questions
Try the calculator
Ready to measure your own five-sided shape? Open the free 5-Sided Shape Area Calculator, enter your corners or side lengths, and get your area and perimeter in seconds.






