Monte Carlo Simulation in Excel

Subscribe to newsletter

What is a Monte Carlo Simulation?

A Monte Carlo simulation refers to a technique used in financial modeling to determine the probability of various outcomes in a process or problem that is not easily predictable or solvable. The reason behind the difficulty of the process or problem is the existence of random variables. A Monte Carlo Simulation produces a simulation based on random samples to achieve numerical results.

While there are various ways to perform Monte Carlo simulations, the easiest way is through Excel. There are various built-in tools in Excel that help with the simulation. The most common tool used in this regard is the “What-If Analysis” tool.

Monte Carlo Simulation in Excel

A company wants to calculate its profits for a project based on estimations. However, there is some uncertainty around the estimates. Therefore, the company performs Monte Carlo simulations. It has the following information available.

Subscribe to newsletter https://harbourfrontquant.beehiiv.com/subscribe Newsletter Covering Trading Strategies, Risk Management, Financial Derivatives, Career Perspectives, and More

Sales

Cost of Sales

Fixed costs

Expected

     1,000,000

          350,000

         500,000

Standard Deviation

           80,000

            25,000

         120,000

The company assumes there is a normal distribution around these inputs. Therefore, it can perform the simulation using Excel. The first step to perform Monte Carlo simulations is to calculate the normal distribution for the figures above. The company may use the following formula to calculate a normal distribution for all these.

NORM.INV(probability, mean, standard deviation)

For the first parameter, the company uses a random probability using the ‘rand()‘ function. For the mean parameter, the company uses the expected results. Based on these, the company gets the following outputs.

Sales

Cost of Sales

Fixed costs

Expected

         1,000,000

          350,000

         500,000

Standard Deviation

               80,000

             25,000

         120,000

First simulation

             978,986

          385,896

         251,134

The company’s expected profits, based on the first simulation, will be $341,956.

The next step the company takes is to make a table for the number of simulations it wants to make. For this purpose, the company wants to generate 30 simulations.

Once it creates a table for the 30 simulations, the company links the profits to the table, from the first simulation. For the other 29 simulations, it uses the What-if Analysis Data Table feature. The tool needs at least one input cell for random calculations. However, the cell should be a cell outside the table. Here’s how it looks.

Monte Carlo Simulation in Excel

Based on the calculation, it produces the following table.

Monte Carlo Simulation in Excel

Based on these simulations, the company performs several other calculations, such as calculating the mean value, which comes to $139,246. The formula it uses is “=AVERAGE(B2:B31)“. Similarly, the company measures the standard deviation for the simulations using the formula “=STDEV(B2:B31)”, which comes to $171,670.

Therefore, using excel can help in performing Monte Carlo simulations when there is uncertainty involved in variables. While the above example considers only 30 simulations, users can choose to generate even more simulations based on their needs.

Similarly, the company used the simulation to calculate the average and standard deviation of the outcomes. However, users may use the simulation in more complex ways than that above.

Conclusion

Monte Carlo simulation is a technique used to determine the probability of various outcomes for complex processes in the presence of random variables. While several tools can perform simulations, the most commonly used one is Excel. The Excel feature that helps with Monte Carlo simulations is the What-if Analysis Data Table tool combined with the “NORM.INV” formula.

Subscribe to newsletter https://harbourfrontquant.beehiiv.com/subscribe Newsletter Covering Trading Strategies, Risk Management, Financial Derivatives, Career Perspectives, and More

Further questions

What's your question? Ask it in the discussion forum

Have an answer to the questions below? Post it here or in the forum

LATEST NEWSLara Trump withdraws from consideration to replace Rubio in US Senate
Lara Trump withdraws from consideration to replace Rubio in US Senate
Stay up-to-date with the latest news - click here
LATEST NEWSROSEN, TRUSTED INVESTOR COUNSEL, Encourages MGP Ingredients, Inc. Investors to Secure Counsel Before Important Deadline in Securities Class Action - MGPI
ROSEN, TRUSTED INVESTOR COUNSEL, Encourages MGP Ingredients, Inc. Investors to Secure Counsel Before Important Deadline in Securities Class Action - MGPI
Stay up-to-date with the latest news - click here
LATEST NEWSThe 5 biggest revelations from Blake Lively's complaint against Justin Baldoni
The 5 biggest revelations from Blake Lively's complaint against Justin Baldoni

"It Ends with Us" star Blake Lively filed a legal complaint against her costar, Justin Baldoni, for sexual harassment and for conspiring to damage her reputation.

Stay up-to-date with the latest news - click here
LATEST NEWS5 money lessons a 63-year-old retiree worth $1 million taught her kids from an early age
5 money lessons a 63-year-old retiree worth $1 million taught her kids from an early age

She taught them how stocks and savings bonds work and encouraged them to be self-reliant, skills that have help them reach their own milestones.

Stay up-to-date with the latest news - click here
LATEST NEWSROSEN, A TOP RANKED LAW FIRM, Encourages Light & Wonder, Inc. Investors to Inquire About Securities Class Action Investigation - LNW
ROSEN, A TOP RANKED LAW FIRM, Encourages Light & Wonder, Inc. Investors to Inquire About Securities Class Action Investigation - LNW
Stay up-to-date with the latest news - click here

Leave a Reply