Standard Deviation of Portfolio Calculator
Why Two Risky Assets Can Make a Less Risky Portfolio
Combining two volatile assets doesn't necessarily produce a volatile portfolio — it depends heavily on how the two move relative to each other. When assets aren't perfectly correlated, their swings partly cancel out, so a two-asset portfolio's standard deviation is usually lower than a simple weighted average of the individual standard deviations. That's the mathematical basis of diversification.
The Formula
w1 and w2 are the normalized portfolio weights, σ1 and σ2 are each asset's standard deviation, and ρ (rho) is the correlation coefficient between the two assets, ranging from -1 (perfectly opposite) to +1 (perfectly aligned).
Why Correlation Is the Key Variable
- Correlation of +1 — the assets move in lockstep; portfolio risk is simply the weighted average of the two individual risks, with no diversification benefit.
- Correlation of 0 — the assets move independently; combining them already reduces portfolio risk below the weighted average.
- Correlation below 0 — the assets tend to move in opposite directions, which can reduce portfolio risk substantially, sometimes below either individual asset's own volatility.
60/40 Portfolio: 15% and 8% Volatility, by Correlation
| Correlation | Portfolio Std Dev |
|---|---|
| -1.0 (perfectly opposite) | 5.8000% |
| -0.5 | 7.9019% |
| 0.0 (independent) | 9.5520% |
| 0.5 | 10.9563% |
| 1.0 (perfectly aligned) | 12.2000% |
At correlation 1.0, portfolio std dev (12.20%) equals the simple weighted average of 15% and 8% — there's no diversification benefit at perfect correlation.
How to Use This Calculator
- Enter Asset 1 Weight and Asset 2 Weight (as percentages or proportional values).
- Enter Asset 1 Std Deviation and Asset 2 Std Deviation as percentages.
- Enter the Correlation Coefficient between the two assets, from -1 to 1.
- Select Calculate to see the combined portfolio standard deviation.
Related Calculations
Use this result to estimate potential losses with the Value at Risk Calculator, or check single-asset volatility with the Risk Calculator.
Mathematical Theory of Portfolio Variance and Standard Deviation
In Modern Portfolio Theory (MPT), formulated by Harry Markowitz, the total volatility of a multi-asset portfolio — measured by its standard deviation (σp) — is not simply the weighted arithmetic average of the standard deviations of individual constituent assets. Instead, portfolio risk is fundamentally governed by the pairwise covariances and correlation coefficients between every pair of assets held in the portfolio.
For a two-asset portfolio with asset weights w1 and w2 (where w1 + w2 = 1.0):
Where σ1 and σ2 are the individual asset standard deviations, and ρ12 is the Pearson correlation coefficient between the returns of Asset 1 and Asset 2 (-1.0 ≤ ρ12 ≤ +1.0).
The Diversification Effect and Matrix Formulation
For an N-asset portfolio, portfolio variance is expressed compactly in linear algebra matrix notation:
Where w is the N × 1 vector of asset weights, wT is its transpose, and Σ (Sigma) is the N × N symmetric covariance matrix containing asset variances along the main diagonal and inter-asset covariances in the off-diagonal cells:
- Perfect Positive Correlation (ρ = +1.0): No diversification benefit; portfolio standard deviation equals the weighted average: σp = w1σ1 + w2σ2.
- Zero Correlation (ρ = 0.0): Significant risk reduction; portfolio variance equals the sum of weighted individual variances: σp = √(w1²σ1² + w2²σ2²).
- Perfect Negative Correlation (ρ = -1.0): Total risk elimination is mathematically possible by selecting weights: w1 = σ2 / (σ1 + σ2), yielding σp = 0.0.
Step-by-Step Worked Calculation Example
Example: Calculating Volatility for a 60/40 Stock/Bond Asset Allocation
Problem: An investor constructs a classic balanced portfolio allocated 60% to an S&P 500 Equity Index Fund (w1 = 0.60, σ1 = 16.0% annual volatility) and 40% to a Core Aggregate Bond Fund (w2 = 0.40, σ2 = 6.0% annual volatility). Historical correlation between the equity and bond funds is ρ12 = 0.15. Calculate: (1) The weighted average volatility without diversification; (2) The actual portfolio standard deviation; and (3) The volatility reduction achieved through diversification.
Step 1: Calculate simple weighted average volatility:
Weighted Volatility = (0.60 × 16.0%) + (0.40 × 6.0%) = 9.60% + 2.40% = 12.00%
Step 2: Calculate Markowitz portfolio variance:
Term 1 (Equity Variance) = (0.60)² × (0.16)² = 0.36 × 0.0256 = 0.009216
Term 2 (Bond Variance) = (0.40)² × (0.06)² = 0.16 × 0.0036 = 0.000576
Term 3 (Covariance) = 2 × 0.60 × 0.40 × 0.16 × 0.06 × 0.15 = 0.0006912
σp² = 0.009216 + 0.000576 + 0.0006912 = 0.0104832
Step 3: Take the square root to obtain portfolio standard deviation:
σp = √(0.0104832) = 0.102387 = 10.24% annual volatility
Conclusion: Due to imperfect correlation (ρ = 0.15), the actual portfolio risk is 10.24% — reducing volatility by 1.76% (a 14.7% risk reduction) compared to the un-diversified 12.00% weighted average.
Common Pitfalls in Portfolio Volatility Modeling
- Assuming Static Constant Correlations: Historical asset correlations fluctuate dynamically; during market liquidity crises, correlations between risk assets tend to spike toward +1.0, temporarily diminishing portfolio diversification benefits.
- Annualizing Daily Standard Deviations Incorrectly: Convert daily return volatility to annual volatility by multiplying by the square root of trading days: σannual = σdaily × √252.
Risk Parity and Equal Risk Contribution (ERC) Portfolios
In modern institutional asset allocation (pioneered by Bridgewater's "All Weather" strategy), investors utilize portfolio standard deviation math to construct Risk Parity portfolios. In a traditional 60/40 market-cap weighted portfolio, equities contribute over 90% of total portfolio volatility despite representing only 60% of capital.
Risk parity solves for asset weights such that the Marginal Contribution to Risk (MCRi = [ Σ × w ]i / σp) multiplied by asset weight wi is identical across all asset classes:
By balancing risk contributions equally between equities, sovereign bonds, commodities, and inflation-linked debt, risk parity achieves superior risk-adjusted Sharpe ratios across diverse inflationary and deflationary macroeconomic growth environments.
The Effective Number of Uncorrelated Bets
To measure genuine portfolio diversification, quantitative risk managers calculate the Diversification Ratio (DR) — the ratio of the weighted average asset volatility to the diversified portfolio standard deviation: DR = [ ∑ (wi × σi) ] / σp. A higher Diversification Ratio confirms that non-correlated asset combinations are effectively dampening total portfolio variance.
Ledoit-Wolf Shrinkage Estimator for Covariance Matrices
In high-dimensional portfolio optimization (where the number of assets N is large relative to the number of historical time periods T), the sample covariance matrix is notoriously ill-conditioned and noisy, causing Markowitz optimizers to construct extreme long-short positions that perform poorly out-of-sample.
Quantitative financial engineers implement the Ledoit-Wolf Shrinkage Estimator, which mathematically blends the noisy empirical sample covariance matrix with a structured target matrix (such as a single-index market model):
Where S is the empirical sample covariance matrix, F is the structured shrinkage target, and δ is the optimal shrinkage intensity parameter (0 ≤ δ ≤ 1), dramatically reducing out-of-sample portfolio variance.
Minimum Variance Portfolio Optimization
On the Markowitz efficient frontier, the Global Minimum Variance (GMV) portfolio represents the unique asset allocation combination that achieves the lowest possible portfolio standard deviation without short-selling constraints, serving as a conservative anchor for capital preservation mandates.
Empirical Variance Scaling and Autocorrelation
When financial asset returns exhibit serial autocorrelation, scaling daily volatility to annual volatility requires adjusting the standard square-root-of-time rule to account for multi-period auto-covariance terms.