Skip to content
Free public beta until December 4, 2026: every course is open, no card needed. After that, the first chapter of each course stays free and full access is a one-time $39 ($19 for up to 100 founding members chosen for helpful feedback). Your progress is kept. How the beta works

variance

Variance measures how spread out a random variable's values are around its mean; covariance measures how two random variables spread out together.

The variance of a random variable X, \operatorname{Var}(X)=E[(X-\mu)^2], measures how far its values typically spread from the mean \mu. Covariance is the two-variable version, \operatorname{Cov}(X,Y)=E[(X-\mu_X)(Y-\mu_Y)], and reduces to variance when X=Y.

See also

Read the full section →
Graph settings

Calculator