Free Online Polygon Calculator, Regular and Irregular
Work out the area, perimeter, interior angle, apothem and number of diagonals of a regular polygon from its number of sides and side length, or the area and perimeter of any irregular polygon from the coordinates of its corners. The coordinate method works whichever way round the corners are listed.
The sum runs in your browser. Nothing you type is sent anywhere.
⬡ The polygon
A regular polygon has every side the same length and every angle the same size, so the number of sides and one length describe it completely.
Each result with your own numbers in it.
| What | Formula | With your numbers |
|---|
| When | Calculation | Actions |
|---|
Number formatting
Rounding only changes what you see. The sum itself always runs at full precision, so a rounded number never feeds into the next step.
Display
Full screen hides the page around the tool. Press Escape, or the button in the bar, to come back.
History
Your data
Settings, history and saved setups live in this browser and nowhere else. There is no account and no server, which also means clearing them here is final.
Enjoying WizTools123? Help keep our server infrastructure 100% free and open for everyone.
How to Find the Area of a Polygon
Three steps, and the second depends on what you have.
What to Know About Polygons
Regular against irregular, and what each one needs.
Key Features & Capabilities
What it does, and what it deliberately does not.
About Polygons
A polygon is a closed shape made of straight sides. When every side and every angle is the same it is called regular, and that symmetry is powerful: the number of sides and a single length describe the shape completely, and everything else, the area, the angles, the distance to a side and the distance to a corner, follows from those two numbers.
An irregular polygon has no such shortcut. Its area depends on exactly where each corner sits, so the input has to be the coordinates themselves. The method for turning them into an area is the shoelace formula, which walks around the outline multiplying each x by the next y and subtracting each y times the next x. The name comes from how the terms cross over when written out in two columns.
The shoelace formula has one property that confuses people, which is that its result is signed. Walking around the corners anticlockwise gives a positive value and clockwise gives a negative one of the same size. An area is not a negative quantity, so this page always reports it as positive and states the direction separately. The sign is genuinely useful information, since it tells you how your corner list is ordered, but it is not part of the area.
Regular polygons are worth playing with because of what happens as the number of sides increases. The apothem, which is the distance from the centre to the middle of a side, creeps up towards the radius out to a corner. The interior angle creeps up towards 180 degrees. The area creeps up towards the area of the circle. With a hundred sides the polygon and its circle agree to within a hundredth of a percent, which is essentially how Archimedes pinned down pi more than two thousand years ago.
Frequently Asked Questions
Sides, angles, coordinates and the shoelace formula.