How to Find Pi Using Regular Polygons

Updated on May 5, 2019
David3142 profile image

I am a former maths teacher and owner of Doingmaths. I love writing about maths, its applications and fun mathematical facts.



What is pi?

If you take any perfect circle and measure its circumference (the distance around the edge of the circle) and its diameter (the distance from one side of the circle to the other, going through the centre) and then divide the circumference by the diameter, you should find that you get an answer of approximately 3.

If you could make your measurements perfectly accurate, you would find that you actually get an answer of 3.14159... regardless of what size your circle is. It wouldn't matter if you were taking your measurements from a coin, the centre circle of a football pitch or even from the O2 Arena in London, as long as your measurements are accurate, you will get the same answer: 3.14159...

We call this number 'pi' (denoted by the Greek letter π) and it is sometimes also known as Archimedes constant (after the Greek mathematician who first tried to calculate the exact value of pi).

Pi is an irrational number which mathematically means that it cannot be written as a fraction of two whole numbers. This also means that the digits of pi are never ending and never repeat themselves.

Pi has many applications for mathematicians, not just in geometry, but throughout many other areas of mathematics as well, and due to its link to circles is also a valuable tool in many other areas of life such as the sciences, engineering etc.

In this article, we are going to look at a simple geometrical way of calculating pi by using regular polygons.

A Unit Circle

Unit Circle

