Try To Calculator logoTry To Calculator

Polygon Calculator

Last updated: May 20, 2026

Key takeaway: Find essential properties of regular polygons, from triangles to decagons, with our comprehensive calculator. This free Polygon Calculator is designed for students, teachers, and anyone who needs quick math answers — enter your values above to get instant results.

With this polygon calculator, you can find the essential properties of any n-sided regular polygon. Whether you are looking for the area of a heptagon or the angles in a decagon, you're at the right place. Below, you'll find the polygon definition and a table with the names of polygons along with their shapes. After reading this short article, you'll know what a polygon is and how many sides a particular polygon has — keep reading, or simply give this calculator a go!

What is a polygon? Polygon definition

A polygon is a 2D closed figure made up of straight line segments. That's the polygon definition. But what does it look like? Many shapes you learned about are polygons - triangles, squares, parallelograms, rhombus, kites, pentagons, hexagons, octagons... A lot of them. But popular shapes that are not polygons also exist - take a circle and an ellipsis as an example.

Polygons are classified based on their sides and angles, as well as their convexity, symmetry, and other properties.

Different polygon types
Salix alba at English Wikipedia / CC BY-SA

In this polygon calculator, we solve the properties of regular polygons - the special polygon types which are:

  • Equiangular — all angles are equal in measure
  • Equilateral — all sides have the same length

Every regular polygon with n sides is formed by n isosceles triangles.

How many sides does a polygon have? Names of polygon shapes

Image of a n-gon. Polygon angle and central angle marked as α and β, respectively.

The answer to the question depends on which polygon you have on your mind. "Usually, you can use the polygon name as a hint to deduce how many sides it has - the prefixes come from Greek numbers.

PolygonNamen (sides)Regular polygon shapeαβ
3 - sided polygontrigon (equilateral triangle)3equilateral triangleπ/3 = 60°2π/3 = 120°
4 - sided polygontetragon, quadrilateral (square)4squareπ/2 = 90°π/2 = 90°
5 - sided polygonpentagon5pentagon3π/5 = 108°2π/5 = 72°
6 - sided polygonhexagon6hexagon2π/3 = 120°π/3 = 60°
7 - sided polygonheptagon (septagon)7heptagon5π/7 = 128.57°2π/7 = 51.43°
8 - sided polygonoctagon8octagon3π/4 = 135°π/4 = 45°
9 - sided polygonnonagon9nonagon7π/9 = 140°2π/9 = 40°
10 - sided polygondecagon10decagon8π/10 = 144°π/5 = 36°
n - sided polygonn - gonnn - gon(n-2) × 180°/n360°/n

If your polygon has 11 or more sides, it's easier to write 11-gon, 14-gon, 20-gon ... "100-gon", etc. But if you're really curious...

PolygonNamen (sides)αβ
11 - sided polygonHendecagon (undecagon)11147.273°32.73°
12 - sided polygonDodecagon12150°30°
13 - sided polygonTriskaidecagon13152.308°27.69°
14 - sided polygonTetrakaidecagon14154.286°25.71°
15 - sided polygonPentadecagon15156°24°
16 - sided polygonHexakaidecagon16157.5°22.5°
17 - sided polygonHeptadecagon17158.824°21.18°
18 - sided polygonOctakaidecagon18160°20°
19 - sided polygonEnneadecagon19161.053°18.98°
20 - sided polygonIcosagon20162°18°
30 - sided polygonTriacontagon30168°12°
40 - sided polygonTetracontagon40171°
50 - sided polygonPentacontagon50172.8°7.2°
60 - sided polygonHexacontagon60174°
70 - sided polygonHeptacontagon70174.857°5.14°
80 - sided polygonOctacontagon80175.5°4.5°
90 - sided polygonEnneacontagon90176°
100 - sided polygonHectagon100176.4°3.6°
1,000 - sided polygonChiliagon1,000179.64°0.36°
10,000 - sided polygonMyriagon10,000179.964°0.036°
1,000,000 - sided polygonMegagon1,000,000~180°~0°
10100 - sided polygonGoogolgon10100~180°~0°

Regular polygon formulas: sides, area, perimeter, angles

If you want to calculate the regular polygon parameters directly from equations, all you need to know is the polygon shape and its side length:

1. Area

  • area = n × a² × cot(π/n)/ 4

Where n- number of sides, a - side length

Other equations, which use parameters such as the circumradius or perimeter, can also be used to determine the area. You can find them in a dedicated calculator of polygon area.

2. Perimeter

  • perimeter = n × a

Read more about polygon perimeter in the perimeter of a polygon calculator.

n-gon with angles and incircle and circumcircle radii

3. Angles :

  • α = (n - 2) × π / n, where α is an interior angle;
  • β = 2 × π / n, where β is an exterior angle.

If you're particularly interested in angles, you may want to take a look at our polygon angle calculator.

4. Incircle radius (apothem)

  • ri = a / (2 × tan(π/n))

5. Circumcircle radius

  • rc = a / (2 × sin(π/n))

All these equations are implemented in our polygon calculator.

How to use this polygon calculator — an example

If you're still wondering how to use our tool, have a look at the following example:

  1. Choose the polygon shape and type its number of sides. To calculate the properties of, e.g., a nonagon, type 9 into the number of sides box.
  2. Enter one parameter. One given value is enough. Assume that we know the perimeter of our shape; let's say it's 18 in.
  3. Great! Our polygon calculator finds all the remaining values! We determined that:
    • side = 2 in
    • area = 24.727 in²
    • α = 140°
    • β = 40°
    • rc = 2.924 in
    • ri = 2.7475 in

FAQs

What does the Polygon Calculator do?
Find essential properties of regular polygons, from triangles to decagons, with our comprehensive calculator. Use the calculator above for instant results in your browser.
Is the Polygon Calculator free to use?
Yes. All Try To Calculator tools are free and do not require an account.
Are my inputs stored or sent to a server?
No. Calculations run locally in your browser. We do not collect the numbers you enter or the results shown.
Can I use the Polygon Calculator for professional decisions?
This tool is for education and quick estimates. For medical, legal, tax, or financial decisions, verify results with a qualified professional.
Where can I find related calculators?
Browse more Math tools on Try To Calculator at /math, or use the related calculators section on this page.

Related calculators