We are independent & ad-supported. We may earn a commission for purchases made through our links.

Advertiser Disclosure

Our website is an independent, advertising-supported platform. We provide our content free of charge to our readers, and to keep it that way, we rely on revenue generated through advertisements and affiliate partnerships. This means that when you click on certain links on our site and make a purchase, we may earn a commission. Learn more.

How We Make Money

We sustain our operations through affiliate commissions and advertising. If you click on an affiliate link and make a purchase, we may receive a commission from the merchant at no additional cost to you. We also display advertisements on our website, which help generate revenue to support our work and keep our content free for readers. Our editorial team operates independently from our advertising and affiliate partnerships to ensure that our content remains unbiased and focused on providing you with the best information and recommendations based on thorough research and honest evaluations. To remain transparent, we’ve provided a list of our current affiliate partners here.

What is the Monte Carlo Method?

By Brendan McGuigan
Updated May 17, 2024
Our promise to you
WiseGEEK is dedicated to creating trustworthy, high-quality content that always prioritizes transparency, integrity, and inclusivity above all else. Our ensure that our content creation and review process includes rigorous fact-checking, evidence-based, and continual updates to ensure accuracy and reliability.

Our Promise to you

Founded in 2002, our company has been a trusted resource for readers seeking informative and engaging content. Our dedication to quality remains unwavering—and will never change. We follow a strict editorial policy, ensuring that our content is authored by highly qualified professionals and edited by subject matter experts. This guarantees that everything we publish is objective, accurate, and trustworthy.

Over the years, we've refined our approach to cover a wide range of topics, providing readers with reliable and practical advice to enhance their knowledge and skills. That's why millions of readers turn to us each year. Join us in celebrating the joy of learning, guided by standards you can trust.

Editorial Standards

At WiseGEEK, we are committed to creating content that you can trust. Our editorial process is designed to ensure that every piece of content we publish is accurate, reliable, and informative.

Our team of experienced writers and editors follows a strict set of guidelines to ensure the highest quality content. We conduct thorough research, fact-check all information, and rely on credible sources to back up our claims. Our content is reviewed by subject matter experts to ensure accuracy and clarity.

We believe in transparency and maintain editorial independence from our advertisers. Our team does not receive direct compensation from advertisers, allowing us to create unbiased content that prioritizes your interests.

The Monte Carlo method is actually a broad class of research and analysis methods, with the unifying feature being a reliance on random numbers to investigate a problem. The fundamental premise is that while certain things might be entirely random and not useful over small samples, over large samples they become predictable and can be used to solve various problems.

A simple example of the Monte Carlo method can be seen in a classic experiment, using random dart throws to determine an approximate value of pi. Let’s take a circle and cut it into quarters. Then we’ll take one of those quarters and place it within a square. If we were to randomly throw darts at that square, and discount any that fell out of the square, some would land within the circle, and some would land outside. The proportion of darts that landed in the circle to darts that landed outside would be roughly analogous to one-fourth of pi.

Of course, if we only threw two or three darts, the randomness of the throws would make the ratio we arrived at also fairly random. This is one of the key points of the Monte Carlo method: the sample size must be large enough for the results to reflect the actual odds, and not have outliers affect it drastically. In the case of randomly throwing darts, we find that somewhere in the low-thousands of throws the Monte Carlo method starts to yield something very close to pi. As we get into the high thousands the value becomes more and more precise.

Of course, actually throwing thousands of darts at a square would be somewhat difficult. And making sure to do them entirely randomly would be more or less impossible, making this more of a thought experiment. But with a computer we can make a truly random “throw,” and we can quickly do thousands, or tens of thousands, or even millions of throws. It is with computers that the Monte Carlo method becomes a truly viable method of calculation.

One of the earliest thought experiments like this is known as the Buffon’s Needle Problem, which was first presented in the late-18th century. This presents two parallel strips of wood, with the same width, laying on the floor. It then assumes we drop a needle on to the floor, and asks what the probability is that the needle will land at such an angle that it crosses a line between two of the strips. This can be used to calculate pi to an impressive degree. Indeed, an Italian mathematician, Mario Lazzarini, actually did this experiment, tossing the needle 3408 times, and arrived at 3.1415929 (355/113), an answer remarkably close to the actual value of pi.

The Monte Carlo method has uses far beyond the simple calculation of pi, of course. It is useful in many situations where exact results can’t be computed, as a sort of shorthand answer. It was most famously used in Los Alamos during the early nuclear projects of the 1940s, and it was these scientists who coined the term Monte Carlo method, to describe the randomness of it, as it was similar to the many games of chance played in Monte Carlo. Various forms of the Monte Carlo method can be found in computer design, physical chemistry, nuclear and particle physics, holographic sciences, economics, and many other disciplines. Any area where the power needed to calculate precise results, such as the movement of millions of atoms, can potentially be greatly assisted by utilizing the Monte Carlo method.

WiseGEEK is dedicated to providing accurate and trustworthy information. We carefully select reputable sources and employ a rigorous fact-checking process to maintain the highest standards. To learn more about our commitment to accuracy, read our editorial process.

Discussion Comments

WiseGEEK, in your inbox

Our latest articles, guides, and more, delivered daily.

WiseGEEK, in your inbox

Our latest articles, guides, and more, delivered daily.