Monte Carlo Simulation for Business Decisions
How running thousands of random scenarios reveals the probability of a loss that a single forecast number always hides
Key takeaways
Monte Carlo simulation replaces each single-number assumption with a distribution, runs the model thousands of times, and returns the whole distribution of outcomes.
The error of an estimate shrinks as 1/√N: four times as many runs halve it, whatever the number of uncertain inputs. Always report it.
In the Hat Nau branch example, a base-case NPV of $17,859 hides a mean of $14,402 and a 24.5% probability of a negative NPV; holding demand at one level for the whole project raises that probability to 30.8%.
A project planned at 57 days from "most likely" task times has only an 8.9% chance of finishing on time; an 80% commitment needs about 65 days.
Results are conditional on the model. Correlations and independence assumptions can matter far more than the number of runs.
Business plans everywhere rest on single numbers: one sales forecast, one budget, one completion date. Hat Nau, the fictional coffee chain we follow throughout this series on simulation (starting with What Is Simulation?), is considering opening a branch in a new district. Imagine you are the analyst in charge of the project. You sit down with an Excel spreadsheet and enter the "most reasonable" figures you can think of: about 125 cups sold per day, an average price of $1.40 per cup, cost of goods sold (COGS) at 40% of revenue, and rent plus staff costs of $1,800 per month. The spreadsheet returns a tidy result: over five years, the project has a positive net present value (NPV) of about $17,900. The decision looks obvious.
But that tidy number is exactly the problem. No one knows for sure that exactly 125 cups will be sold each day. Some months are rainy and quiet. In some months a competitor opens right next door. The price of green coffee beans may rise. Each assumption in the spreadsheet is really a range of possible values, not a fixed point. When we compress the whole range into a single number, we lose the information that matters most to a decision maker: how likely is it that things go wrong?
Monte Carlo simulation was created to answer precisely that question. Instead of calculating once with one set of assumptions, we let the computer run tens of thousands or even millions of scenarios, each drawing input values at random according to their actual uncertainty. The result is no longer a single number but the whole distribution of possible outcomes. In Section 2 you will see that the "sure-fire profitable" project actually has a probability of loss of almost one in four.
The article has four sections, moving from "understanding" to "doing." Section 1 explains what Monte Carlo is: how the method was born, how it works, and how many runs are needed for reliable results. Section 2 puts the method into the context of business decisions through three cases: investment appraisal, project schedule management, and financial risk management. Section 3 widens the view to science, technology, and research, where Monte Carlo helps land robots on Mars, plan cancer radiotherapy, and build artificial intelligence. Section 4 shows how to build your own Monte Carlo model: the process, the pitfalls, and the tools.
1. Understanding Monte Carlo Simulation
Before using a tool, we need to understand where it comes from and how it works. This section answers three questions in order: under what circumstances the method was born, what its core idea is, and how to know whether the results are accurate enough.
1.1. Origins: A Card Game, a Computer, and a Bomb
The story of Monte Carlo begins in an unexpected place: a sickbed. In 1946, the mathematician Stanislaw Ulam was recovering from an illness and passing the time playing Canfield solitaire (a one-player game with a 52-card deck). He wondered: what is the probability that such a game can be won? He spent a long time trying to calculate it combinatorially, then realized there was a more practical way: lay out many games and simply count the proportion that come out (Eckhardt, 1987).
Ulam was working at the Los Alamos Laboratory, where scientists were struggling with neutron diffusion in fissile material, a problem for which analytical equations were almost useless. At that moment, the ENIAC electronic computer had just been built. According to Nicholas Metropolis's recollections, Ulam realized that statistical sampling techniques, long neglected because they were too laborious to do by hand, could be revived with computers, and he discussed the idea with John von Neumann (Metropolis, 1987). On March 11, 1947, von Neumann sent a handwritten letter to Robert Richtmyer, head of the Theoretical Division, outlining in detail how to use statistical methods to simulate the paths of individual neutrons (Metropolis, 1987).
The slightly humorous name "Monte Carlo" was suggested by Metropolis himself, who recalled that Ulam had an uncle who would borrow money from relatives because he "just had to go to Monte Carlo," home of the famous casino in Monaco (Metropolis, 1987). In 1949, Metropolis and Ulam formally introduced the method to the statistical community in the article "The Monte Carlo Method" in the Journal of the American Statistical Association (Metropolis & Ulam, 1949). Four years later, Metropolis, the Rosenbluths, and the Tellers published the Metropolis algorithm, run on the MANIAC computer at Los Alamos, laying the foundation for the Markov chain Monte Carlo (MCMC) family of methods that is now everywhere in Bayesian statistics (Metropolis et al., 1953). In 1970, W. K. Hastings generalized the algorithm, creating the well-known Metropolis–Hastings algorithm (Hastings, 1970).
It should be added that the idea of computing with random trials existed earlier, for example Buffon's needle problem in the 18th century. The physicist Enrico Fermi had used statistical sampling for neutron problems in Rome in the early 1930s, without publishing it, and later even built a mechanical device called FERMIAC to trace neutron paths (Metropolis, 1987). But only with electronic computers did it become feasible to repeat thousands of trials, and only then did Monte Carlo truly become a general-purpose computational tool. According to Kroese and colleagues (2014), the method has gone from a "last resort" to a mainstream method in modern science, finance, and engineering.
1.2. The Core Idea: Turning a Hard Problem into a Counting Problem
Ulam's story already reveals the idea behind the method: when you cannot calculate something with a formula, try it many times and count. This section presents the mathematical basis of the idea, the general procedure, and a familiar example.
The Underlying Principle: The Law of Large Numbers. The whole power of Monte Carlo rests on a well-known theorem of probability: the law of large numbers. It states that when a random experiment is repeated enough times, the average of the results converges to the true expected value.
You have met this idea in everyday life. Toss a coin 10 times and you might get 7 heads, or 70%. Toss it 10,000 times and the proportion of heads will almost certainly be very close to 50%. Monte Carlo exploits this regularity in reverse: when a quantity is too complex to calculate with a formula, we design a random experiment whose expected value equals that quantity, then let the computer repeat the experiment thousands of times and take the average.
The Four Steps of Every Monte Carlo Simulation. Whether it is applied to nuclear physics or a coffee shop, every Monte Carlo simulation goes through four steps:
The first step is to build the model, that is, to write down the relationship between inputs and outputs. For example: Profit = Cups × Price × (1 − COGS ratio) − Fixed cost. The second step is to assign probability distributions to uncertain inputs. Daily sales are not 125 cups, but "at least about 80, most likely 125, at most about 160." This is a triangular distribution. The third step is to sample and compute repeatedly. In each iteration, the computer draws a random set of input values from the distributions, feeds them into the model, and records the result. Each iteration is one "possible world." The fourth step is to aggregate and analyze the results. After 10,000 or 100,000 iterations, we have a set of results from which to plot the distribution, compute the mean and percentiles, and answer questions such as "what is the probability of a loss?"
A Note on "Randomness" in Computers. Computers do not truly generate random numbers. They use algorithms called pseudo-random number generators, which produce sequences that look random and pass statistical tests but are completely determined once the starting value (the seed) is known. This turns out to be an advantage: with a fixed seed, others can rerun your simulation and get exactly your results, making the research reproducible.
From uniformly distributed random numbers on (0, 1), we can obtain random numbers from any distribution (normal, triangular, exponential, Poisson…) through techniques such as the inverse transform method (Kroese et al., 2011).
Worked Example: Estimating π by "Throwing Darts." The most classic example for understanding Monte Carlo is estimating π. Imagine a square board 1 meter on each side, with a quarter circle of radius 1 meter drawn inside it, centered at one corner.
The area of the square is 1 × 1 = 1, and the area of the quarter circle is π × 1² / 4 = π/4.
Now throw darts completely at random at the board. Because every point is equally likely to be hit, the proportion of darts landing inside the quarter circle will approximate the ratio of the areas, namely π/4. Therefore:
π ≈ 4 × (points inside the quarter circle) / (total points)
On a computer, "throwing a dart" means drawing two random numbers x and y on (0, 1). The point (x, y) lies inside the quarter circle if x² + y² ≤ 1. I ran this simulation with an increasing number of points; the results are in Table 1, and Figure 1 shows both the cloud of points and the path of the estimates.

