Estimating the Value of Pi

About this model

A Monte Carlo estimate of pi: random coordinates are drawn, those within the circle are counted against the square, and the ratio gives the estimate. Press Play to see the estimate approach pi as samples accumulate.

"Estimating the Value of Pi" is a public Machinations diagram shared in the Community by Machinations, with 24 components.

It was created in October 2026 and last edited in November 2026.

Open the diagram in the Machinations app and press Play to watch the resources move, adjust its values to test how the system responds, or remix it to make an editable copy in My diagrams.

More from Machinations