Polygon Calculator
NEWEnter the number of sides and one of side length, perimeter, area, circumradius or apothem to get every other measure of a regular polygon, its angles and its number of diagonals.
Runs 100% in your browser — your input is never uploaded or stored on our servers.
Blue dashed: circumcircle. Yellow dashed: incircle.
| Side length s | 10 cm |
|---|---|
| Perimeter P | 60 cm |
| Area A | 259.80762 cm² |
| Circumradius R | 10 cm |
| Inradius (apothem) r | 8.660254 cm |
| Interior angle | 120° |
| Exterior angle | 60° |
| Sum of interior angles | 720° |
| Number of diagonals | 9 |
For regular polygons only (all sides and angles equal). Area is in the square of the chosen unit; results are rounded to about 8 significant digits.
Quick Examples
Typical inputs and the results this tool produces.
Overview
A regular polygon has equal sides and equal angles, so the number of sides n and one length are enough to know everything about it. Type n (3 to 1,000) and one known value, whether side length, perimeter, area, circumradius or inradius (apothem), and the calculator returns all the others.
You also get the interior and exterior angle, the sum of the interior angles, (n − 2) × 180°, and the number of diagonals, n(n − 3) / 2. A small drawing shows the polygon with its circumscribed and inscribed circles, and the formulas are filled in with your numbers.
Useful for tiling and woodworking cuts, gazebo or nut layouts and geometry homework. Calculations run in your browser.
Why use this tool?
- Start from any one of five measures
- Angles and diagonal count included
- Live drawing with both circles
- Formulas shown with your numbers
- Runs in your browser, nothing is sent
Features
Five ways in
Known side, perimeter, area, circumradius or apothem; the other four are derived.
Angles
Interior angle (n − 2) × 180° / n, exterior angle 360° / n and the interior angle sum.
Diagonals
Number of diagonals n(n − 3) / 2, from 0 for a triangle upwards.
Preview drawing
An SVG sketch of the polygon with its circumcircle and incircle.
Length units
mm, cm, m, km, in, ft, yd or mi; the area is in the square of the unit.
Copy the result
Copy every value and formula as plain text.
How to Use
Enter the number of sides
For example 6 for a hexagon or 8 for an octagon.
Choose what you know
Side length, perimeter, area, circumradius or apothem, and the unit.
Type the value
The rest of the polygon is calculated instantly.
Check and copy
Compare with the drawing and copy the results if needed.