Table 1 reveals three important things:
First, the method works. From a rule so simple it seems naive (counting points), we estimate a mathematical constant with an error below two thousandths using one million points.
Second, the result does not improve steadily. Note that at N = 100,000 the error is actually larger than at N = 10,000. This was an unlucky run: 3.15912 lies about 3.4 standard errors from π, outside the 95% band in Figure 1. This is not a bug but the nature of randomness: each run is one sample, and a larger sample only tends to be more accurate; it is not guaranteed to be more accurate in every run. This is why Monte Carlo results should always come with a measure of uncertainty, as discussed in Section 1.3.
Third, accuracy improves very slowly. To gain one more correct decimal place, we need roughly 100 times as many points. This is the inherent weakness of the method.
Of course, nobody uses Monte Carlo to compute π in practice, because there are formulas that converge far faster. The example simply illustrates the principle: any quantity that can be expressed as a probability or an expected value can be estimated by simulating and counting.
1.3. Accuracy: How Many Runs Are Enough?
The π example shows that Monte Carlo results always contain error and improve only gradually as the number of runs increases. The natural next question is: how fast does the error shrink, and how can we control it?
The Square-Root Law: Error Shrinks as 1/√N. This is the single most important technical fact a Monte Carlo user needs to know. By the central limit theorem, the standard error of a Monte Carlo estimate is proportional to 1/√N, where N is the number of iterations. In practice, to halve the error you must quadruple the number of runs, and to reduce it tenfold you must run 100 times as many iterations.
To check this, I repeated the whole π experiment 400 times at each level of N and measured the standard deviation of the estimates. For this problem, theory gives a standard deviation of 1.642/√N. Table 2 and Figure 2 set the measurements beside the theory.
As Figure 2 shows, each time N quadruples the error roughly halves, matching the theoretical line almost perfectly.
A Surprising Advantage: Independence from Dimension. A convergence rate of 1/√N sounds slow, but it hides a major advantage: the rate does not depend on the number of dimensions of the problem. Traditional numerical integration methods (grid-based) work very well in one or two dimensions, but when a problem has 10, 50 or 1,000 uncertain variables, the number of grid points required explodes exponentially. Hastings (1970) pointed out that for high-dimensional numerical problems, Monte Carlo is often more efficient than conventional numerical methods. This is why Monte Carlo dominates fields such as multi-asset derivative pricing, particle physics, and portfolio risk models with hundreds of variables.
Always Report a Confidence Interval. Because a Monte Carlo result is a statistical estimate, a professional report should not just say "the probability of a loss is 24.5%" but should include its error. With 100,000 runs, the standard error of a proportion of about 24.5% is √(0.245 × 0.755 / 100,000) ≈ 0.14 percentage points, so the 95% confidence interval is roughly 24.2% to 24.7% (computed from the unrounded 24.46%). This tells the reader that the number of runs is large enough for a stable conclusion.
Variance Reduction Techniques. When each run is expensive (for example, simulating a spacecraft for several minutes), researchers use variance reduction techniques to reach the same accuracy with fewer runs. Common techniques include antithetic variates, control variates, importance sampling and Latin hypercube sampling (Kroese et al., 2011). The common idea is to sample more cleverly rather than "blindly," so that each run carries more information.
2. Monte Carlo in Business Decision-Making
With the principle in hand, we return to the question from the introduction: how can we make better decisions when the future is uncertain? This section walks through three business cases, from the scale of a coffee shop to that of a bank. The first two can be rerun from the code printed here; the third summarizes how financial institutions use the method.
2.1. Investment Appraisal: Is the Coffee Shop Really Worth It?
The first case returns to the spreadsheet in the introduction and replaces each fixed number with a distribution.
From "Scenario Analysis" to "Risk Analysis." In 1964, David B. Hertz, then at McKinsey, published "Risk Analysis in Capital Investment" in the Harvard Business Review. He argued that appraising investment projects with single-point estimates hides the real risk, and proposed assigning probability distributions to each factor affecting the rate of return, then using a computer to combine them (Hertz, 1964). The article is often regarded as one of the starting points of Monte Carlo simulation in corporate finance and was reprinted by the Harvard Business Review in 1979 as a classic.
Let us apply exactly that spirit to Hat Nau's new branch from the introduction.
Model Setup. Table 3 lists the project assumptions. Price, COGS ratio, fixed cost, and growth are drawn once for the whole project; cups sold are redrawn every year and multiplied by the cumulative growth factor. Taxes and salvage value are ignored for simplicity.
In the base case, first-year cash flow is 125 × 360 × $1.40 × 60% − $21,600 = $16,200, and NPV ≈ $17,859. An ordinary business plan would stop here and conclude: invest.
Results from 100,000 simulated scenarios. Figure 3 plots the NPV of 100,000 scenarios: the orange part shows loss-making scenarios, and the dashed line is the base-case NPV. Table 4 summarizes the main figures.
Reading the Results Like a Manager. Table 4 holds three important lessons.
Lesson 1: The "base case" is not the average case. The expected NPV ($14,402) is about $3,457 lower than the base-case NPV ($17,859). The reason lies in the distribution of cups sold: the most likely value is 125, but the downside range (from 125 down to 80) is wider than the upside range (from 125 up to 160), so the actual mean is only about 122 cups. Putting that mean into the spreadsheet instead of 125 gives an NPV of about $14,027; the small remaining difference comes from the nonlinearity of compound growth. By planning with the "most likely" value, we unintentionally became more optimistic than reality. This is a variant of what Savage (2009) calls the "flaw of averages": plans built on representative values are systematically off compared with the actual average outcome. In nonlinear models—with stockouts, capacity limits, or penalties—even the correct average input gives the wrong average output.
Lesson 2: The risk of loss is substantial. In roughly one scenario in four, the project fails to earn the required 12%, leaving its owner worse off than the alternative. This does not mean the investment should not be made, but the owner needs to know it before committing the money, in order to set aside a contingency reserve, negotiate a more flexible lease or test a takeaway model first.
Lesson 3: Know how much you could lose. The 5th percentile shows that in the worst 5% of scenarios, the NPV is below −$17,482. This is a form of "Value at Risk," a concept banks use every day, as discussed in Section 2.3.
Sensitivity and the independence assumption. A Monte Carlo model also allows sensitivity analysis: by measuring the correlation between each input and NPV across the 100,000 scenarios, we learn which factors matter most. Figure 4 ranks the five inputs.
Figure 4 puts price first (0.59), followed by customer growth (0.49) and five-year average cups sold (0.42), so market research should focus there. Cups sold rank only third because the model draws them independently each year: a slow year is offset by a busy one. That assumption may be too optimistic, since a bad location tends to stay bad for all five years. If cups are drawn once for the whole project, the mean NPV barely changes ($14,370), but the probability of a loss rises from 24.5% to 30.8% and the 5th percentile falls to −$27,054. A modeling decision that looked minor changed the risk picture more than any simulation error.
The simulation code. The following Python script produces the figures in Table 4:
import numpy as np
rng = np.random.default_rng(2026)
R = 100_000
price = rng.normal(1.40, 0.12, R) # USD per cup
cogs = rng.uniform(0.35, 0.45, R)
fixed = rng.normal(1800, 160, R) # USD per month
growth = rng.normal(0.03, 0.04, R)
npv = np.full(R, -48_000.0) # USD
for year in range(1, 6):
cups = rng.triangular(80, 125, 160, R) * (1 + growth) ** (year - 1)
cash = cups * 360 * price * (1 - cogs) - 12 * fixed
npv += cash / 1.12 ** year
print(npv.mean(), np.median(npv), np.percentile(npv, [5, 95]))
print((npv < 0).mean())2.2. Project Schedule Management: Why Are Projects Always Late?
If the coffee shop example shows uncertainty about money, this example shows uncertainty about time, a problem familiar to anyone who has ever managed a project.
The Problem. A company is rolling out a new sales management system consisting of the five tasks in Table 5. Task C runs in parallel with B, and task D starts only when both B and C are finished.
Planning with the "most likely" durations gives a total of 10 + max(30, 28) + 12 + 5 = 57 days. The project manager reports to the board: the project will be finished in 57 days.
Simulation Results. I simulated 100,000 runs, with each task's duration following a triangular distribution with the three parameters in Table 5. Figure 5 is the cumulative curve (S-curve), which shows the probability that the project finishes by each date; Table 6 lists the main milestones.
The 57-day plan has only about a 9% chance of being met. In other words, the chance of being late exceeds 90%, even if nothing unusual goes wrong.
Two Reasons Projects Are "Always Late." Reason 1: Right-skewed duration distributions. A task rarely finishes much earlier than expected but can finish much later. When many right-skewed tasks are added together, the delays accumulate: simply replacing most likely durations with mean durations along the path A, B, D, E already gives 60.6 days.
Reason 2: Merge bias. Task D must wait for both B and C to finish. The waiting time is the larger of two random values, and that maximum has an expected value at least as high as either one alone, and usually higher. In the simulation, B averages 32.0 days and C 29.3 days, but the wait for both averages 32.7 days; C is the later task in 28% of scenarios. The traditional critical path method (CPM) with fixed numbers ignores this effect completely, whereas Monte Carlo captures it naturally.
If the board wants a commitment with 80% confidence, a reasonable figure is the P80 of 64.3 days, rounded up to 65 days, not 57.
Practice at NASA. This is not a textbook exercise. NASA has applied Joint Cost and Schedule Confidence Level (JCL) analysis to all major projects since 2009 (Johnson & Elliott, n.d.). For space flight projects with life-cycle costs above $250 million, JCL analysis combines cost, schedule, and risk uncertainties in a Monte Carlo simulation, and NASA policy recommends budgeting at the 70% JCL, the point at which both cost and schedule have a 70% chance of being met (Prince & Smart, 2018). In other words, NASA does not accept a single budget figure; it requires a figure that comes with a probability.
2.3. Finance and Banking: From Pricing to Risk Management
Finance is the business field in which Monte Carlo is used most extensively, because asset prices are random quantities by nature. The three applications below correspond to three audiences: derivatives traders, banks, and individual investors.
Pricing Options and Derivatives. In 1977, Phelim Boyle published "Options: A Monte Carlo Approach" in the Journal of Financial Economics, the first proposal to use Monte Carlo simulation to price options (Boyle, 1977). The idea is very intuitive: simulate tens of thousands of possible future paths of the share price, compute the option's payoff on each path, average them and discount back to the present.
For a simple European option, the Black–Scholes formula already gives the exact answer. But markets offer countless far more complex products: Asian options (whose payoff depends on the average price over the period), barrier options (which expire if the price touches a threshold) and basket options on several shares. For these products a closed-form solution often does not exist, and Monte Carlo becomes the standard method because it can handle any path-dependent payoff structure.
Measuring a Bank's Market Risk. A familiar question for banks with a trading business is: "At 99% confidence, what loss will tomorrow's portfolio not exceed?" That figure is the Value at Risk (VaR). In 1995, the Basel Committee on Banking Supervision (BCBS) proposed allowing banks to use internal models to calculate capital requirements for market risk, provided they met strict qualitative and quantitative standards (Basel Committee on Banking Supervision [BCBS], 1995). The three most common ways to calculate VaR are the variance–covariance method, historical simulation and Monte Carlo simulation. Of these, Monte Carlo is the most flexible because it can model fat tails, non-linear dependence, and complex derivatives, at the price of heavy computation.
The procedure is in principle identical to the coffee shop example: simulate tens of thousands of scenarios for movements in interest rates, exchange rates, and share prices (taking their correlations into account), revalue the whole portfolio in each scenario, then read off the 1st percentile of the profit-and-loss distribution. VaR does not say how bad losses are once the threshold is breached, so the later Basel market risk standard moved internal models to expected shortfall, the average of losses beyond the threshold (Basel Committee on Banking Supervision, 2019). In a Monte Carlo simulation this is easy to compute: average the scenarios beyond the percentile.
Personal Retirement Planning. Monte Carlo has also entered personal finance. Large fund managers use simulation to answer the question: "Given my current savings and expected spending, how likely is it that my money will last for the rest of my life?" For instance, the Vanguard Capital Markets Model generates return distributions from 10,000 simulations for each asset class, and the company's analysis suggests that withdrawal rates of about 3.5% to 4% a year can be sustained for many households for 30 years or more (Vanguard, 2026). The result is not "you will have enough money" but "you have about an X% chance of having enough money," a far more honest way to talk about an uncertain future.
3. Monte Carlo in Science, Technology and Research
Beyond business, Monte Carlo is a foundational computational tool in many sciences. This section moves from physical systems (spacecraft, radiation particles, the atmosphere) to information systems (artificial intelligence and statistics).
3.1. Science and Engineering
The three applications below share one feature: the physical system is too complex or too expensive to test for real many times.
Landing the Curiosity Rover on Mars. On August 6, 2012 (UTC), the Mars Science Laboratory delivered the Curiosity rover, at that time the heaviest vehicle ever landed on Mars, to Gale Crater. The entry, descent, and landing phase lasted only a few minutes but was subject to countless uncertainties: Martian atmospheric density, winds, aerodynamic properties, and navigation errors.
To choose the final target point, NASA's Jet Propulsion Laboratory (JPL) ran a high-fidelity Monte Carlo simulation of the entire landing sequence, in which models of the spacecraft, atmosphere, and aerodynamics were varied at random and run in closed loop with a copy of the actual flight software. The scatter of landing points was combined with hazard maps of the terrain to assess overall risk (Jet Propulsion Laboratory, n.d.). The landing ellipse often shown in space news can be understood as the outline of that "cloud" of simulated landing points.
Particle Physics and Cancer Radiotherapy. Monte Carlo was born from a neutron problem, and particle physics is still one of the fields that uses it most. The Geant4 toolkit, developed by an international collaboration including CERN, simulates the passage of particles through matter by tracking each random interaction. According to Agostinelli et al. (2003), the toolkit has been used in particle physics, nuclear physics, accelerator design, space engineering, and medical physics.
The most notable medical application is cancer radiotherapy. Physicians need to know precisely the radiation dose received by a tumor and the surrounding healthy tissue. When a beam passes through tissues of different density, such as bone, lung, and soft tissue, simple dose calculation algorithms are prone to error. Monte Carlo simulation solves this by tracking millions of individual photons and electrons, each undergoing random interactions according to the laws of physics. Fielding (2023) describes Monte Carlo algorithms as the "gold standard" for calculating absorbed dose, and Andreo (2018) notes that the use of Monte Carlo in radiotherapy dosimetry has grown almost exponentially in recent decades. Monte Carlo algorithms are now a common feature of most commercial treatment planning systems (Fielding, 2023).
Probabilistic Weather Forecasting. When a weather forecast says "70% chance of rain," that number comes from thinking very close to Monte Carlo. The atmosphere is a chaotic system: tiny differences in initial conditions can lead to completely different forecasts after a few days. Since 1992, the European Centre for Medium-Range Weather Forecasts (ECMWF) has run an ensemble forecasting system; today the weather model is run 51 times from slightly different initial conditions (European Centre for Medium-Range Weather Forecasts [ECMWF], n.d.). The proportion of runs that produce rain is the basis for the probability of rain in the forecast.
Note that ensemble forecasting is not "pure" Monte Carlo, since the initial perturbations are deliberately designed rather than drawn completely at random, and 51 runs is very few compared with the thousands usually seen. The philosophy, however, is the same: instead of a single forecast, run many scenarios to see the degree of uncertainty.
3.2. Artificial Intelligence and Modern Statistics
In information systems, what is drawn at random is no longer a particle or a gust of wind but a move, a parameter, or a data point.
AlphaGo and Monte Carlo Tree Search. Go was long regarded as the hardest classic game for artificial intelligence, because the number of possible moves is far too large to search exhaustively. The key solution was Monte Carlo Tree Search (MCTS): instead of calculating every branch, early programs played out a very large number of random games from a position and used the win rate to judge which moves are promising.
In 2016, Google DeepMind published AlphaGo in Nature, combining Monte Carlo simulation with two deep neural networks: a policy network to select moves and a value network to evaluate positions. It was the first time a computer program had defeated a professional player on a full-size board (the European champion lost 5–0), a milestone previously thought to be at least a decade away (Silver et al., 2016).
Bayesian Statistics and MCMC. In Bayesian statistics we often need the posterior distribution of the parameters, a calculation that requires high-dimensional integrals that almost never have a closed-form solution. Markov chain Monte Carlo (MCMC), built on the Metropolis (Metropolis et al., 1953) and Metropolis–Hastings (Hastings, 1970) algorithms, solves this by generating a chain of samples whose long-run distribution is exactly the desired posterior. Software that researchers use every day, such as Stan, PyMC and JAGS, is based on this idea.
Sample Size and Statistical Power. A little-known but very useful application for researchers is estimating statistical power by simulation. For complex study designs such as cluster randomized trials or multilevel models, standard sample size formulas often do not exist. Arnold and colleagues (2011) describe a simple approach: assume a true effect, simulate thousands of datasets following the study design, run the test on each, and the proportion of significant tests is the power. The authors argue that the approach is widely applicable in epidemiological and social science research.
The Bootstrap: Monte Carlo on the Observed Data. Another familiar application of Monte Carlo in statistics is the bootstrap. Introduced by Bradley Efron in 1979, the bootstrap estimates the sampling distribution of a statistic by resampling with replacement from the observed data itself (Efron, 1979). The bootstrap uses the Monte Carlo technique (random repetition many times) to approximate a distribution, so it can be regarded as an application of Monte Carlo.
What distinguishes the bootstrap from the other Monte Carlo simulations in this article is the source of randomness, as Table 7 summarizes.
When testing a mediation effect in a PLS-SEM model with 5,000 or 10,000 bootstrap samples, a researcher is using exactly this technique: Monte Carlo is quietly at work behind every reported bootstrap confidence interval.
4. Applying Monte Carlo in Practice
The examples in Sections 2 and 3 may make Monte Carlo look like a tool reserved for specialists. In fact, anyone who can use Excel can build a simple model. This final section summarizes the process, the pitfalls to avoid, and the tools to get started.
4.1. A Seven-Step Modeling Process
The process below suits people working in finance, project management or research.
Step 1. Define the decision question. Start from the question, not the model. "What is the probability that the project loses money?" or "How much contingency do we need for 80% confidence?" are good questions. The question determines which outputs to measure.
Step 2. Build a deterministic model first. Get the model working correctly with a fixed set of values, check the formulas carefully, and only then introduce randomness. A wrong model is still wrong after 100,000 runs.
Step 3. Choose a distribution for each uncertain input. Triangular or PERT distributions suit expert estimates of minimum, most likely, and maximum, and are very common in project management. The normal distribution suits quantities that vary symmetrically around a mean, such as measurement errors. The lognormal distribution suits positive, right-skewed quantities such as asset prices or costs. The uniform distribution is for when you know only the range and nothing more. And when you have enough historical data, use the data itself as an empirical distribution. PERT is a form of beta distribution that puts more weight near the most likely value than the triangular does, so with the same three parameters it gives less dispersed results.
Step 4. Model correlations between inputs. This is the most frequently skipped step. Price and volume are usually negatively correlated. Revenue and bad debts also move in opposite directions in a recession. Treating such inputs as independent misjudges risk: it is underestimated when factors deteriorate together and overestimated when they offset each other.
Step 5. Choose the number of iterations and fix the seed. For most business problems, 10,000 to 100,000 iterations are enough. Check stability by running with two different seeds: if the results change noticeably, increase the number of iterations.
Step 6. Analyze and present the results. Show the distribution chart, the S-curve, key percentiles (P10, P50, P90), exceedance probabilities and a tornado chart of sensitivities. Avoid reducing everything to a single average, because that takes you straight back to the original problem.
Step 7. Validate and update. Compare the model's predictions with reality as new data arrives, and adjust the input distributions.
4.2. Pitfalls to Avoid
"Garbage in, garbage out," probabilistic edition. Monte Carlo does not create new information. If the input distributions are wrong, the output will be wrong, only prettier and more scientific-looking. A distribution chart with 100,000 data points can create a false sense of precision.
Underestimating the tails. The normal distribution assigns tiny probabilities to large movements, whereas real financial markets have "fat tails." Using a normal distribution for such quantities makes large shocks look far rarer than they are.
Ignoring correlation. As noted in Step 4, risks tend to strike together: in a recession, revenue falls while the cost of capital and bad debts rise at the same time.
Confusing model uncertainty with parameter uncertainty. Whether cups are drawn per year or per project in Section 2.1 is model uncertainty. Monte Carlo tells you what happens if the model is right. It does not tell you whether the model itself is right.
Running too few iterations. For small probabilities such as a 1% risk, many runs are needed for a stable estimate. Always compute a confidence interval for the result, as described in Section 1.3.
Misinterpreting the results. "A 24.5% probability of loss" is a probability according to the model, based on the chosen assumptions, not an objective fact about the future.
4.3. Tools and Sample Code to Get Started
For small models, Microsoft Excel is enough and excellent for teaching: RAND() generates uniform random numbers and NORM.INV(RAND(), mean, standard_dev) generates normally distributed ones; combine them with the Data Table feature to repeat a few thousand times. Specialized Excel add-ins such as @RISK, Oracle Crystal Ball, and ModelRisk provide many distributions, correlation handling, and sensitivity charts. Python offers NumPy (random number generation and very fast vectorized computation), SciPy (distributions), Matplotlib (charts), and PyMC (MCMC). R is a powerful statistical ecosystem, with packages such as boot for the bootstrap and rstan for MCMC. Some professional scheduling tools also have built-in Monte Carlo schedule risk analysis.
Below is a minimal Python script for the project schedule example in Section 2.2. You can run it right away on Google Colab:
import numpy as np
rng = np.random.default_rng(2026) # fix the seed for reproducibility
R = 100_000 # number of scenarios
# Duration of each task: (optimistic, most likely, pessimistic)
A = rng.triangular(8, 10, 14, R)
B = rng.triangular(26, 30, 40, R)
C = rng.triangular(22, 28, 38, R) # runs in parallel with B
D = rng.triangular(10, 12, 16, R)
E = rng.triangular(4, 5, 7, R)
total = A + np.maximum(B, C) + D + E
print(f"Probability of finishing within 57 days: {(total <= 57).mean():.1%}")
print(f"P50 = {np.percentile(total, 50):.1f} days")
print(f"P80 = {np.percentile(total, 80):.1f} days")Running the script reproduces Table 6: a probability of 8.9%, a P50 of 61.3 days, and a P80 of 64.3 days. With another seed the probability shifts slightly, a small, live illustration of the Monte Carlo error discussed in Section 1.3: with 100,000 runs, the standard error of this proportion is about 0.09 percentage points. It is only about ten lines of code, yet it completely changes how you talk to the board: from "the project will be finished in 57 days" to "to have an 80% chance of being on time, we need about 65 days."
Conclusion
Eight decades after Ulam's game of solitaire, Monte Carlo simulation has moved from a nuclear weapons laboratory into almost every field that requires decisions under uncertainty: derivative pricing, bank risk management, space project budgeting, landing on other planets, radiotherapy planning, weather forecasting, playing Go and analyzing research data.
The power of the method does not lie in complex mathematics, since its core principle is just "try many times and count." Its real power lies in the change of mindset it brings. Instead of asking "what will the result be?" we learn to ask "what could the results be, and how likely is each?". The second question is harder, but more honest about the uncertain world we live in, and therefore leads to better decisions.
Next time you see a business plan with a single NPV figure, or a project schedule with a single completion date, ask yourself: what is the probability that this number will come true? If no one can answer, it may be time to run a Monte Carlo simulation.
Monte Carlo simulation does, however, have an important limitation: it answers questions about the final result without describing how the system evolves over time. Once Hat Nau's new branch opens, new questions arise, such as how long the queue will be at 8 a.m., and whether to add a cashier or a barista. Answering them requires a type of simulation that follows each customer minute by minute: discrete-event simulation.
Data note: Hat Nau is a fictional coffee chain. The coffee branch, project schedule and π examples in this article are hypothetical models simulated in Python (NumPy, seed = 2026) to illustrate the method; they do not reflect the figures of any actual business. Results may differ slightly if rerun with a different seed.
References
Agostinelli, S., Allison, J., Amako, K., Apostolakis, J., Araujo, H., Arce, P., Asai, M., Axen, D., Banerjee, S., Barrand, G., Behner, F., Bellagamba, L., Boudreau, J., Broglia, L., Brunengo, A., Burkhardt, H., Chauvie, S., Chuma, J., Chytracek, R., . . . Zschiesche, D. (2003). Geant4—A simulation toolkit. Nuclear Instruments and Methods in Physics Research Section A: Accelerators, Spectrometers, Detectors and Associated Equipment, 506(3), 250–303. https://doi.org/10.1016/S0168-9002(03)01368-801368-8)
Andreo, P. (2018). Monte Carlo simulations in radiotherapy dosimetry. Radiation Oncology, 13, Article 121. https://doi.org/10.1186/s13014-018-1065-3
Arnold, B. F., Hogan, D. R., Colford, J. M., Jr., & Hubbard, A. E. (2011). Simulation methods to estimate design power: An overview for applied research. BMC Medical Research Methodology, 11, Article 94. https://doi.org/10.1186/1471-2288-11-94
Basel Committee on Banking Supervision. (1995). An internal model-based approach to market risk capital requirements. Bank for International Settlements. https://www.bis.org/publ/bcbs17.htm
Basel Committee on Banking Supervision. (2019). Minimum capital requirements for market risk. Bank for International Settlements. https://www.bis.org/bcbs/publ/d457.htm
Boyle, P. P. (1977). Options: A Monte Carlo approach. Journal of Financial Economics, 4(3), 323–338. https://doi.org/10.1016/0304-405X(77)90005-890005-8)
Eckhardt, R. (1987). Stan Ulam, John von Neumann, and the Monte Carlo method. Los Alamos Science, 15(Special Issue), 131–141. https://permalink.lanl.gov/object/tr?what=info:lanl-repo/lareport/LA-UR-88-9068
Efron, B. (1979). Bootstrap methods: Another look at the jackknife. The Annals of Statistics, 7(1), 1–26. https://doi.org/10.1214/aos/1176344552
European Centre for Medium-Range Weather Forecasts. (n.d.). Quantifying forecast uncertainty. Retrieved November 23, 2026, from https://www.ecmwf.int/en/research/modelling-and-prediction/quantifying-forecast-uncertainty
Fielding, A. L. (2023). Monte-Carlo techniques for radiotherapy applications I: Introduction and overview of the different Monte-Carlo codes. Journal of Radiotherapy in Practice, 22, Article e80. https://doi.org/10.1017/S1460396923000079
Hastings, W. K. (1970). Monte Carlo sampling methods using Markov chains and their applications. Biometrika, 57(1), 97–109. https://doi.org/10.1093/biomet/57.1.97
Hertz, D. B. (1964). Risk analysis in capital investment. Harvard Business Review, 42(1), 95–106. https://hbr.org/1979/09/risk-analysis-in-capital-investment
Jet Propulsion Laboratory. (n.d.). MSL EDL targeting and simulation. NASA Jet Propulsion Laboratory Robotics. Retrieved November 23, 2026, from https://robotics.jpl.nasa.gov/what-we-do/flight-projects/mars-science-laboratory/edl-targeting-and-simulation
Johnson, J. K., & Elliott, D. E. (n.d.). Understanding the results of an integrated cost-schedule risk analysis [Paper]. NASA Technical Reports Server. https://ntrs.nasa.gov/api/citations/20250002084/downloads/UnderstandingResultsIntegratedCostScheduleRisk_JKJ.pdf
Kroese, D. P., Brereton, T., Taimre, T., & Botev, Z. I. (2014). Why the Monte Carlo method is so important today. WIREs Computational Statistics, 6(6), 386–392. https://doi.org/10.1002/wics.1314
Kroese, D. P., Taimre, T., & Botev, Z. I. (2011). Handbook of Monte Carlo methods. Wiley. https://doi.org/10.1002/9781118014967
Metropolis, N. (1987). The beginning of the Monte Carlo method. Los Alamos Science, 15(Special Issue), 125–130. https://permalink.lanl.gov/object/tr?what=info:lanl-repo/lareport/LA-UR-88-9067
Metropolis, N., & Ulam, S. (1949). The Monte Carlo method. Journal of the American Statistical Association, 44(247), 335–341. https://doi.org/10.1080/01621459.1949.10483310
Metropolis, N., Rosenbluth, A. W., Rosenbluth, M. N., Teller, A. H., & Teller, E. (1953). Equation of state calculations by fast computing machines. The Journal of Chemical Physics, 21(6), 1087–1092. https://doi.org/10.1063/1.1699114
Prince, A., & Smart, C. (2018). Being certain about uncertainty—Part 2: Can we see extreme cost growth coming? [Paper]. NASA Technical Reports Server. https://ntrs.nasa.gov/api/citations/20180005523/downloads/20180005523.pdf
Savage, S. L. (2009). The flaw of averages: Why we underestimate risk in the face of uncertainty. Wiley. https://www.oreilly.com/library/view/the-flaw-of/9780470488126/
Silver, D., Huang, A., Maddison, C. J., Guez, A., Sifre, L., van den Driessche, G., Schrittwieser, J., Antonoglou, I., Panneershelvam, V., Lanctot, M., Dieleman, S., Grewe, D., Nham, J., Kalchbrenner, N., Sutskever, I., Lillicrap, T., Leach, M., Kavukcuoglu, K., Graepel, T., & Hassabis, D. (2016). Mastering the game of Go with deep neural networks and tree search. Nature, 529(7587), 484–489. https://doi.org/10.1038/nature16961
Vanguard. (2026, August 11). The key to retirement income? It's not a number. https://corporate.vanguard.com/content/corporatesite/us/en/corp/articles/the-key-to-retirement-income-its-not-a-number.html






Discussion about this post