Consider a unit circle such as in the picture above. Unit means that it has a radius equal to one unit (for our purposes, it doesn't matter what this unit is. It could be m, cm, inches, etc. The result will still be the same).

The area of a circle is equal to π x radius2. As the radius of our circle is one, we therefore have a circle with an area of π. If we can then find the area of this circle using a different method, we have therefore got ourselves a value for π.

Unit Circle with Squares

Adding Squares to our Unit Circle

Now imagine adding two squares to our picture of the unit circle. We have a larger square, just big enough for the circle to fit inside perfectly, touching the square in the centre of each of its edges.

We also have a smaller, inscribed square which fits inside the circle and is just big enough that its four corners all touch the edge of the circle.

It is clear from the picture that the area of the circle is smaller than that of the big square, but larger than that of the small square. Therefore if we can find the squares' areas, we will have upper and lower bounds for π.

The large square is relatively simple. We can see that it is twice the width of the circle so each edge is 2 long. The area is therefore 2 x 2 = 4.

The smaller square is a little trickier as this square has a diagonal of 2 instead of an edge. Using Pythagoras theorem if we take a right-angled triangle made of two of the square's edges and the diagonal as the hypotenuse, we can see that 22 = x2 + x2 where x is the length of one edge of the square. This can be solved to get x = √2, hence the area of the small square is 2.

As the area of the circle is in between our two area values we now know that 2 < π < 4.

Unit Circle with Pentagons

Unit Circle with Pentagons

So far our estimate using squares isn't very precise, so let's see what happens if we start using regular pentagons instead. Again, I've used a larger pentagon on the outside with the circle just touching its edges, and a smaller pentagon on the inside with its corners just touching the edge of the circle.

Finding the area of a pentagon is a little trickier than for a square, but not too difficult using trigonometry.

The Larger Pentagon

Area of the Larger Pentagon

Take a look at the diagram above. We can split the pentagon up into ten equal right-angled triangles each having a height of 1 (the same as the radius of the circle) and a centre angle of 360 ÷ 10 = 36°. I have denoted the edge opposite the angle as x.

Using basic trigonometry, we can see that tan 36 = x/1, so x = tan 36. The area of each of these triangles is therefore 1/2 x 1 x tan 36 = 0.3633. As there are ten of these triangles, the area of the pentagon is therefore 10 x 0.363 = 36.33.

The smaller Pentagon

The Area of the Smaller Pentagon

The smaller pentagon has a distance of one from the centre to each vertex. We can split the pentagon up into five isosceles triangles each with two edges of 1 and an angle of 360 ÷ 5 = 72°. The area of the triangle is therefore 1/2 x 1 x 1 x sin 72 = 0.4755, giving us a pentagon area of 5 x 0.4755 = 2.378.

We now have more accurate bounds for π of 2.378 < π < 3.633.

Using Regular Polygons with more Sides

Our calculation using the pentagons is still not very precise, but it can be seen clearly that the more sides the polygons have, the closer together the bounds become.

We can generalise the method we used to find the pentagon areas, to enable us to quickly calculate the inner and outer polygons for any number of sides.

Using the same method as for the pentagons, we get:

Area of smaller polygon = 1/2 x n x sin (360/n)

Area of larger polygon = n x tan (360/2n)

where n is the number of sides of the polygon.

We can now use this to get much more precise results!

Upper and Lower Bounds Using Polygons with more Sides

Polygons with more Sides

Above I have listed the results for the next five polygons. You can see that the bounds get closer and closer together each time until we have a range of slightly over 0.3 when using decagons. This still isn't overly precise though. How many edges will we need to have before we can calculate π to 1 d.p and beyond?

Polygons with even more Sides

Polygons with even more Sides

In the image above, I have shown the points where π can be calculated to certain numbers of decimal places. To get even one decimal place correct, you need to use 36-sided shapes. To get to five decimal places of accuracy you need an astonishing 2099 sides.

Is this a Good Method for Calculating pi?

So is this a good method for calculating π? It's certainly not the most efficient. Modern mathematicians have calculated π to trillions of decimal places using more efficient algebraic methods and super computers, but I love how visual this method is and how simple it is (none of the maths in this article is above school level).

See if you can work out how many sides are needed before you can get a value of π accurate to 6 decimal places (hint: I used Excel to find my values).

My video on finding pi from the DoingMaths YouTube channel

Questions & Answers


      0 of 8192 characters used
      Post Comment

      No comments yet.


      This website uses cookies

      As a user in the EEA, your approval is needed on a few things. To provide a better website experience, uses cookies (and other similar technologies) and may collect, process, and share personal data. Please choose which areas of our service you consent to our doing so.

      For more information on managing or withdrawing consents and how we handle data, visit our Privacy Policy at:

      Show Details
      HubPages Device IDThis is used to identify particular browsers or devices when the access the service, and is used for security reasons.
      LoginThis is necessary to sign in to the HubPages Service.
      Google RecaptchaThis is used to prevent bots and spam. (Privacy Policy)
      AkismetThis is used to detect comment spam. (Privacy Policy)
      HubPages Google AnalyticsThis is used to provide data on traffic to our website, all personally identifyable data is anonymized. (Privacy Policy)
      HubPages Traffic PixelThis is used to collect data on traffic to articles and other pages on our site. Unless you are signed in to a HubPages account, all personally identifiable information is anonymized.
      Amazon Web ServicesThis is a cloud services platform that we used to host our service. (Privacy Policy)
      CloudflareThis is a cloud CDN service that we use to efficiently deliver files required for our service to operate such as javascript, cascading style sheets, images, and videos. (Privacy Policy)
      Google Hosted LibrariesJavascript software libraries such as jQuery are loaded at endpoints on the or domains, for performance and efficiency reasons. (Privacy Policy)
      Google Custom SearchThis is feature allows you to search the site. (Privacy Policy)
      Google MapsSome articles have Google Maps embedded in them. (Privacy Policy)
      Google ChartsThis is used to display charts and graphs on articles and the author center. (Privacy Policy)
      Google AdSense Host APIThis service allows you to sign up for or associate a Google AdSense account with HubPages, so that you can earn money from ads on your articles. No data is shared unless you engage with this feature. (Privacy Policy)
      Google YouTubeSome articles have YouTube videos embedded in them. (Privacy Policy)
      VimeoSome articles have Vimeo videos embedded in them. (Privacy Policy)
      PaypalThis is used for a registered author who enrolls in the HubPages Earnings program and requests to be paid via PayPal. No data is shared with Paypal unless you engage with this feature. (Privacy Policy)
      Facebook LoginYou can use this to streamline signing up for, or signing in to your Hubpages account. No data is shared with Facebook unless you engage with this feature. (Privacy Policy)
      MavenThis supports the Maven widget and search functionality. (Privacy Policy)
      Google AdSenseThis is an ad network. (Privacy Policy)
      Google DoubleClickGoogle provides ad serving technology and runs an ad network. (Privacy Policy)
      Index ExchangeThis is an ad network. (Privacy Policy)
      SovrnThis is an ad network. (Privacy Policy)
      Facebook AdsThis is an ad network. (Privacy Policy)
      Amazon Unified Ad MarketplaceThis is an ad network. (Privacy Policy)
      AppNexusThis is an ad network. (Privacy Policy)
      OpenxThis is an ad network. (Privacy Policy)
      Rubicon ProjectThis is an ad network. (Privacy Policy)
      TripleLiftThis is an ad network. (Privacy Policy)
      Say MediaWe partner with Say Media to deliver ad campaigns on our sites. (Privacy Policy)
      Remarketing PixelsWe may use remarketing pixels from advertising networks such as Google AdWords, Bing Ads, and Facebook in order to advertise the HubPages Service to people that have visited our sites.
      Conversion Tracking PixelsWe may use conversion tracking pixels from advertising networks such as Google AdWords, Bing Ads, and Facebook in order to identify when an advertisement has successfully resulted in the desired action, such as signing up for the HubPages Service or publishing an article on the HubPages Service.
      Author Google AnalyticsThis is used to provide traffic data and reports to the authors of articles on the HubPages Service. (Privacy Policy)
      ComscoreComScore is a media measurement and analytics company providing marketing data and analytics to enterprises, media and advertising agencies, and publishers. Non-consent will result in ComScore only processing obfuscated personal data. (Privacy Policy)
      Amazon Tracking PixelSome articles display amazon products as part of the Amazon Affiliate program, this pixel provides traffic statistics for those products (Privacy Policy)
      ClickscoThis is a data management platform studying reader behavior (Privacy Policy)