Calculation guide
Enter 2–12 assets and each covariance pair once. A volatility of 10% has variance 100 in squared percentage points. Use a positive-definite annual matrix. Enter weights totaling 100%. The selected marginal is the volatility change per unit increase in weight with other weights held fixed. Component contributions sum to volatility.
σ = √(wᵀΣw). Marginal = (Σw)ᵢ/σ. Component = wᵢ × marginal.
Inputs
Selected asset number
Example entry 1. Use whole numbers.
Signed portfolio weight (%)
Example entry 50. Allowed range -10000 to 10000.
First asset number
Example entry 1. Allowed range 1 to 12. Use whole numbers.
Second asset number
Example entry 1. Allowed range 1 to 12. Use whole numbers.
Covariance in percentage-points squared
Example entry 100. Allowed range -100000000.0 to 100000000.0.
Worked example
| Input | Value |
|---|---|
| Selected asset number | 1 |
Portfolio positions in numbered order
| Signed portfolio weight (%) |
|---|
| 50 |
| 50 |
Annual covariance matrix entries (one row per unordered pair)
| First asset number | Second asset number | Covariance in percentage-points squared |
|---|---|---|
| 1 | 1 | 100 |
| 1 | 2 | 0 |
| 2 | 2 | 400 |
| Result | Value |
|---|---|
| Marginal volatility per unit of weight | 4.472136% |
| Selected component of portfolio volatility | 2.236068% |
| Selected asset share of variance | 20% |
| Annual portfolio volatility | 11.18034% |
How each input affects this example
Each row starts from the worked example and changes one input.
| Input | Original input | New input | Affected result | Original result | New result |
|---|---|---|---|---|---|
| Selected asset number | 1 | 2 | Marginal volatility per unit of weight | 4.472136% | 17.888544% |
| Covariance in percentage-points squared (row 1) | 100 | 110 | Marginal volatility per unit of weight | 4.472136% | 4.870882% |
