Advanced Methods

Monte Carlo Simulation in Practice

A hands-on guide to implementing Monte Carlo simulation for uncertainty quantification in your LCA studies.

11 min read

Written by Jonathan Balsvik last updated August 2026

Monte Carlo simulation transforms uncertain LCA inputs into probabilistic outputs, enabling robust decision-making under uncertainty. This lesson provides practical guidance on implementing Monte Carlo analysis in your LCA work.

Note

Monte Carlo provides rigorous statistical uncertainty analysis but requires additional effort and expertise. For many studies, a Data Quality Assessment (DQA) using pedigree matrices is a practical alternative that satisfies ISO 14044 requirements. See the Uncertainty Analysis lesson for guidance on when DQA alone may be sufficient versus when Monte Carlo adds value.

Monte Carlo Fundamentals

The Core Concept

Monte Carlo simulation works by:

  1. Treating uncertain inputs as probability distributions
  2. Randomly sampling from these distributions
  3. Running the LCA calculation with each sample set
  4. Collecting results to form an output distribution

After many iterations, the output distribution represents the range of possible outcomes given input uncertainties.

When to Use Monte Carlo

Monte Carlo is valuable when:

  • Comparing products with similar performance
  • Making high-stakes decisions based on LCA results
  • Communicating results to skeptical audiences
  • Validating the robustness of conclusions
  • Understanding which parameters drive uncertainty

It may be unnecessary for:

  • Screening studies where precision isn't critical
  • Situations where one option clearly dominates
  • Internal quick assessments
  • Educational purposes

Setting Up Distributions

Choosing a shape is the easy half of this section and it is not where studies go wrong. The harder half is converting what you believe about a parameter into the parameters the distribution actually takes, which is why most of what follows is that conversion rather than a tour of shapes. The first Watch Out below is worth reading twice: the formula it rejects looks reasonable and returns a plausible answer.

Choosing Distribution Types

Match distributions to your knowledge about each parameter:

Lognormal (most common for LCA)

Use when:

  • Values must be positive
  • You have a mean and estimate of spread
  • Variation is proportional to magnitude

Parameters:

  • Geometric mean (μg): the median value
  • Geometric standard deviation (σg): multiplicative spread

If you believe the true value is between L and H with 95% confidence:

μg = √(L × H)
σg = exp( ln(H/L) / 3.92 )      equivalently  (H/L)^(1/3.92)

The divisor 3.92 is 2 × 1.96. A 95% interval spans 1.96 log-standard-deviations either side of the median, so ln(H) - ln(L) = 3.92 × ln(σg).

Worked check - suppose you believe the value lies between 2 and 8:

μg = √(2 × 8)              = √16       = 4.00
σg = exp( ln(8/2) / 3.92 ) = exp(0.354) = 1.42

Watch Out

σg is a multiplicative spread, so it can never be smaller than 1. Any expression that divides a ratio by a linear factor is mixing multiplicative and additive quantities. The common mis-statement √(H/L) / 1.645 returns 1.22 for the interval above, understating the spread, and drops below 1 - an impossible geometric standard deviation - for any interval narrower than H/L ≈ 2.7.

Normal

Use when:

  • Values can be positive or negative
  • Symmetric variation around mean
  • You have mean and standard deviation

Triangular

Use when:

  • You can estimate minimum, maximum, and most likely
  • Expert judgment drives the estimate
  • Data is limited

Uniform

Use when:

  • Only bounds are known
  • All values within range are equally likely

Practical Distribution Selection

SituationRecommended Distribution
Measured data with known SDNormal (if symmetric) or Lognormal
Database values with pedigreeLognormal (use pedigree factors)
Expert estimate with rangeTriangular
Only bounds knownUniform
Ratio or multiplicative uncertaintyLognormal

The Pedigree-to-Distribution Workflow

ecoinvent and other databases use pedigree matrices to generate lognormal distributions:

  1. Assess pedigree scores (1-5) for each indicator
  2. Look up the variance contribution for each score in the pedigree table
  3. Sum the log-space variances. Each entry in the pedigree table is a contribution to the variance of ln(x), not to σg directly, so the contributions add:
var(ln x) = σ²base + σ²R + σ²C + σ²T + σ²G + σ²Tech
  1. Convert that variance into a geometric standard deviation:
σg = exp( √( var(ln x) ) )
  1. Apply to parameter as lognormal with geometric mean μg and geometric standard deviation σg. Note that the figure ecoinvent reports as SDg95 is σg², that is exp( 2 × √(var(ln x)) ).

Pedigree contributions to var(ln x):

Watch Out

