Choose language

PL, EN, ES, DE, FR, RU


Polygon calculator - diagonals, area, perimeter, sides lenght


Regular polygon calculator will help you calculate the diagonals of any regular polygon, side length, height, area, perimeter and radius of the circumscribed circle and the radius of the circle inscribed in a regular polygon.



Perimeter of a regular polygon


$$ L=a \cdot n $$






Height of a regular polygon


$$ h=\frac{2\cdot a}{2\cdot \tan(\frac{\pi}{n})} \hspace{1mm}for \hspace{1mm}n \hspace{1mm}even $$ $$ h=\frac{a}{2\cdot \tan(\frac{\pi}{\frac{2}{n}})} \hspace{1mm}for \hspace{1mm}n \hspace{1mm}odd $$






Regular polygon area


$$ S=\frac {1}{4}\cdot n \cdot a^{2}\cdot \cot(\frac {\pi }{n}) = \frac{n\cdot a^{2}}{4\cdot \tan(\frac{\pi}{n})} $$






Radius of a circle circumscribed on a regular polygon


$$ R=\frac {a}{2\cdot \sin(\frac{\pi }{n})} $$








Radius of the circle inscribed in a regular polygon


$$ r=\frac {a}{2\cdot \tan(\frac {\pi }{n})} = \frac {a}{2}\cdot \cot(\frac {\pi }{n}) $$






Number of diagonals of a regular polygon


$$ d=\frac {n(n-3)}{2} $$





Diagonal lengths of a regular polygon


$$ d_k=\frac{a\sin\frac{(k+1)\pi}{n}}{\sin\frac{\pi}{n}},$$ where $$ k\in\mathbb{N},\ 1\le k\le n-3\,$$







Inside angle measure and a measure of the central angle of a regular polygon


Inside angle measure (between adjacent sides): $$ \gamma =\frac{\pi (n-2)}{n}\mathrm{rad} =\frac{180^{\circ }\cdot (n-2)}{n} $$ Measure of the center angle (that is, the angle at which the side of the polygon is viewed from its center): $$ \beta =\frac {2\pi }{n}\mathrm {rad} =\frac {360^{\circ }}{n} $$







Regular polygon - information

Regular polygon - a polygon that has all interior angles equal and all sides of equal length. The smallest possible number of sides of a regular polygon is 3. Theoretically it is possible to construct a regular diagonal, but this is a degenerate case, it would look like a regular segment and the angle between the sides would be 0 °.

It has the following properties:
  • a – length of one side of the polygon;
  • n – lthe number of sides of a regular polygon, where $$ n\in\mathbb{N}, n > 2.$$
  1. Formula for the perimeter of a regular polygon: $$ L=n \cdot a $$
  2. Formulas for the height of a regular polygon: $$ h=\frac{2\cdot a}{2\cdot \tan(\frac{\pi}{n})} \hspace{1mm}for \hspace{1mm}n \hspace{1mm}even $$ $$ h=\frac{a}{2\cdot \tan(\frac{\pi}{\frac{2}{n}})} \hspace{1mm}for \hspace{1mm}n \hspace{1mm}odd $$
  3. Formulas for the area of a regular polygon: $$ S=\frac{1}{4}na^2\operatorname{ctg}\frac{\pi}{n} $$ $$ =\frac{nar}{2}$$ $$ =nr^2\operatorname{tg}\frac{\pi}{n}$$ $$=nR^2\sin\frac{\pi}{n}\cos\frac{\pi}{n}$$ $$=\frac{1}{2}nR^2\sin\frac{2\pi}{n}$$
  4. Formula for the radius of a circle described on a regular polygon: $$ R=\frac{a}{2\sin\frac{\pi}{n}}=\frac{a}{2}\operatorname{csc}\frac{\pi}{n}$$
  5. Formula for the radius of a circle inscribed in a regular polygon: $$ r=\frac{a}{2\operatorname{tg}\frac{\pi}{n}}=\frac{a}{2}\operatorname{ctg}\frac{\pi}{n} $$
  6. Formula for the number of diagonals of a regular polygon: $$ d=\frac {n(n-3)}{2} $$
  7. Formula for the length of the diagonals of a regular polygon: $$ d_k=\frac{a\sin\frac{(k+1)\pi}{n}}{\sin\frac{\pi}{n}},$$ where $$ k\in\mathbb{N},\ 1\le k\le n-3\,$$
  8. Formula for the side length of a regular polygon: $$ a=2\sqrt{R^2-r^2}$$ $$ =2R\sin {\frac {\pi }{n}}$$ $$ =2r\operatorname {tg} {\frac {\pi }{n}}$$
  9. The angle between any adjacent diagonals originating from one vertex (including sides originating from that vertex) $$ \gamma ={\frac {\pi }{n}}\mathrm {rad} ={\frac {180^{\circ }}{n}}$$
  10. Formula for the measure of the between adjacent sides of a regular polygon: $$ \gamma =\frac{\pi (n-2)}{n}\mathrm{rad} =\frac{180^{\circ }\cdot (n-2)}{n} $$
  11. Formula for the center angle (the angle at which the side of the polygon is seen from its center): $$ \beta =\frac {2\pi }{n}\mathrm {rad} =\frac {360^{\circ }}{n} $$





Users of this calculator also used

Rail Fence, Zig-Zag - encoder / decoder

Rail Fence, Zig-Zag cipher online encoder and decoder. Encrypt and decrypt any cipher created in a Rail Fence, Zig-Zag cipher.

Online tool for drawing graphs of any function.

With this online function graph plotter, you can draw any function. On one graph you can draw any three functions and compare their parameters. You can create graphs for many equations and functions.

Four-square cipher - encoder / decoder

Four-square cipher online encoder and decoder. Encrypt and decrypt any cipher created in a Four-square cipher. You can use any shift and additionally a key for more precise text encoding.

Average absolute deviation, or mean absolute deviation (MAD)

With this calculator you will calculate the average absolute deviation, or mean absolute deviation (MAD), of a data set is the average of the absolute deviations from a central point.

Calculator for maximum heart rate and heart rate zones for training

How to calculate your Maximum Heart Rate (HRMAX)? Which heart rate zones to choose for training and how to calculate the heart rate zones? At what heart rate is the best fat burning, and at what will we increase our efficiency and improve the condition? The calculator for maximum heart rate and heart rate zones can help answer these questions. You will calculate both your maximum and optimal heart rate and select the heart rate ranges for the appropriate training.

Kinetic energy calculator

With this calculator you can quickly calculate the kinetic energy of an object. You will also calculate mass from energy and velocity and speed given kinetic energy and mass.

Addition in columns

With this calculator you will learn how to add in columns. You can check if the addition you have made is correct



Online calculator