# Interactive Calculate PI

The number PI(π) is defined as the length of any circle’s circumference divided by its diameter:

To approximate π, we can use the perimeter of a n sided polygon to represent the circumference of the circle. As the number of sides increase, the approximation becomes more accurate.