Var(X)=E[(X−E[X])2]Var(X) = E[(X-E[X])^2]Var(X)=E[(X−E[X])2] for a Random variable XXX.
where E[]E[]E[] means the Expected value.
See also Covariance