Polygon vertex calculator

This calculator takes the parameters of a regular polygon and calculates its coordinates. It produces both the coordinates of the vertices and the coordinates of the line segments making up the sides of the polygon.

It is useful to blind users and those who produce material for the sight-impaired. The programs that emboss shapes on pages for the blind need the coordinates of the lines that make up the shape. This page was designed to make it easy to produce the data needed by those programs (such as SVG Draw) to 'draw' regular polygons.

Instructions

There are four headings on this page:

  1. Instructions
  2. Inputs
  3. List of sides
  4. List of vertices

The inputs are as follows:

Click the 'Calculate' button to refresh the results. Note that the y coordinates are positive downwards, to conform to the convention in most computer software. Positive x is to the right.

The sides output is a table containing the start and end x,y coordinates of each side of the polygon, going counter clockwise from the first one. Below that is the same data in CSV format.

The vertex output is a table containing the x and y coordinates of each vertex of the polygon, going counter clockwise from the first one. Below that is the same data in CSV format.

Inputs

Center x
Center y
Number of sides
Radius
Start angle (degrees)

Sides

As a table

As CSV

Vertices

As a table

As CSV

Other Coordinate Geometry topics