How to use this calculator
- Enter Weight of asset 1 (%)。
- Enter Std dev of asset 1 (%)。
- Enter Std dev of asset 2 (%)。
- Enter Correlation。
Leave any field blank and the calculator solves for it from the remaining values — every quantity is reversible.
The calculator then returns: Portfolio variance。
What is it
Two-Asset Portfolio Variance — Enter Weight of asset 1, Std dev of asset 1, Std dev of asset 2 and Correlation to get Portfolio variance — or leave any field blank to solve for it. Risk calculators turn "how much could I lose" into measurable numbers using volatility, drawdown and value-at-risk style metrics. The core question it answers is: Portfolio variance. With Weight of asset 1 = 60 %, Std dev of asset 1 = 15 % and Std dev of asset 2 = 20 %, Portfolio variance is 0.0203.
Formula
| Variable | Inputs | Unit |
|---|---|---|
w1 | Weight of asset 1 | % |
s1 | Std dev of asset 1 | % |
s2 | Std dev of asset 2 | % |
corr | Correlation | |
variance | Portfolio variance |
Math.pow(w1 / 100 * s1 / 100, 2) + Math.pow((1 - w1 / 100) * s2 / 100, 2) + 2 * (w1 / 100) * (1 - w1 / 100) * corr * s1 / 100 * s2 / 100The relationship is solved in every direction, so any one unknown field can be derived.
Worked example
Using the default inputs:
- Weight of asset 1 = 60 %
- Std dev of asset 1 = 15 %
- Std dev of asset 2 = 20 %
- Correlation = 0.4
Formula used: Math.pow(w1 / 100 * s1 / 100, 2) + Math.pow((1 - w1 / 100) * s2 / 100, 2) + 2 * (w1 / 100) * (1 - w1 / 100) * corr * s1 / 100 * s2 / 100
Answer:
- Portfolio variance = 0.0203
Example 1 (default inputs):Suppose Weight of asset 1 = 60 %, Std dev of asset 1 = 15 %, Std dev of asset 2 = 20 %, Correlation = 0.4; then giving Portfolio variance = 0.0203.
Example 2 (one input changed):If you change Weight of asset 1 to 90,giving Portfolio variance = 0.0208.
Additional information
Assumptions and limitations
- Risk metrics rest on historical distributions or normality assumptions; tail correlations in extreme markets push realised losses beyond model estimates. Use them to compare and set limits, not as a guarantee.
- Good for: getting a directionally correct order of magnitude quickly, or comparing two scenarios.
- Not good for: using it as the sole basis for a decision, or for official filings, contract pricing and legal documents — those need a full model with your actual clauses and local rules.