Compute mean, variance, and probabilities from structured inputs. Handle sample data and discrete distributions effortlessly. Export results, inspect graphs, and validate probability totals confidently.
This example uses a weighted discrete distribution. It demonstrates how outcome values combine with probabilities to produce the expected value and spread metrics.
| Outcome x | Probability p(x) | x · p(x) | x² · p(x) |
|---|---|---|---|
| 1 | 0.10 | 0.10 | 0.10 |
| 2 | 0.20 | 0.40 | 0.80 |
| 3 | 0.30 | 0.90 | 2.70 |
| 4 | 0.25 | 1.00 | 4.00 |
| 5 | 0.15 | 0.75 | 3.75 |
| Total | 1.00 | 3.15 | 11.35 |
From this table, the mean is 3.15. The variance is 11.35 − (3.15²), which equals 1.4275.
Mean: μ = Σ[xᵢ · pᵢ]
Second moment: E[X²] = Σ[xᵢ² · pᵢ]
Variance: Var(X) = E[X²] − μ²
Standard deviation: σ = √Var(X)
Event probability: P(event) = sum of probabilities for all outcomes inside the chosen event
Mean: x̄ = Σxᵢ / n
Population variance: σ² = Σ(xᵢ − x̄)² / n
Sample variance: s² = Σ(xᵢ − x̄)² / (n − 1)
Empirical probability: count of matching observations / n
It measures central tendency, spread, and event likelihood. You can compute mean, variance, standard deviation, and selected probabilities from either raw observations or a discrete probability distribution.
Use distribution mode when every outcome already has an assigned probability. This is common in modeled scenarios, risk tables, game outcomes, and any finite random variable with known weights.
Use sample mode when you have observed data points rather than predefined probabilities. The calculator estimates relative probabilities from frequencies and then computes statistics from the observed sample.
Population variance divides by n and assumes your dataset is the full population. Sample variance divides by n − 1 and is better when your data is a sample drawn from a larger population.
Normalization rescales the probability list so the total becomes 1. It is useful when rounding or manual entry causes a small mismatch, but it should not replace clearly incorrect data.
Yes. Choose the range query option and enter a lower and upper bound. The tool sums all included probabilities or counts matching observations to estimate the requested event probability.
The bar trace shows either distribution probabilities or empirical relative frequencies. The line trace shows cumulative probability, and the vertical marker shows the mean for quick visual interpretation.
Yes. After a successful calculation, use the CSV button for spreadsheet-friendly output or the PDF button for a clean report containing the summary table and detailed probability table.
Important Note: All the Calculators listed in this site are for educational purpose only and we do not guarentee the accuracy of results. Please do consult with other sources as well.