Loading the player...

What is 'Variance'

Variance is a measurement of the spread between numbers in a data set. The variance measures how far each number in the set is from the mean. Variance is calculated by taking the differences between each number in the set and the mean, squaring the differences (to make them positive) and dividing the sum of the squares by the number of values in the set.

X: individual data point

u: mean of data points

N: total # of data points

Note: When calculating a sample variance to estimate a population variance, the denominator of the variance equation becomes N - 1 so that the estimation is unbiased and does not underestimate population variance.


Variance is used in statistics for probability distribution. Since variance measures the variability (volatility) from an average or mean and volatility is a measure of risk, the variance statistic can help determine the risk an investor might take on when purchasing a specific security. A variance value of zero indicates that all values within a set of numbers are identical; all variances that are non-zero will be positive numbers. A large variance indicates that numbers in the set are far from the mean and each other, while a small variance indicates the opposite.

Statisticians use variance to see how individual numbers relate to each other within a data set, rather than using broader mathematical techniques such as arranging numbers into quartiles. A drawback to variance is that it gives added weight to numbers far from the mean (outliers), since squaring these numbers can skew interpretations of the data. The advantage of variance is that it treats all deviations from the mean the same regardless of direction; as a result, the squared deviations cannot sum to zero and give the appearance of no variability at all in the data. The drawback of variance is that it is not easily interpreted and the square root of its value is usually taken to get the standard deviation of the data set in question.

Variance in Investing

Variance is one of the key parameters in asset allocation. Along with correlation, variance of asset returns helps investors to develop optimal portfolios by optimizing the return-volatility trade-off in investment portfolios. Risk or volatility is often expressed as a standard deviation rather than variance because the former is more easily interpreted.

Example of Variance

Returns for a stock are 10% in year 1, 20% in year 2 and -15% in year 3. The average of these three returns is 5%. The differences between each return and the average are 5%, 15%, and -20% for each consecutive year. Squaring these deviations yields 25%, 225% and 400%, respectively; summing these squared deviations gives 650%. Dividing the sum of 650% by the number of returns in the data set (3 in this case) yields the variance of 216.67%. Taking the square root of the variance yields the standard deviation of 14.72% for the returns.

  1. Standard Deviation

    A measure of the dispersion of a set of data from its mean, calculated ...
  2. Yield Variance

    Yield variance describes the difference between actual output ...
  3. Variance Swap

    A variance swap allows counterparties to hedge or speculate directly ...
  4. Efficiency Variance

    Efficiency variance is the difference between the theoretical ...
  5. Analysis Of Variance - ANOVA

    Analysis of variance (ANOVA) is a statistical analysis tool that ...
  6. Sales Mix Variance

    The difference in the quantity of customer purchases of each ...
Related Articles
  1. Investing

    Computing Historical Volatility in Excel

    We examine how annualized historical volatility is computed from daily log returns, variance and standard deviation.
  2. Investing

    Two Approaches to Building a Low-Risk Portfolio

    Building a portfolio consisting of low-risk assets is achieved primarily by using one of two principal low-volatility strategies.
  3. Investing

    Understanding The Sharpe Ratio

    The Sharpe ratio describes how much excess return you are receiving for the extra volatility that you endure for holding a riskier asset.
  4. Tech

    Square Surpasses $1B in Business Loans (SQ)

    Square reported Q3 software and data product revenue up 140% over last year, as Square Capital opens up and builds out with an array of new partnerships.
  5. Trading

    Understand How Square Works before the IPO

    Square is reported to have filed for an IPO. For interested investors wondering how the company makes money, Investopedia takes a look at its business.
  6. Investing

    A Simplified Approach To Calculating Volatility

    Though most investors use standard deviation to determine volatility, there's an easier and more accurate way of doing it: the historical method.
  7. Tech

    How Risky is Jack Dorsey’s Square? (SQ)

    Square is hedging against rising competitive risk and a possible economic downturn by expanding software services and pushing for digitalization.
  8. Tech


    Square helps small businesses accept credit cards, track sales and inventory and even obtain financing.
  9. Tech

    Fintech Leader Square Posts Q3 Earnings Beat (SQ)

    Jack Dorsey's payments and financial services platform celebrates one year on the public markets with an earnings beat, securing revenue growth of 32% YOY.
  10. Tech

    Needham Initiates Square Inc. at Buy

    Analysts applaud the fintech leader's 'complete and cohesive' platform for clients of all sizes.
  1. Is variance good or bad for stock investors?

    Learn how high variance stocks are good for some investors and how diversified portfolios can reduce variance without compromising ... Read Answer >>
  2. How can I measure portfolio variance?

    Find out more about portfolio variance, the formula to calculate portfolio variance and how to calculate the variance of ... Read Answer >>
  3. How do you calculate variance in Excel?

    To calculate statistical variance in Microsoft Excel, use the built-in Excel function VAR. Read Answer >>
  4. What is the difference between standard deviation and average deviation?

    Understand the basics of standard deviation and average deviation, including how each is calculated and why standard deviation ... Read Answer >>
  5. According to the CAPM, the expected return on a stock, that is part of a portfolio, ...

    A. the covariance between the stock and the market. B. the variance of the market. C. the market risk premium. D. ... Read Answer >>
  6. What is the difference between standard deviation and z score?

    Understand the basics of standard deviation and Z-score; learn how each is calculated and used in the assessment of market ... Read Answer >>
Hot Definitions
  1. Initial Public Offering - IPO

    The first sale of stock by a private company to the public. IPOs are often issued by companies seeking the capital to expand ...
  2. Cost of Goods Sold - COGS

    Cost of goods sold (COGS) is the direct costs attributable to the production of the goods sold in a company.
  3. Profit and Loss Statement (P&L)

    A financial statement that summarizes the revenues, costs and expenses incurred during a specified period of time, usually ...
  4. Monte Carlo Simulation

    Monte Carlo simulations are used to model the probability of different outcomes in a process that cannot easily be predicted ...
  5. Price Elasticity of Demand

    Price elasticity of demand is a measure of the change in the quantity demanded or purchased of a product in relation to its ...
  6. Sharpe Ratio

    The Sharpe ratio is the average return earned in excess of the risk-free rate per unit of volatility or total risk.
Trading Center