Marginal contribution to portfolio risk · Calculation guide

Decompose volatility into asset-level marginal and component contributions.

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

InputValue
Selected asset number1

Portfolio positions in numbered order

Signed portfolio weight (%)
50
50

Annual covariance matrix entries (one row per unordered pair)

First asset numberSecond asset numberCovariance in percentage-points squared
11100
120
22400
ResultValue
Marginal volatility per unit of weight4.472136%
Selected component of portfolio volatility2.236068%
Selected asset share of variance20%
Annual portfolio volatility11.18034%

How each input affects this example

Each row starts from the worked example and changes one input.

InputOriginal inputNew inputAffected resultOriginal resultNew result
Selected asset number12Marginal volatility per unit of weight4.472136%17.888544%
Covariance in percentage-points squared (row 1)100110Marginal volatility per unit of weight4.472136%4.870882%
Marginal contribution to portfolio risk →

Sources