Accurate Monte Carlo simulation of real component manufacturing tolerances in uSimmics (formerly QucsStudio) requires a solid understanding of how to configure the standard deviation in the tol function. This article explains the relationship between the 3-sigma (3σ) quality-control standard used in manufacturing and the tol function parameters, then shows exactly how to set them so your simulation faithfully represents actual component distributions.
What You’ll Learn
- Why electronic component manufacturing tolerances are controlled to the 3σ standard
- How to correctly convert a datasheet tolerance (e.g., ±5%) into a standard deviation (σ)
- The precise steps for entering that standard deviation into the
tolfunction - How incorrect vs. correct settings differ in their effect on simulation results
- How to achieve high-accuracy Monte Carlo analysis that reflects real component variation
Why Correct Standard Deviation Setup Matters
As explained in the previous article (tol Function Parameter Configuration), when you use the normal distribution (d=0) in the tol function, the value you supply for v is treated directly as the standard deviation (σ).
However, the tolerance figure printed on a component datasheet — for example, ±5% — represents the 3σ (three standard deviations) range of the manufacturing distribution, not 1σ. Plugging the datasheet percentage directly into v therefore runs the simulation with three times the actual component variation, severely degrading the reliability of your design evaluation.
The 3σ Standard in Manufacturing Quality Control
Why Are Tolerances Specified at 3σ?
In manufacturing, the 3σ standard is the widely accepted benchmark for quality control. A 3σ range spans three standard deviations on either side of the mean of a normal distribution, capturing 99.73% of all production units.
Component manufacturers control their production processes so that the stated tolerance (e.g., ±5%) covers 99.73% of units. This keeps the defect rate below 0.27% and ensures a consistently reliable supply.
1σ, 2σ, and 3σ Compared
| Standard | Fraction of data within range | Interpretation |
|---|---|---|
| 1σ (1 sigma) | ~68.27% | Mean ± 1 standard deviation |
| 2σ (2 sigma) | ~95.45% | Mean ± 2 standard deviations |
| 3σ (3 sigma) | ~99.73% | Mean ± 3 standard deviations |
If a manufacturer specified tolerances at 1σ, only 68.27% of units would fall within the stated range — an unacceptably poor level of quality control. The 3σ standard is therefore the industry norm.
Converting Tolerance to Standard Deviation
The Conversion Formula
Because the datasheet tolerance corresponds to 3σ, the 1σ standard deviation is:
σ = (nominal value × tolerance %) ÷ 3
Worked Example: 100 Ω Resistor with ±5% Tolerance
Step 1: Calculate the absolute tolerance
Absolute tolerance = 100 Ω × 5% = 5 Ω
The resistor value falls within 95 Ω – 105 Ω.
Step 2: Calculate 1σ
σ = 5 Ω ÷ 3 ≈ 1.67 Ω
Verification:
– 1σ (68.27%): 100 Ω ± 1.67 Ω → 98.33 Ω – 101.67 Ω
– 3σ (99.73%): 100 Ω ± 5.00 Ω → 95 Ω – 105 Ω ← matches the datasheet specification
The correct standard deviation to use is σ = 1.67 Ω.
Entering the Correct Value into the tol Function
Configuration Example
To simulate a 100 Ω ±5% resistor based on its actual component distribution:
tol(100, 1.67, 0)
| Argument | Value | Meaning |
|---|---|---|
x |
100 |
Nominal resistor value (mean) = 100 Ω |
v |
1.67 |
1σ standard deviation = 1.67 Ω |
d |
0 |
Normal (Gaussian) distribution |
Incorrect vs. Correct Configuration
| Configuration | tol Function | What Actually Happens |
|---|---|---|
| Incorrect | tol(100, 5, 0) |
±5% is treated as 1σ; simulation uses 3× the real variation |
| Correct | tol(100, 1.67, 0) |
1σ = 1.67 Ω; 3σ falls within ±5% — matches the real distribution |
What This Configuration Achieves
With tol(100, 1.67, 0), the Monte Carlo simulation produces a result distribution where:
- 68.27% of samples fall within 98.33 Ω – 101.67 Ω (±1.67 Ω, ±1.67%)
- 95.45% of samples fall within 96.67 Ω – 103.33 Ω (±3.33 Ω, ±3.33%)
- 99.73% of samples fall within 95 Ω – 105 Ω (±5 Ω, ±5%) ← matches the datasheet specification
This faithfully reproduces the distribution of components as they are actually produced in manufacturing.
Applying the Method to Other Tolerance Grades
The same calculation applies to any tolerance grade. Here are several common examples:
| Nominal Value | Tolerance | 1σ Standard Deviation | tol Function |
|---|---|---|---|
| 100 Ω | ±1% | 0.33 Ω (0.33%) | tol(100, 0.33, 0) |
| 100 Ω | ±5% | 1.67 Ω (1.67%) | tol(100, 1.67, 0) |
| 100 Ω | ±10% | 3.33 Ω (3.33%) | tol(100, 3.33, 0) |
| 100 pF | ±5% | 1.67 pF | tol(100p, 1.67p, 0) |
| 10 nH | ±2% | 0.067 nH | tol(10n, 0.067n, 0) |
Summary
To accurately simulate real component variation in Monte Carlo analysis, do not enter the datasheet tolerance percentage directly into the tol function. Instead, convert it to the 1σ standard deviation using the 3σ quality-control standard, then enter that value.
Use the formula σ = (nominal value × tolerance %) ÷ 3 to calculate the standard deviation, then set tol(nominal, σ, 0). This reproduces the actual manufacturing distribution with high fidelity, giving you a design-phase assessment of manufacturing tolerance effects that genuinely reflects reality — and meaningfully contributing to circuit reliability and quality assurance.
Related Articles
- uSimmics (formerly QucsStudio) Monte Carlo Simulation: How to Configure the tol Function Parameters [2026]
- Parametric Analysis of Electronic Circuits with uSimmics (formerly QucsStudio) [2026]
- uSimmics (formerly QucsStudio) vs. QUCS: Key Differences and Evolution [2026]
- How to Change the Project Folder Location in uSimmics (formerly QucsStudio) [2026]
- (Advanced) Simulation Techniques for Optimizing an LPF with Real Components


Comment