For optimal use, please visit numiqo on your desktop PC!

Monte Carlo Simulation

Define input distributions, describe the output equation, verify the model diagram, and then run the simulation.

1. Input Variables

Set the probability distribution and parameters for each process input.

2. Output Variables

Define one or more model outputs and optional specification limits.

Name Equation LSL USL

3. Model Diagram

Use the diagram to check whether the inputs connect to the intended output.

Visitors ConversionRate OrderValue Revenue Profit

4. Simulation

5. Simulation Results

After simulation, the histogram, specification limits, and summary statistics appear here.

No simulation has been run yet.

6. Sensitivity Analysis

Spearman rank correlation shows how strongly each X variable moves together with each simulated Y output.

Run the simulation to calculate sensitivity.

How-to

Monte Carlo Simulation Calculator

This online Monte Carlo simulation calculator models uncertainty in a forecast, process, or business equation. Instead of a single best-case or average-case number, it runs many random trials from the probability distributions you define and shows the full range of outcomes you can realistically expect, directly in your browser with no installation.

What is Monte Carlo simulation?

Monte Carlo simulation is a method for estimating the outcome of an uncertain process by repeating a calculation thousands of times with randomly sampled input values. Each uncertain input is described by a probability distribution instead of one fixed number. The simulation combines these inputs in an equation, records the result of every trial, and builds a distribution of possible outcomes. The result is a realistic range of values, the probability of exceeding a target or specification limit, and an estimate of which inputs have the biggest effect on the result. For a fuller walkthrough with examples, see Monte Carlo simulation simply explained.

Start by entering the input variables that influence your result. For each variable, choose a distribution such as normal, uniform, triangular, lognormal, exponential, or discrete, and enter the required parameters. Alternatively, select one of your own data variables and let the calculator fit the distribution parameters directly from your data. Then define one or more output variables with equations that use the input variable names; a later output can also reuse an earlier output, for example Profit calculated from Revenue. Optional lower and upper specification limits can be added to estimate defect rates, PPM, and capability measures.

The model diagram helps you check whether the selected inputs are connected to the intended outputs. After running the simulation, the result table summarizes the mean, standard deviation, minimum, maximum, percentiles, specification-limit risk, Ppk, normality check, histogram, and sensitivity of each output to each input.

Features of the Monte Carlo calculator

  • Six input distributions: normal, uniform, triangular, lognormal, exponential, and discrete with custom value-probability pairs, each with a live shape preview.
  • Distribution fitting from data: link an input variable to a metric variable from your loaded dataset and the calculator fits the parameters of a normal, uniform, triangular, lognormal, or exponential distribution from the observed values.
  • Multiple, chainable outputs: define several output variables, where each equation can use the input variables as well as previously defined outputs.
  • Specification limits and capability: optional LSL and USL per output give the percentage outside the limits, PPM below and above each limit, total PPM, and the Ppk capability index.
  • Custom percentiles: choose which percentiles are reported, for example 5, 50, and 95 for a 90% prediction interval, or any other list between 0 and 100.
  • Sensitivity analysis: switch between Spearman rank correlation and Pearson correlation to see which inputs drive each output the most.
  • Normality check: an Anderson-Darling test on each simulated output shows whether the outcome distribution can be treated as normal.
  • Histogram with spec-limit highlighting: each output gets a histogram in which the bars outside the specification limits are marked.
  • Reproducible results: set a fixed random seed to get exactly the same simulation results again, or change it to draw a fresh random sample.
  • Fast and responsive: the simulation runs in a background web worker with a progress indicator and a cancel button, so even 100,000+ iterations do not freeze the page.
  • Automatic saving: your model - inputs, equations, limits, and settings - is stored locally in your browser and restored the next time you open the calculator. An example model and a reset option are one click away.
  • Built-in validation: clear messages point out missing names, duplicate or invalid variable names, unknown variables in equations, and inconsistent distribution parameters before the simulation starts.

When to use Monte Carlo simulation

