Monte Carlo

Last Updated: July 29, 2026 | By Mihail Sebastian | AI Dictionary

A method that estimates hard-to-compute quantities by running many random samples, used in ML for uncertainty estimates, dropout, and game-tree search.

What is Monte Carlo?

Monte Carlo is a family of methods that estimate hard-to-compute quantities by running many random samples and averaging the results. Named after the Monaco casino district, the approach trades exact calculation for repetition and chance.

Its value shows where direct math fails: problems with too many variables, no closed-form solution, or genuine uncertainty. Rather than solve such a problem, a Monte Carlo simulation plays it out thousands of times and reads the answer off the outcomes.

How Monte Carlo Works

The recipe has three steps. Define the possible inputs and their probabilities; draw random samples from them; run each sample through the system and aggregate the results into an estimate.

The law of large numbers does the heavy lifting: as the number of samples grows, the average of the outcomes converges on the true value. Accuracy is bought with computation – quadrupling the samples roughly halves the error.

Applications of Monte Carlo

Example of Monte Carlo

A classic demonstration is estimating Pi. Inscribe a quarter circle inside a unit square, then throw random points at the square.

Each point either lands inside the quarter circle or outside it. Since the quarter circle covers \(\pi/4\) of the square’s area, the fraction of points landing inside approaches \(\pi/4\) as the points accumulate. Multiply that fraction by 4 and you have an estimate of Pi.

With 100 points the estimate is rough. With a million, it is accurate to a few decimal places – no geometry solved, just sampling repeated until the answer emerges.

Related AI terms: Normal Distribution · Joint Probability Distribution · Dropout · Reinforcement Learning

Did you like the Monte Carlo gist?

Learn about 250+ need-to-know artificial intelligence terms in the AI Dictionary.

Mihail Sebastian — Writes about AI governance, regulation, and the technology behind them. Placeholder bio — replace with a real credential line. About

Read the Governor's Letter

Stay ahead with Governor's Letter, the newsletter delivering expert insights, AI updates, and curated knowledge directly to your inbox.

By subscribing to the Governor's Letter, you consent to receive emails from AI Guv.
We respect your privacy - read our Privacy Policy to learn how we protect your information.

Browse All AI Terms A–Z

Every term in the dictionary, in alphabetical order. Jump to a letter or scroll the full list.

A

B

C

D

E

F

G

H

I

J

K

L

M

N

O

P

Q

R

S

T

U

V

W

X

Y

Z