Probability Distributions Calculator Back
Statistics & Reliability

Probability Distributions Calculator

Select a distribution type and adjust parameters to plot PDF/PMF and CDF curves in real time. Compute percentiles, mean, and variance for reliability engineering and statistical analysis.

Distribution Settings

μ =
σ =

Moments & Percentiles

Results
0.00
Mean
1.00
Variance
P5 (5th pct.)
P95 (95th pct.)
PDF & CDF
Monte Carlo Histogram vs Theoretical PDF
Theory & Key Formulas

$$f(x;\mu,\sigma) = \frac{1}{\sigma\sqrt{2\pi}}\exp\left(-\frac{(x-\mu)^2}{2\sigma^2}\right)$$

正規分布 PDF:\(\mu\) 平均、\(\sigma\) 標準偏差。68-95-99.7則が成立

$$f(x;\lambda) = \lambda e^{-\lambda x}, \quad f(x;a,b) = \frac{\Gamma(a+b)}{\Gamma(a)\Gamma(b)}x^{a-1}(1-x)^{b-1}$$

指数分布(左)とベータ分布(右):信頼区間・ベイズ統計に利用

What is a Probability Distribution?

🙋
What exactly is a probability distribution? I hear "normal distribution" all the time, but what does it actually tell me?
🎓
Basically, it's a mathematical function that tells you how likely different outcomes are. For a normal distribution, it gives you the famous bell curve. In practice, if you're measuring something like the thickness of a manufactured part, the distribution shows you the most common thickness (the peak) and how much variation you can expect. Try selecting "Normal" in the simulator and moving the Mean μ slider—you'll see the entire curve shift left or right.
🙋
Wait, really? So the other slider, Std Dev σ, controls the width of the bell curve? What does a "wider" curve mean in real terms?
🎓
Exactly! A larger standard deviation σ means more spread, so your measurements are more scattered. For instance, in car crash tests, the peak force on a seatbelt might follow a normal distribution. A small σ means consistent results; a large σ means high variability, which is a safety concern. Go ahead, increase the Std Dev σ in the simulator and watch the bell curve flatten out—that's visualizing increased uncertainty.
🙋
That makes sense. But the tool also has a "Binomial" option. When would I use that instead of the normal bell curve?
🎓
Great question. Use the Binomial distribution when you're counting successes in a fixed number of trials. A common case is quality control: if you test 100 widgets (Trials n), each with a 2% defect probability (Probability p), the Binomial distribution tells you the probability of finding exactly 0, 1, 2,... defective parts. Switch the simulator to "Binomial" and adjust n and p. You'll see a discrete PMF (Probability Mass Function)—a series of bars, not a smooth curve—showing each possible count.

Physical Model & Key Equations

The Normal (Gaussian) Distribution is defined by its Probability Density Function (PDF). This continuous function describes the relative likelihood for a continuous random variable to take on a given value.

$$f(x) = \frac{1}{\sigma\sqrt{2\pi}}e^{ -\frac{1}{2}\left( \frac{x - \mu}{\sigma} \right)^2 }$$

Here, $x$ is the variable (e.g., measured stress, material strength). $\mu$ is the mean (the central, most probable value). $\sigma$ is the standard deviation , controlling the spread. The area under the PDF curve between two points gives the probability that $x$ falls in that range.

The Binomial Distribution is defined by its Probability Mass Function (PMF). This discrete function gives the probability of getting exactly $k$ successes in $n$ independent trials.

$$P(X = k) = \binom{n}{k}p^k (1-p)^{n-k}$$

Here, $n$ is the fixed number of trials , $k$ is the number of successes (from 0 to $n$), and $p$ is the probability of success on a single trial. The term $\binom{n}{k}$ is the binomial coefficient, counting the number of ways to achieve $k$ successes.

Real-World Applications

Material Property Scatter: The yield strength of a batch of steel isn't a single number. It follows a normal distribution. CAE engineers use this distribution in probabilistic design to ensure a component is reliable not just for the "average" strength, but for the weaker specimens likely to exist.

