⬠

Polygon Area Calculator

A regular polygon's area, perimeter, apothem, circumradius and angles from its number of sides and one length, or any polygon's area and perimeter from its corner points by the shoelace formula, with a check for crossing edges.

Math & AlgebraRuns in your browser

Result…

Polygon

Only labels the answers: the working is the same in any unit.

3 for a triangle, 5 for a pentagon, 6 for a hexagon, 8 for an octagon.

 

…

How it's calculated

Regular, n sides of length s: apothem a = s ÷ (2 tan(π/n)), circumradius R = s ÷ (2 sin(π/n))
Area = ½ × n × s × a = n s² ÷ (4 tan(π/n)); perimeter = n s
Interior angle = (n − 2) × 180° ÷ n; exterior = 360° ÷ n
Shoelace: Area = ½ |Σ (xᵢ yᵢ₊₁ − xᵢ₊₁ yᵢ)|

A regular polygon is fixed by its number of sides and any one length: the side, the circumradius (centre to a corner) or the apothem (centre to the middle of a side). Cutting it into n identical triangles from the centre gives the area, half the perimeter times the apothem. Any other polygon is worked out from its corner points with the shoelace (surveyor's) formula, which adds the cross products of consecutive vertices; its sign tells you whether the points run clockwise or anticlockwise. The formula is only the area when no edges cross, so the calculator checks every pair of edges that are not neighbours and says so if two cross (a bow-tie shape, or vertices typed out of order). The centroid is the shape's balance point.

Your numbers, step by step

    About the Polygon Area calculator

    This polygon area calculator handles two kinds of shape. For a regular polygon, such as an equilateral triangle, square, pentagon, hexagon or octagon, enter the number of sides and one length: the side, the circumradius or the apothem. You get the area, perimeter, apothem, circumradius and the interior and exterior angles. For any other flat shape, type its corner points in order. The shoelace formula then gives the area and perimeter, the direction the points run, and the centroid. It also checks whether any edges cross, because the shoelace sum is not a real area for a bow-tie shape or for points typed out of order. Students use it for geometry and coordinate homework. Surveyors, gardeners and builders use it to find the area of an irregular plot or room from measured corners. The working is shown for each edge. To solve a single triangle from its sides and angles, use the triangle calculator.

    How to use it

    1. Choose the “Polygon” type: “Regular, side”, “Regular, circumradius”, “Regular, apothem” or “Any, from vertices”.
    2. For a regular polygon, enter the “Number of sides” and the length you know.
    3. For any polygon, type the “Vertices (x, y) in order” going round the edge, like (0, 0) (4, 0) (4, 3), or one pair per line.
    4. Pick a “Length unit” so areas are labelled in square units, then read the area, perimeter and the other results. If “Simple polygon” says edges cross, reorder the points.

    Worked example

    A regular hexagon tile has sides of 30 cm. Its apothem is 30 ÷ (2 × tan 30°) = 25.98 cm, its perimeter 6 × 30 = 180 cm, and its area ½ × 180 × 25.98 = 2338.27 cm². Each interior angle is 120°. A garden bed with corners at (0, 0), (6, 0), (6, 4), (3, 7) and (0, 4), in metres, has a shoelace area of 33 m², a perimeter of 22.49 m and its centroid at (3, 2.818182).

    Updated

    Questions people ask

    How do I find the area of a regular polygon?

    Multiply half the perimeter by the apothem: area = ½ × n × s × a. With only the side length, that is n × s² ÷ (4 × tan(180° ÷ n)). A regular pentagon with 10 cm sides has an area of about 172.05 cm².

    What is the shoelace formula?

    For corners (x₁, y₁) to (xₙ, yₙ) in order, add up xᵢ × yᵢ₊₁ − xᵢ₊₁ × yᵢ for every edge, wrapping back to the first point, and halve the absolute value. The sign of the sum says whether the points run anticlockwise (positive) or clockwise (negative).

    Why is my polygon's area wrong or zero?

    The points are probably not in order round the edge, so the edges cross. A bow-tie shape's two loops cancel in the shoelace sum. The calculator names the crossing edges; list the corners in the order you would walk round the boundary.

    What is the difference between the apothem and the circumradius?

    The apothem runs from the centre to the middle of a side and is the radius of the circle that fits inside. The circumradius runs from the centre to a corner and is the radius of the circle through all the corners.

    What are the interior angles of a regular polygon?

    Each one is (n − 2) × 180° ÷ n: 108° for a pentagon, 120° for a hexagon and 135° for an octagon. The exterior angles always add up to 360°, so each is 360° ÷ n.

    Can I use it for a plot of land?

    Yes, if you have the corner coordinates on a flat grid in one unit. For large areas, curved boundaries or legal measurements, a surveyor's figures account for things this flat calculation does not.

    More in Math & Algebra