These are the additional-uncertainty contributions of the ecoinvent pedigree matrix, and they are not the whole calculation. A basic uncertainty σ²base, which depends on the type of flow and the type of process, must be added to the sum before the square root is taken. Always consult the official ecoinvent methodology documentation (Weidema et al., 2013) or your database's specific implementation when conducting real analyses.

ScoreReliabilityCompletenessTemporalGeographicTechnological
10.0000.0000.0000.0000.000
20.00060.00010.00020.0000250.0006
30.0020.00060.0020.00010.008
40.0080.0020.0080.00060.04
50.040.0080.040.0020.12

Geographical correlation contributes far less than the other indicators. That is deliberate: moving to a neighbouring region usually perturbs a flow much less than switching to a different technology, and the matrix reflects that.

Worked example - a dataset scored Reliability 3, Completeness 4, Temporal 3, Geographic 2, Technological 3, with a basic uncertainty of 0.0006:

var(ln x) = 0.0006 + 0.002 + 0.002 + 0.002 + 0.000025 + 0.008 = 0.014625
σg        = exp( √0.014625 ) = exp(0.1209) = 1.13
σg²       = 1.27   (the SDg95 figure ecoinvent reports)

Implementing Monte Carlo

Implementation Steps

Of the five steps below, the third is the one most often passed over, and it is the only one whose omission changes the width of your result rather than just its precision. Correlated parameters sampled independently do not cancel out with more iterations. If you cannot handle them properly, say so explicitly, because that omission is a limit on the interval you report rather than a footnote to it.

Step 1: Identify uncertain parameters

Not everything needs uncertainty distributions. Focus on:

  • Parameters with significant contributions to results
  • Parameters with known data quality issues
  • Parameters where alternatives exist

Step 2: Assign distributions

Document your choices:

ParameterDistributionParametersRationale
Electricity useLognormalμg=2.5 kWh, σg=1.25Pedigree assessment
Transport dist.Triangular300, 500, 800 kmExpert estimate
Steel inputLognormalμg=15 kg, σg=1.1Measured with ±10% uncertainty

Step 3: Handle correlations

Identify correlated parameters:

  • Electricity and cooling water (both scale with production)
  • Material input and waste output (mass balance)
  • Regional parameters (shared data source)

Options for handling:

  • Sample correlated parameters together
  • Use copulas for complex correlation structures
  • Document and acknowledge if not addressed

Step 4: Run simulation

Number of iterations needed depends on:

  • Required precision of percentile estimates
  • Complexity of the model
  • Available computation time

General guidance:

  • 1,000 iterations: Rough estimates, screening
  • 10,000 iterations: Standard analysis
  • 100,000+ iterations: High precision, rare events

Step 5: Analyze results

Calculate and report:

  • Mean, median, standard deviation
  • Confidence intervals (e.g., 5th-95th percentile)
  • Probability of exceeding thresholds
  • For comparisons: probability A < B

Running the Simulation in Your LCA Software

Most LCA platforms support Monte Carlo simulation natively, and while menu names vary, the workflow is similar across tools:

  1. Define uncertainty: Open each process and attach a distribution to the relevant input and output amounts. Tools typically offer the standard distribution types (lognormal, normal, triangular, uniform) and can often generate default lognormal uncertainty from pedigree scores.
  2. Run the analysis: Select the product system and LCIA method, set the number of iterations and (where offered) the confidence level, then start the simulation.
  3. Analyze the output: View histograms of results, compare distributions across impact categories, and export the raw iteration data for external statistical analysis. Many platforms also offer contribution-to-variance analysis and comparative Monte Carlo runs across alternatives.

For fully customized analyses - special sampling schemes, explicit correlation structures, or automated batch runs - some platforms expose scripting interfaces that let you drive the simulation programmatically and post-process the results with standard statistical libraries.

Analyzing Monte Carlo Results

Statistical Summary

Report these statistics:

StatisticCalculationInterpretation
MeanSum/NAverage expected value
Median50th percentileCentral tendency (robust to outliers)
SD√(Σ(x-mean)²/N)Spread of results
CVSD/Mean × 100%Relative spread
95% CI2.5th to 97.5th percentileRange capturing 95% of outcomes

Contribution to Variance

Identify which inputs drive output uncertainty:

  1. Calculate correlation between each input and the output
  2. Square correlations to get variance contribution
  3. Rank parameters by contribution

Parameters contributing most to variance are priorities for:

  • Better data collection
  • Sensitivity testing
  • Uncertainty reduction efforts

Comparing Alternatives

This is the section that decides whether your study can support a comparative claim. Note that the test is run on the distribution of differences, not on the two result distributions separately: because the alternatives share inputs, a difference can be significant even when the individual ranges overlap. Comparing two reported intervals by eye is a different and blunter calculation, and it is the one a skeptical reader will do first.

