Monte Carlo Area
Shape
Quarter Circle (estimate π)
Full Circle
Triangle
Pentagon
Five-Pointed Star
Custom Shape
Speed (dots / frame)
1
Start
Reset
Draw Shape
Samples (N)
0
Est. Area
—
True Area
—
Area Error
—
π estimate
—
π error
—
Inside shape
Outside shape
Random dots fall in the unit square. The fraction landing inside the shape estimates its area.
Hold and drag to draw · Release to finish
← Home