Irregular Polygon Area Calculator

Created by Anna Szczepanek, PhD
Reviewed by Dominik Czernia, PhD and Jack Bowater
Last updated: Jun 05, 2023

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:

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.

Polygon in the Cartesian plane
It's crucial you have the vertices listed in the counter-clockwise order. The clockwise order is OK, too. But if you mess up the order, you will get the wrong result!

How to use this irregular polygon area calculator?

  1. Enter the Cartesian coefficients of the polygon, both the x-coordinate and the y-coordinate. You can enter up to 30 vertices.

    • 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 30 vertices, 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.

  2. Our calculator determines the area of your polygon and, as a bonus, its perimeter. The results will appear below the list of vertices.

  3. 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 4 sig figs.

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:

x₁, y₁

x₂, y₂

x₃, y₃


xₙ₋₁, yₙ₋₁

xₙ, yₙ

x₁, y₁

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 + sign.

  • When we multiply the upper-right and bottom-left numbers, we take their product with the - sign.

Shoelace formula illustration
Job Bouwman, CC BY-SA 4.0, via Wikimedia Commons

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:

[x1y1x2y2][x2y2x3y3][xn1yn1xnyn]  ...[xnynx1y1]\small \qquad \begin{bmatrix} x_1 & y_1\\ x_2 & y_2 \end{bmatrix} \\[1em] \qquad \begin{bmatrix} x_2 & y_2\\ x_3 & y_3 \end{bmatrix} \\[1em] \quad \begin{bmatrix} x_{n-1} & y_{n-1}\\ x_n & y_n \end{bmatrix} \\[1em] \qquad\quad\ \ ...\\[1em] \qquad \begin{bmatrix} x_n & y_n\\ x_1 & y_1 \end{bmatrix}

Example of how to use the shoelace formula

As an example, let's compute the area of the following Pacman-shaped polygon:

Shoelace formula illustration

The coordinates of its vertices read:

(0, -2),
(6, -2),
(9, -0.5),
(6, 2),
(9, 4.5),
(4, 7),
(-1, 6),
(-3, 3).

Let's write them in a column, repeating the first vertex at the end of the column:

0, -2

6, -2

9, -0.5

6, 2

9, 4.5

4, 7

-1, 6

-3, 3

0, -2

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

Anna Szczepanek, PhD
Polygon's vertices
⚠️ Enter the vertices in order, either going clockwise or counter-clockwise around the polygon. Otherwise, the results may be incorrect!
You need at least 3 point to create a polygon!
Area =
Perimeter =
Check out 46 similar coordinate geometry calculators 📈
Average rate of changeBilinear interpolationCatenary curve… 43 more
People also viewed…

Black Friday

How to get best deals on Black Friday? The struggle is real, let us help you with this Black Friday calculator!

Diagonalize matrix

The diagonalize matrix calculator is an easy-to-use tool for whenever you want to find the diagonalization of a 2x2 or 3x3 matrix.

Meat footprint

Check out the impact meat has on the environment and your health.

Triangle sum theorem

Use this triangle sum theorem calculator to determine a value of an unknown angle in a triangle.
Copyright by Omni Calculator sp. z o.o.
Privacy policy & cookies