Calculate portfolio variance and standard deviation from asset weights, standard deviations, and correlations for two or more assets.

Portfolio Variance Calculator

Enter decimals or percentages consistently.
Multi-Asset List
2-Asset Detail
Order: ฯ12, ฯ13, ฯ23 for 3 assets; then ฯ14, ฯ24, ฯ34 for 4 assets, and so on.
Portfolio Variance
โ€”
Std. Deviation
โ€”
โ–ธ Show calculation

Portfolio Variance Formula

The following formula is used to calculate the portfolio variance:

PV = w1^2 * ฯƒ1^2 + w2^2 * ฯƒ2^2 + ... + wn^2 * ฯƒn^2 + 2 * w1 * w2 * ฯ12 * ฯƒ1 * ฯƒ2 + ... + 2 * w1 * wn * ฯ1n * ฯƒ1 * ฯƒn + ... + 2 * wn-1 * wn * ฯn-1n * ฯƒn-1 * ฯƒn

Variables:

  • PV is the portfolio variance
  • w1, w2, ..., wn are the weights of the individual assets in the portfolio
  • ฯƒ1, ฯƒ2, ..., ฯƒn are the standard deviations of the individual assets
  • ฯ12, ฯ1n, ..., ฯn-1n are the correlation coefficients between the individual assets

To calculate the portfolio variance, square the weight of each asset and multiply it by the square of its standard deviation. Then, for each distinct pair of assets (i, j), compute 2 ร— wi ร— wj ร— ฯij ร— ฯƒi ร— ฯƒj. Finally, sum the single-asset terms and all pairwise terms to obtain the portfolio variance.

What is a Portfolio Variance?

Portfolio variance is a statistical measure of the dispersion of a portfolioโ€™s returns (the expected squared deviation of returns from their mean). It is a key concept in modern portfolio theory, which commonly measures risk using the variance (or, more commonly in practice, the standard deviation) of returns. Portfolio variance can be computed from asset weights and the assetsโ€™ variances and covariances (or standard deviations and correlation coefficients). The portfolio standard deviation (the square root of the variance) is often called the portfolioโ€™s volatility; higher variance implies higher volatility and risk.

How to Calculate Portfolio Variance?

The following steps outline how to calculate the Portfolio Variance.


  1. First, determine the weights of each asset in the portfolio.
  2. Next, determine the variances of each asset in the portfolio.
  3. Next, determine the covariance between each pair of assets in the portfolio.
  4. Calculate the squared weights of each asset.
  5. Multiply the squared weights by the variances of each asset.
  6. For each distinct pair of assets, calculate 2 ร— (weighti ร— weightj ร— covariance(i,j)).
  7. Sum up the results from steps 5 and 6.
  8. The final result is the portfolio variance.

Example Problem:

Use the following variables as an example problem to test your knowledge.

Weights: Asset A = 0.4, Asset B = 0.6

Variances: Asset A = 0.09, Asset B = 0.16

Covariance: Cov(A,B) = 0.04