Learn Monte Carlo simulation for Excel models
Worked examples with free Excel templates, and guides to Monte Carlo simulation for the models you already have in Excel. The numbers on these pages come from real runs of the xellstorm engine.
Worked examples
Each model opens in the app with its inputs, outputs and targets set. Its workbook downloads as a free Excel template: the model itself, with the simulation setup kept in the app.
- Business case
What is the chance of a negative NPV?
A business case with a base-case NPV of USD 562k has a negative NPV in 29.6% of simulated outcomes. How to simulate NPV and IRR, with a free Excel template. - Project cost and schedule
How much contingency does a construction project need?
Worked example: a building estimate’s most likely costs are exceeded in 94.2% of simulated outcomes. Size the construction cost contingency with Monte Carlo. Free Excel template. - Risk register
How much contingency does a risk register need?
Probability × likely impact sums to 291; the simulated mean loss is 359 and the worst 5% average 1,436 (USD thousands). Size contingency from the tail. Free Excel template. - Inventory policy
Which reorder point balances cost against stockouts?
Raising the reorder point from 180 to 250 units cuts the chance of a stockout year from 28.0% to 5.1% and adds 345 to an average annual cost of 2,133. Free Excel template. - Tolerance stack-up
Tolerance stack-up analysis: worst case, RSS or Monte Carlo?
A housing and five parts: worst case lets the gap shrink to 0.120 mm; RSS predicts 3.29% of gaps below 0.4 mm and 20,000 Monte Carlo trials find 3.21%. Free Excel template. - Equipment reliability
How likely is a series system to fail within a year?
Four components in series with Weibull lifetimes: 79.0% of units fail within a year (8,760 h) and mean life is 5,712 h. Simulated vs exact. Free Excel template. - Order quantity
How many units should you order when demand is uncertain?
Demand averages 1,000 units (sd 200); price 10, cost 4, salvage 1 per unit: the critical fractile orders 1,086.1 units, a Monte Carlo search 1,090 units. Free Excel template. - Cash-flow runway
Will cash last through the next 12 months?
Simulate persistent monthly revenue, a cash-balance fan chart and the chance of a negative month-end balance. Compare more starting cash with lower fixed costs, with a free Excel template. - Delivery lead times
What is the chance a delivery arrives on time?
Fit distributions to a small, synthetic delivery history, compare on-time probabilities and see why more simulation trials do not fix a small sample. Includes a free Excel template. - Excess-of-loss reinsurance
How much does a reinsurance layer cut the bad years?
Simulate a property book's year from claim frequency and severity, apply a per-claim excess-of-loss layer and compare retentions on the same claims: loss years, the 1-in-100 year and what the layer costs, with a free Excel template.
Video lectures
Practitioner lectures on YouTube, each under ten minutes: one analysis step by step in Excel, xellstorm and Claude in Excel.
Video lecture · 8:58Automate tolerance analysis with Claude
Watch on YouTube
Video lecture · 9:35Automate risk register analysis with Claude
Watch on YouTube
Video lecture · 9:30Automate safety stock with Claude
Watch on YouTube
Video lecture · 9:03Automate schedule risk analysis with Claude
Watch on YouTube
Video lecture · 9:10Automate cash planning with Claude
Watch on YouTube
Video lecture · 9:03Automate investment review with Claude
Watch on YouTube
Video lecture · 6:53Automate lead time analysis with Claude
Watch on YouTube
Guides
- Guide
Monte Carlo simulation in Excel, with or without add-ins
Three ways to run a Monte Carlo simulation on an Excel model: RAND() and a data table, an add-in, or a browser tool with no add-in. PERT formula included. - Guide
P50, P80 and P90: what they mean and which to budget at
P80 is the value 80% of simulated outcomes stay at or below. In a building project, the P80 cost is 2,879 (USD thousands) and the P80 finish week 60.7. How to choose a level, and why P80s do not add up. - Guide
Tornado charts and sensitivity analysis explained
A tornado chart moves each input alone, from P10 to P90 by default in xellstorm. In a building estimate, one risk moves the cost by 150 (USD thousands). - Guide
Schedule risk analysis: why projects finish late
A building schedule of most likely durations says week 55, yet only 14.3% of simulated outcomes finish by then. Why, and how to set a P80 finish.
Moving from an Excel add-in
Open the workbooks you built for an add-in without it: what converts, function by function, and what to do about the rest.
- Guide
Moving a model from @RISK, ModelRisk or Analytic Solver
xellstorm reads 164 distribution functions of @RISK, ModelRisk and Analytic Solver and lists what it converted and why any formula was left. - Guide
An @RISK alternative that opens your @RISK workbooks
xellstorm opens workbooks built for @RISK without @RISK or Excel, converts 53 of its distribution functions with their cells still linked, and runs the model in a browser on Windows, macOS or Linux. - Guide
A ModelRisk alternative that opens your ModelRisk workbooks
xellstorm opens workbooks built for ModelRisk without the add-in or Excel, converts 62 of its Vose distribution functions with their cells still linked, and runs the model in a browser. - Guide
An Analytic Solver alternative for Monte Carlo simulation
xellstorm opens workbooks built for Analytic Solver’s simulation without the add-in or Excel, converts 49 of its Psi distribution functions with their cells still linked, and runs the model in a browser.
Probability distributions
Which distribution fits which uncertainty, with each one’s Excel formulas, checked against the engine’s draws. Not sure where to start? The first guide asks one or two questions and names the distribution.
- Guide
Which probability distribution should I use? A guide for Monte Carlo models
Find the right probability distribution in two questions: PERT, triangular, normal, lognormal, Weibull, Poisson, binomial, beta and more, with what each is for and its Excel formula. - Guide
PERT distribution in Excel: formula, mean and when to use it
A PERT is a beta distribution from min to max with mean (min + 4 × likely + max)/6. The Excel BETA.INV formula, and PERT vs triangular. - Guide
Triangular distribution in Excel: formula, mean and how it compares with PERT
A triangular distribution turns min, most likely and max into straight-line odds. The Excel formula for random draws and percentiles, its mean, and triangular vs PERT. - Guide
Uniform distribution in Excel: random numbers between two values
A uniform distribution makes every value between a min and a max equally likely. The Excel formula, RANDBETWEEN for whole numbers, its mean and when a range alone is enough. - Guide
Normal distribution in Excel: NORM.INV, mean and standard deviation
Draw from a normal distribution in Excel with NORM.INV(RAND(), mean, sd), read its P10 and P90, and see when a bell curve fits and when it does not. - Guide
Lognormal distribution in Excel: LOGNORM.INV, parameters and when to use it
A lognormal distribution is positive with a long right tail. How LOGNORM.INV’s parameters work, how to get them from a mean and standard deviation, and when to use it. - Guide
Gamma distribution in Excel: waiting times, totals and GAMMA.INV
The gamma distribution describes positive, right-skewed quantities such as the total time of several steps. Shape and scale, GAMMA.INV and GAMMA.DIST in Excel, and gamma vs lognormal. - Guide
Beta distribution in Excel: uncertain shares, rates and percentages
The beta distribution describes an uncertain share or rate between 0 and 1. What alpha and beta mean, how to set them from a mean and standard deviation, and BETA.INV in Excel. - Guide
Weibull distribution in Excel: shape, scale and time to failure
The Weibull distribution models time to failure: shape below 1 for early failures, 1 for random ones (exponential), above 1 for wear-out. Excel formulas, B10 life and the exponential case. - Guide
Poisson distribution in Excel: counting events, and when to use negative binomial
The Poisson distribution counts events in a period at a known average rate. POISSON.DIST, random Poisson counts in Excel without an inverse, and the negative binomial for counts that vary more. - Guide
Binomial and Bernoulli distributions in Excel: yes-or-no events and counts out of n
A Bernoulli distribution is one yes-or-no event, such as a risk that occurs or not; a binomial counts the yeses out of n tries. Excel formulas, BINOM.DIST and BINOM.INV, and risk registers.
xellstorm is a browser-based Monte Carlo simulation tool for Excel models: no add-in, and the workbook never leaves your computer.