Every Monte Carlo output is itself a random variable. Run the tool twice with different seeds and the numbers move. The question is not "is the answer exact" — it is not — but "is the answer precise enough that my design decision would not flip with another seed".
The two quantities on the readout that answer that question are the per-wavelength stdR and the per-target yieldByTarget. The analysis below is phrased in those exact names so you can map every formula back onto the screen. samples is the sample count N you set in the control panel.
Mean reflectance — standard error of the mean
For the reported mean meanR(λ) at each wavelength, the uncertainty is the standard error of the mean. Written in the tool's names:
On the reference stack at 550 nm, stdR ≈ 0.16 % reflectance. With samples = 1 000, SE ≈ 0.005 % — about ±0.01 % (2σ) on the mean. With samples = 10 000 it drops to ~0.0016 %. For a design decision whose mean-R difference is 0.1 % or more, 1 000 samples is already comfortably below the noise floor.
Yield — binomial confidence interval
Yield-at-spec is a Bernoulli trial: each sample passes or fails. Over samples runs the count of passes is binomial, and the reported fraction — one entry of yieldByTarget, call it p̂ — has standard error
The 95 % half-width is ≈ 1.96 · SE(p̂). At p̂ = 20 % and samples = 1 000, the half-width is ≈ 2.5 percentage points — so a reported 20.6 % and 19.8 % are within noise. At samples = 10 000 the half-width shrinks to ≈ 0.8 pp. At samples = 100, the half-width is ≈ 8 pp — essentially a vibe check.
- Yield near 50 % is the hardest to pin down. √(0.5·0.5/samples) is the maximum of the binomial SE.
- Yield near 0 or 100 % has the tightest absolute CI, but you need enough runs to see any failure — rule of three: if 0 of samples fail, the 95 % upper bound on failure rate is ~3/samples.
- Yield half-width scales as 1/√samples. Halving the interval needs four times the samples.
A working rule of thumb
- Design exploration — 1 000 samples. ~2 pp half-width on yield, < 0.01 % on mean R. Fast enough to iterate.
- Production sign-off — 10 000 samples. ~0.8 pp half-width on yield. Enough to commit a go/no-go at a 5 pp yield spec.
- Rare-event spec (yield > 99 % or < 1 %) — 50 000+ samples. You need pass/fail events in the tails to characterise them.