Irregular Polygon Area Calculator
Welcome to Omni's irregular polygon area calculator! With its help you can quickly determine the area of any irregular polygon. Our calculator uses the so-called shoelace formula.
Are you not sure what this formula is about? Do you want to learn how to calculate the area of irregular polygons by hand? Do you wonder what the shoelace formula has to do with shoelaces? Scroll down and find the answers to all your questions!
Polygon refresher. Basic terminology
Recall that a polygon is a closed plane figure bounded by finitely many segments. Examples of polygons include triangles and rectangles. Examples of figures that are not polygons are ellipses and crescents. We say that a polygon is:
simple (not self-intersecting) if its edges never cross; or
self-intersecting (also called self-crossing or crossed) if some of its edges cross each other
Self-intersecting polygons are sometimes called complex (in contrast to the term simple), but this can lead to confusion with the polygons in the complex plane (i.e., with two complex dimensions).
When it comes to computing areas, some polygons are better than others. Or at least easier to deal with 😉 For instance, we all know that it is easy to compute the area of a regular polygon, that is, of a polygon that is convex (all its interior angles are less than 180°), equilateral (all its sides have the same length), and equiangular (all its angles are equal). An example of a regular polygon is a square. You can discover more in the area of regular polygon calculator. Also, we have dedicated tools for some specific irregular polygons. Examples include:
- parallelogram area calculator;
- trapezoid area calculator;
- rhombus area calculator; and
- kite area calculator.
What to do if we have to determine the area of an irregular polygon for which there is no dedicated area of irregular polygon formula? Fortunately, there is a way! We will explain it to you in the next section.
How to find the area of an irregular polygon? Shoelace theorem
The shoelace formula (a.k.a. Gauss's area formula) is a smart way of determining the area of a simple polygon (i.e., without self-intersections). All you need to know is the Cartesian coordinates of the vertices of the polygon.
💡 Tip. If you want to find the area of a self-intersecting polygon, you first have to divide it into two (or more) polygons that have no self-intersections.
Suppose that a simple polygon has vertices
(x1, y1), (x2, y2), ... , (xn, yn)
listed in clockwise or counterclockwise order. Then we can find the area of this polygon with the help of the following formula:
Area = 0.5 × |x1y2 - y1x2 + x2y3 - y2x3 + ... + xny1 - ynx1|
where |x| is the modulus of x.
How to use this irregular polygon area calculator?
Enter the Cartesian coefficients of the polygon, both the
x-coordinate and the
y-coordinate. You can enter up to
Make sure you're dealing with a simple polygon, i.e., one that has no self-intersections. If you're not, divide it into two (or more) simple polygons.
Make sure to enter the vertices in the counter-clockwise or clockwise order.
If your polygon has more than
30vertices, divide it into two (or more) polygons and compute their areas separately, and then add all these areas to get the area of your original polygon.
Our calculator determines the area of your polygon and, as a bonus, its perimeter. The results will appear below the list of vertices.
If you want our irregular polygon area calculator to determine the results with higher precision, go to the
advanced mode. By default, the calculator displays
Why is it called the ''shoelace formula''?
So we have learned how to find the area of an irregular polygon with the help of the shoelace formula (or the shoelace theorem):
Area = 0.5 × |(x1y2 - y1x2) + (x2y3 - y2x3) + ... + (xn-1yn - yn-1xn) + (xny1 - ynx1)|
But why, WHY is it called the shoelace formula? It's about polygons and calculations, not about shoes and laces, right? That's correct, but we will show you now that there is a reason behind this term. And, thanks to such a strange name, you hopefully have a better chance of remembering this formula!
So, let us list the coordinates of the vertices of our polygon in a column as follows:
As you can see, the first vertex appears again at the end of the list.
Now, to get the expression under the modulus at the right-hand side of the shoelace formula, we go from the top to the bottom of our column and mark the pairs of numbers to be multiplied. Doing so, we arrive at the image that resembles laced-up shoes - as in the picture below.
It is vital you remember that for each pair of rows:
When we multiply the upper-left and bottom-right numbers, we take their product with the
When we multiply the upper-right and bottom-left numbers, we take their product with the
For those of you familiar with matrices, there is one more way to remember the shoelace formula. Namely, we can express the area of our polygon as
0.5 times the sum of the determinants of the following 2x2 matrices:
Example of how to use the shoelace formula
As an example, let's compute the area of the following Pacman-shaped polygon:
The coordinates of its vertices read:
Let's write them in a column, repeating the first vertex at the end of the column:
We now go through this list and cross-multiply the numbers, remembering to apply the correct signs:
0 × (-2) - (-2) × 6 = 12
6 × (-0.5) - (-2) × 9 = 15
9 × 2 - (-0.5) × 6 = 21
6 × 4.5 - 2 × 9 = 9
9 × 7 - 4 × 4.5 = 45
4 × 6 - 7 × (-1) = 31
(-1) × 3 - 6 × (-3) = 15
(-3) × (-2) - 3 × 0 = 6
The sum of all these terms is
154. Halving this, we get the area of the Pacman:
Area = 0.5 × 154 = 77