Loading…

Monte Carlo Method Estimator

Math Probability • Advanced Probability and Stochastic Processes

View all topics

Estimate integrals and probabilities with Monte Carlo sampling. Includes an animated scatter plot (darts), estimated value, and an uncertainty estimate \(\approx \sqrt{\mathrm{Var}/n}\).

Choose a preset (π darts / area under curve / probability in region), set the number of samples \(n\), and press Estimate. Use Play for an animated “throw-by-throw” view.
Throw points uniformly in \([0,1]\times[0,1]\). Count those inside quarter-circle \(x^2+y^2\le 1\). Then \(\hat\pi=4\cdot(\text{inside}/n)\).
Ready

Scatter plot (animated)

Progress 0 / 1000

The badge inside the plot shows the current estimate and an uncertainty scale (standard error).

Choose a mode and click “Estimate”.

Rate this calculator

0.0 /5 (0 ratings)
Be the first to rate.
Your rating
You can update your rating any time.