Monte Carlo simulation is useful whenever a result depends on uncertain inputs and a single best-case or average-case calculation is not enough. Typical use cases include:

  • Process capability and quality studies with variable inputs
  • Financial forecasts, budgets, and revenue or profit modeling
  • Project schedule and cost risk analysis
  • Product tolerance stacks and engineering design margins
  • Investment and portfolio risk assessment
  • Demand planning and inventory decisions under uncertain demand

In each case, the simulation shows uncertainty as a range and a probability instead of a single number, which makes it easier to judge risk and make decisions with more confidence.

How the calculator works

  1. Enter each uncertain factor as an input variable and select its distribution, or pick one of your data variables to fit the distribution from your data.
  2. Check the distribution parameters and add discrete values if needed.
  3. Define one or more output variables with equations such as Revenue = Visitors * ConversionRate * OrderValue; later outputs can reuse earlier ones, such as Profit = Revenue * 0.38 - 5200.
  4. Add optional lower or upper specification limits when you want defect percentages, PPM, or Ppk.
  5. Set the number of iterations, the random seed, the percentiles to report, and the sensitivity method if the defaults do not fit.
  6. Review the model diagram and run the simulation; a progress bar shows the status and the run can be canceled at any time.
  7. Interpret the histogram, summary statistics, percentiles, specification-limit results, normality check, and sensitivity table.

Monte Carlo simulation software vs. this online calculator

Dedicated Monte Carlo simulation software is usually a spreadsheet add-in or desktop program that needs a license, installation, and a spreadsheet to run in. This calculator covers the core parts of that workflow - custom input distributions, distribution fitting from data, multiple chained output equations, specification limits, PPM, Ppk, percentiles, histograms, a normality check, reproducible seeds, and sensitivity analysis - directly in the browser, with nothing to install. For very large models, inputs correlated across many linked spreadsheets, or a workflow already built around a specific package, a dedicated desktop tool may still be the better fit.

Frequently asked questions

Do I need to install anything to use this calculator?

No. The calculator runs in your browser and does not require an account, a download, or a license.

How many iterations should I run?

A few thousand iterations are usually enough for a stable mean and standard deviation. Use more iterations, for example 50,000 or more, when you need a precise estimate of a rare event, such as a small probability of exceeding a specification limit.

Which probability distributions can I use?

You can model each input as normal, uniform, triangular, lognormal, exponential, or discrete, depending on how the underlying uncertainty behaves.

Can I fit a distribution to my own data?

Yes. If a dataset is loaded, each input variable can be linked to a metric data variable. The calculator then estimates the parameters of a normal, uniform, triangular, lognormal, or exponential distribution from the observed values (at least 5 numeric values are required) and only offers the distributions that fit your data.

Can I model several outputs at once?

Yes. You can define multiple output variables, each with its own equation and specification limits. A later output can reference an earlier output by name, so intermediate results such as Revenue can feed into a final result such as Profit.

Are the results reproducible?

Yes. The simulation uses a random seed that you can see and change. With the same model and the same seed, every run produces exactly the same results, which makes analyses easy to document and share.

Is my model saved?

Yes. The inputs, equations, specification limits, and settings are automatically saved in your browser's local storage and restored when you return. Nothing is uploaded to a server.

What do PPM and Ppk mean in the results?

PPM is the estimated number of defective parts per million based on how often the simulated output falls outside the specification limits. Ppk is a capability index that summarizes how well the simulated output distribution fits within those limits, accounting for how far the mean is from the nearer limit.

Do I need specification limits to run a simulation?

No. Specification limits are optional. Without them, the calculator still returns the mean, standard deviation, range, histogram, and sensitivity of each output - useful for general risk analysis and forecasting, not only for process capability.

The simulation output should be interpreted as an approximation based on the distributions and equations you provide. Better assumptions about the input distributions usually lead to more useful risk estimates.

Cite numiqo: numiqo Team (2026). numiqo: Online Statistics Calculator. numiqo e.U. Graz, Austria. URL https://numiqo.com