Solve variance from probabilities, frequencies, or raw observations. Review expected value, squared deviations, and spread. Clean outputs, exports, and charts support deeper learning today.
Use the responsive calculator grid below. It displays three columns on large screens, two on medium screens, and one on mobile devices.
| Value x | Probability p(x) | x × p(x) | x² × p(x) |
|---|---|---|---|
| 0 | 0.10 | 0.0000 | 0.0000 |
| 1 | 0.20 | 0.2000 | 0.2000 |
| 2 | 0.30 | 0.6000 | 1.2000 |
| 3 | 0.25 | 0.7500 | 2.2500 |
| 4 | 0.15 | 0.6000 | 2.4000 |
| Total | 1.00 | 2.1500 | 6.0500 |
For this example, the expected value is 2.15 and the variance is 1.4275. This sample is already loaded as the default calculator input.
Expected value: μ = Σ[xi pi]
Second moment: E[X²] = Σ[xi² pi]
Variance: Var(X) = Σ[pi(xi - μ)²] = E[X²] - μ²
Standard deviation: σ = √Var(X)
Coefficient of variation: CV = (σ / |μ|) × 100%
Empirical sample variance: s² = Σ[fi(xi - x̄)²] / (n - 1)
The calculator also reports skewness and excess kurtosis when the standard deviation is nonzero.
It measures the variance of a random variable and also reports the mean, second moment, standard deviation, skewness, kurtosis, and other supporting metrics.
Yes. Choose frequency mode and enter the value list with matching frequencies. The calculator converts frequencies into probabilities before computing the variance.
Enable auto normalization to scale them automatically. If you leave normalization off, probabilities should already represent a valid total probability distribution.
Raw mode first builds an empirical distribution and reports its variance. It also shows a sample variance and sample standard deviation for observational data.
The coefficient of variation divides the standard deviation by the absolute mean. If the mean is zero or extremely close to zero, the ratio becomes undefined.
The bar series shows the distribution probabilities, while the line series shows how much each value contributes to the overall variance.
Yes. Repeated values are combined automatically in discrete and frequency modes. In raw mode, repeated observations are counted and converted into empirical probabilities.
It uses both equivalent forms: Var(X) = E[X²] - μ² and Var(X) = Σ[p(x)(x - μ)²]. The detailed table verifies the contribution form row by row.
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.