Regular Polygon Calculator

Regular Polygon Calculator lets you a regular polygon area is ns² / (4 tan(π/n)). Enter your own values or load the worked example.

Method and calculation

A regular polygon area is ns² / (4 tan(π/n)).

Inputs and settings

Regular Polygon Calculator accepts Side length (minimum 0.000001); Number of sides (minimum 3, maximum 1000).

Worked example

Regular Polygon Calculator example — Side length: 5; Number of sides: 6. Computed output: { "area": 64.9519052838329, "perimeter": 30, "interiorAngle": 120 }

Output and limitations

Regular Polygon Calculator: Use finite inputs. Results use double-precision arithmetic.

Technical references: JavaScript numerical operations

Regular Polygon Calculator FAQs

Regular Polygon Calculator applies the following rule to your input: A regular polygon area is ns² / (4 tan(π/n)). The worked example on this page uses the same processor as the result button.
Regular Polygon Calculator has these boundaries: Use finite inputs. Results use double-precision arithmetic. Start by checking the side length field against the units or format shown.
Regular Polygon Calculator provides this sample: { "area": 64.9519052838329, "perimeter": 30, "interiorAngle": 120 }. Use the sample button to reproduce it, then replace the inputs with your own values.