Regular polygon area
Calculate area and perimeter of a regular polygon.
Count the diagonals of a simple polygon from its number of vertices.
Count the diagonals of a simple polygon from its number of vertices.
n*(n-3)/2 diagonalsn-3 diagonalsVertices must be distinct and the polygon must be simple. Each unordered pair of nonadjacent vertices counts once; crossing locations are not counted.
Results are rounded for display; calculations use unrounded values. Read our calculation methodology.
Count the diagonals of a simple polygon from its number of vertices. Subtract the two neighbours and the selected vertex, then divide the total pair count by two.
Subtract the two neighbours and the selected vertex, then divide the total pair count by two.
| Input | Example |
|---|---|
Number of vertices n | 8 |
Vertices must be distinct and the polygon must be simple. Each unordered pair of nonadjacent vertices counts once; crossing locations are not counted.
Use the displayed example inputs in the stated formula. Keep each quantity in its labelled unit and compare the unrounded result before applying display rounding.