Monte Carlo Reliability Analysis: Engineers simulate thousands of virtual product tests, each time pulling random input values (like load or friction coefficient) from their defined probability distributions. The output distribution predicts the probability of failure, guiding design improvements.

Quality Control & Defect Prediction: The Binomial distribution is used directly. If a manufacturing process has a known defect rate p, and you sample n parts, this distribution calculates the probability of finding more than a certain number of defects, determining if the batch passes or fails inspection.

Measurement & Sensor Uncertainty: Every physical measurement has error. Repeated measurements of a fixed quantity (like a dimension) will cluster around the true value in a normal distribution. The standard deviation σ quantifies the precision of your measuring tool, which must be accounted for in sensitive CAE validation studies.

Common Misconceptions and Points to Note

First, understand that "the height of the PDF is not the probability itself." For example, the PDF of a normal distribution with mean 0 and standard deviation 0.5 has a high value of about 0.8 at x=0. This means "0 is the most likely outcome," but it does not mean "the probability of X=0 is 0.8." In a continuous distribution, the probability at a single point is always 0. To find a probability, you need to specify an interval and consider the area under the PDF. Try selecting "Normal Distribution" in the tool and visually checking the PDF range from x=0 to 0.5. This area corresponds to the probability that the random variable falls within that interval.

Next, do not confuse the scales when setting distribution parameters. For the binomial distribution's number of trials n and success probability p, and the Poisson distribution's mean occurrence rate λ, you must carefully consider the units to match your real-world data. For instance, if you are modeling "customers arriving at an average rate of 3 per hour" with a Poisson distribution, but your analysis time window is 30 minutes, you must set λ=1.5. In the tool, if you change λ from 3 to 1.5, you'll see the distribution's peak shift to the left. This misconfiguration can severely distort your predictions, so be cautious.

Finally, a practical pitfall: a larger 'N' value in Monte Carlo sampling is not always better. While N=10,000 will indeed produce a histogram closer to the theoretical PDF than N=2,000, you must consider the trade-off between computational cost and accuracy. Especially when evaluating rare "tail risks," simply increasing N is insufficient; you'll need advanced techniques like importance sampling. In the tool, select the "t-distribution (degrees of freedom=3)" and press the "Sample" button multiple times with N=1000. You should see the shape of the histogram's ends (the tails) vary significantly with each run. This illustrates part of the challenge in simulating rare events.

How to Use

  1. Select a distribution family (Normal, Poisson, Binomial, Exponential) from the dropdown menu.
  2. Enter distribution parameters: μ and σ for Normal (e.g., μ=100, σ=15); λ for Poisson (e.g., λ=3.5); n and p for Binomial (e.g., n=50, p=0.2); λ for Exponential (e.g., λ=0.8).
  3. The calculator instantly plots the PDF/PMF curve and CDF, then computes mean, variance, and user-specified percentiles (e.g., 5th, 50th, 95th percentile).

Worked Example

Manufacturing quality control: Component lifespan follows Normal distribution with μ=2000 hours, σ=200 hours. The calculator plots the PDF centered at 2000, computes variance=40000 (hours²), and determines that the 90th percentile is 2256 hours. For a Poisson distribution modeling defects per batch with λ=2.3, the PMF shows peak at mode=2, with variance=2.3 defects². For Binomial with n=100 trials, p=0.05 (5% defect rate), mean=5 defects, variance=4.75, and the 95th percentile reaches 11 defects per 100 units inspected.

Practical Notes

  1. For quality assurance, use Normal distribution with production tolerance limits (±3σ) to predict scrap rates; a 99.73% interval captures six-sigma process targets.
  2. Reliability engineering applies Exponential distribution for constant-failure-rate components; λ=0.001/hour means mean time between failures (MTBF)=1000 hours.
  3. Percentile outputs directly support risk assessment: identify when 95% of outcomes fall below critical thresholds (e.g., stress limits in materials testing).
  4. Verify parameter reasonableness: σ>0 for Normal, λ>0 for Poisson/Exponential, 0<p<1 for Binomial to avoid calculation errors.