The document shows the steps to calculate the variance and standard deviation of a probability distribution. It involves creating columns for the random variable x, the probability P(x), the products x*P(x) and x^2*P(x). The mean is calculated as the sum of x*P(x). The variance is calculated as the sum of x^2*P(x) - the mean squared.