Loading the player...

What is the 'Monte Carlo Simulation'

Monte Carlo simulations are used to model the probability of different outcomes in a process that cannot easily be predicted due to the intervention of random variables. It is a technique used to understand the impact of risk and uncertainty in prediction and forecasting models.

Monte Carlo simulation can be used to tackle a range of problems in virtually every field such as finance, engineering, supply chain, and science.

Monte Carlo simulation is also referred to as probability simulation.

BREAKING DOWN 'Monte Carlo Simulation'

When faced with significant uncertainty in the process of making a forecast or estimation, rather than just replacing the uncertain variable with a single average number, the Monte Carlo Simulation might prove to be a better solution. Since business and finance are plagued by random variables, Monte Carlo simulations have a vast array of potential applications in these fields. They are used to estimate the probability of cost overruns in large projects and the likelihood that an asset price will move in a certain way. Telecoms use them to assess network performance in different scenarios, helping them to optimize the network. Analysts use them to asses the risk that an entity will default and to analyze derivatives such as options. Insurers and oil well drillers also use them. Monte Carlo simulations have countless applications outside of business and finance, such as in meteorology, astronomy and particle physics.

Monte Carlo simulations are named after the gambling hot spot in Monaco, since chance and random outcomes are central to the modeling technique, much as they are to games like roulette, dice, and slot machines. The technique was first developed by Stanislaw Ulam, a mathematician who worked on the Manhattan Project. After the war, while recovering from brain surgery, Ulam entertained himself by playing countless games of solitaire. He became interested in plotting the outcome of each of these games in order to observe their distribution and determine the probability of winning. After he shared his idea with John Von Neumann, the two collaborated to develop the Monte Carlo simulation.

[Monte Carlo Simulations are powerful models that in the financial space can be used to predict asset price movement and better inform investment and business decisions. If you want to learn about Monte Carlo simulations and how to build other financial models, check out Investopedia Academy's Financial Modeling Course. Hours of on demand class content and hand on modeling practice after just the first lesson.]

Asset Price Modeling

One way to employ a Monte Carlo simulation is to model possible movements of asset prices using Excel or a similar program. There are two components to an asset's price movements: drift, which is a constant directional movement, and a random input, which represents market volatility. By analyzing historical price data, you can determine the drift, standard deviation, variance, and average price movement for a security. These are the building blocks of a Monte Carlo simulation.

To project one possible price trajectory, use the historical price data of the asset to generate a series of periodic daily returns using the natural logarithm (note that this equation differs from the usual percentage change formula):

periodic daily return = ln (day's price ÷ previous day's price)

Next use the AVERAGE, STDEV.P, and VAR.P functions on the entire resulting series to obtain the average daily return, standard deviation, and variance inputs, respectively. The drift is equal to:

drift = average daily return - (variance ÷ 2)

Alternatively, drift can be set to 0; this choice reflects a certain theoretical orientation, but the difference will not be huge, at least for shorter time frames.

Next obtain a random input:

random value = standard deviation * NORMSINV(RAND())

The equation for the following day's price is:

next day's price = today's price * e ^ (drift + random value)

To take e to a given power in Excel, use the EXP function: EXP(x). Repeat this calculation the desired number of times (each repetition represents one day) to obtain a simulation of future price movement. By generating an arbitrary number of simulations, you can assess the probability that a security's price will follow given trajectory. Here is an example, showing around 30 projections for the Time Warner Inc's (TWX) stock for the remainder of November 2015:

The frequencies of different outcomes generated by this simulation will form a normal distribution, that is, a bell curve. The most likely return is at the middle of the curve, meaning there is an equal chance that the actual return will be higher or lower than that value. The probability that the actual return will be within one standard deviation of the most probable ("expected") rate is 68%; that it will be within two standard deviations is 95%; and that it will be within three standard deviations is 99.7%. Still, there is no guarantee that the most expected outcome will occur, or that actual movements will not exceed the wildest projections.

Crucially, Monte Carlo simulations ignore everything that is not built into the price movement (macro trends, company leadership, hype, cyclical factors); in other words, they assume perfectly efficient markets. For example, the fact that Time Warner lowered its guidance for the year on November 4 is not reflected here, except in the price movement for that day, the last value in the data; if that fact were accounted for, the bulk of simulations would probably not predict a modest rise in price.

  1. Look-Ahead Bias

    Look-ahead bias occurs when information or data is used in a ...
  2. Stochastic Modeling

    A method of financial modeling in which one or more variables ...
  3. Stress Testing

    A simulation technique used on asset and liability portfolios ...
  4. Standard Deviation

    A measure of the dispersion of a set of data from its mean, calculated ...
  5. Random Walk Index

    The Random Walk Index is a technical indicator that compares ...
  6. Multivariate Model

    Multivariate model is a popular statistical tool that uses multiple ...
Related Articles
  1. Investing

    Using Monte Carlo Simulations in Financial Plans

    A Monte Carlo forecast can be a great tool that helps financial planners guide clients.
  2. Investing

    Multivariate Models: The Monte Carlo Analysis

    This decision-making tool integrates the idea that every decision has an impact on overall risk.
  3. Investing

    How to use Monte Carlo simulation with GBM

    Learn how to estimate risk with the use of a Monte Carlo simulation to predict future events through a series of random trials.
  4. Trading

    Stimulate Your Skills With Simulated Trading

    Think you can beat the Street? We'll show you how to test your abilities without losing your shirt.
  5. Small Business

    Disadvantages Of Stock Simulators

    Stock simulators enable one to practice trading, but they have some disadvantages that you should be aware of, before transitioning to actual trading.
  6. Trading

    How To Convert Value At Risk To Different Time Periods

    Volatility is not the only way to measure risk. Learn about the "new science of risk management".
  7. Personal Finance

    Stock Market Simulators: Play Your Way To Profits

    Online stock simulators make learning about stocks as fun and easy as playing a game.
  8. Financial Advisor

    5 Reasons Why Your Software Won't Meet Fiduciary Standards

    Many advisors are finding their technology doesn't meet their needs to uphold a fiduciary standard.
  1. What percentage of a diversified portfolio should be exposed to the insurance sector?

    Learn how it is critical to innovate and improve financial models and techniques used in quantitative analysis, and understand ... Read Answer >>
  2. How can I use systematic sampling in finance?

    Learn about systematic sampling, how it works and how it can be used in finance, including Monte Carlo simulations that model ... Read Answer >>
  3. What is stress testing in Value at Risk (VaR)?

    Discover the difference between Value at Risk, or VaR, and stress testing, and learn how the two concepts might be used together ... Read Answer >>
  4. What is the difference between standard deviation and average deviation?

    Understand the basics of standard deviation and average deviation, including how each is calculated and why standard deviation ... Read Answer >>
Hot Definitions
  1. Federal Funds Rate

    The federal funds rate is the interest rate at which a depository institution lends funds maintained at the Federal Reserve ...
  2. Call Option

    An agreement that gives an investor the right (but not the obligation) to buy a stock, bond, commodity, or other instrument ...
  3. Standard Deviation

    A measure of the dispersion of a set of data from its mean, calculated as the square root of the variance. The more spread ...
  4. Entrepreneur

    An entrepreneur is an individual who founds and runs a small business and assumes all the risk and reward of the venture.
  5. Money Market

    The money market is a segment of the financial market in which financial instruments with high liquidity and very short maturities ...
  6. Perfect Competition

    Pure or perfect competition is a theoretical market structure in which a number of criteria such as perfect information and ...
Trading Center