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.

Next Up

BREAKING DOWN '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 assume 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, the 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.

Variance Formula and Example

Variance is calculated using the following formula:

(X: individual data point, u: mean of data points, and N: total # of data points)

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.

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.

RELATED TERMS
1. Portfolio Variance

Portfolio variance is the measurement of how the actual returns ...
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. Budget Variance

A periodic measure used by governments, corporations or individuals ...
5. Mean-Variance Analysis

The process of weighing risk against expected return. Mean variance ...
6. Sales Price Variance

Sales price variance is the difference between the money a business ...
Related Articles

Exploring the Exponentially Weighted Moving Average

Learn how to calculate a metric that improves on simple variance.
2. Investing

Computing Historical Volatility in Excel

We examine how annualized historical volatility is computed from daily log returns, variance and standard deviation.
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. Investing

The Uses And Limits Of Volatility

Check out how the assumptions of theoretical risk models compare to actual market performance.
5. 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.
6. Tech

How Square Cash Works and Makes Money

Square Inc. has rapidly grown into one of the largest payment processing companies in the United States, and here's how it makes money.
7. Investing

Square Is Becoming a Bank

The company, which sells hardware for payments and lends to small businesses, took the first step by filing an application.
8. 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.
9. Tech

Square Moves to Attract 'Upmarket' Clients (SQ)

In the fintech leader's latest earnings call, the company indicates a push to harness larger businesses in order to gain more stable and lucrative revenue.
10. Investing

A Guide to Understanding Market Volatility

Market volatility is inevitable. Understanding how it works can help investors keep calm during periods of short-term declines.
RELATED FAQS
1. What is the difference between standard deviation and variance?

Understand the difference between standard deviation and variance; learn how each is calculated and how these concepts are ... Read Answer >>
2. How do you calculate variance in Excel?

To calculate statistical variance in Microsoft Excel, use the built-in Excel function VAR. Read Answer >>
3. 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 >>
4. What is the best measure of a stock's volatility?

Understand what metrics are most commonly used to assess a security's volatility compared to its own price history and that ... 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 does standard deviation measure in a portfolio?

Dig deeper into the investment uses of and mathematical principles behind standard deviation as a measurement of portfolio ... Read Answer >>
Hot Definitions
1. Inflation

Inflation is the rate at which prices for goods and services is rising and the worth of currency is dropping.
2. Discount Rate

Discount rate is the interest rate charged to commercial banks and other depository institutions for loans received from ...
3. Economies of Scale

Economies of scale refer to reduced costs per unit that arise from increased total output of a product. For example, a larger ...
4. Quick Ratio

The quick ratio measures a company’s ability to meet its short-term obligations with its most liquid assets.
5. Leverage

Leverage results from using borrowed capital as a source of funding when investing to expand the firm's asset base and generate ...
6. Financial Risk

Financial risk is the possibility that shareholders will lose money when investing in a company if its cash flow fails to ...