For product comparisons, calculate:

Pairwise difference in each iteration:

diff[i] = GWP_A[i] - GWP_B[i]

Probability of outperformance:

P(A better) = count(diff < 0) / N

Significant difference:

If 95% CI of difference excludes zero, the difference is statistically significant.

Visualization

Histograms: Show distribution shape

  • Include mean/median lines
  • Mark confidence intervals
  • Use consistent binning across comparisons

Box plots: Compare multiple options

  • Show median, quartiles, outliers
  • Easy comparison across alternatives

Cumulative distribution functions (CDF): Show probability of exceedance

  • Read off probability of meeting targets
  • Compare entire distributions

Scatter plots: Show input-output relationships

  • Identify influential parameters
  • Reveal non-linear relationships

Handling Common Issues

Two of the four issues below are about computation and two are about your inputs, and it is worth knowing which you are looking at before you react. Slow convergence and long run times are answered with iterations, patience, or a simpler model. Extreme values and impossible negatives are the simulation telling you that a distribution you assigned does not describe the quantity it is attached to.

Convergence

Results should stabilize as iterations increase. Check convergence by:

  1. Plot running mean vs. iteration number
  2. If mean is still changing significantly, run more iterations
  3. For percentile estimates, need more iterations than for mean

Extreme Values

Outliers in results may indicate:

  • Very wide input distributions
  • Multiplicative effects through supply chain
  • Model sensitivity to certain parameter combinations

Investigate extreme values to ensure they're meaningful, not errors.

Negative Values

If physical quantities go negative (impossible):

  • Check distribution choices (use lognormal for positive-only)
  • Truncate distributions at zero
  • Re-parameterize model

Long Run Times

For complex models:

  • Start with fewer iterations for testing (100-500)
  • Use parallel processing if available
  • Consider simplified models for screening
  • Focus uncertainty on most influential parameters

Advanced Topics

These three are not the same kind of addition. The first changes only how you draw samples, so it costs nothing methodologically and is worth switching on wherever it is offered. The other two answer questions the earlier sections cannot: how parameters interact, and how to fold in what you knew before you collected any data. Reach for them when your ranking of parameters looks unstable, not as a matter of routine.

Latin Hypercube Sampling

More efficient than simple random sampling:

  • Stratifies each distribution into equal-probability intervals
  • Ensures full distribution coverage with fewer samples
  • Often achieves convergence 10x faster

Most LCA software offers this as an option.

Global Sensitivity Analysis

Beyond local sensitivity, global methods explore the entire parameter space:

Sobol' indices: Decompose variance into first-order and interaction effects

Morris method: Efficient screening for many parameters

These reveal non-linear effects and parameter interactions missed by local sensitivity.

Bayesian Approaches

For incorporating prior knowledge and updating with new data:

  • Prior distributions reflect existing knowledge
  • Likelihood function incorporates new observations
  • Posterior distribution combines both

Advanced topic requiring specialized statistical tools.

Key Takeaways

  1. Choose distributions based on available information - lognormal is often appropriate
  2. Focus uncertainty analysis on influential parameters
  3. Run enough iterations for stable results (10,000 is typical)
  4. For comparisons, calculate probability of outperformance
  5. Report confidence intervals, not just point estimates
  6. Contribution to variance identifies priorities for data improvement

Practice Exercise

For a simplified product system with three uncertain inputs:

  • Material A: Lognormal(10 kg, σg=1.3)
  • Energy: Triangular(5, 8, 15 kWh)
  • Transport: Uniform(100, 500 km)

Emission factors (assume known):

  • Material A: 2.5 kg CO₂/kg
  • Energy: 0.5 kg CO₂/kWh
  • Transport: 0.1 kg CO₂/km
  1. Calculate the deterministic GWP (using mean/mode values)
  2. Set up and run 1,000 Monte Carlo iterations
  3. Report mean, median, and 95% CI
  4. Which parameter contributes most to variance?

What's Next?

The next lesson explores the distinction between consequential and attributional LCA - two fundamentally different approaches to modeling that answer different questions about environmental impacts.

Further Reading

  • Heijungs, R. (2020). On the Number of Monte Carlo Runs in Comparative Probabilistic LCA. International Journal of Life Cycle Assessment.
  • Saltelli, A., et al. (2008). Global Sensitivity Analysis: The Primer. Wiley.
  • Groen, E.A., & Heijungs, R. (2017). Ignoring Correlation in Uncertainty and Sensitivity Analysis in Life Cycle Assessment. International Journal of Life Cycle Assessment.