Portfolio Return & Risk
16 formulas
Portfolio formulas measure what a portfolio earned relative to the risk it carried. Performance ratios (Sharpe, Sortino, Treynor, information ratio, Jensen's alpha) reward return per unit of risk; return statistics (arithmetic and geometric means, coefficient of variation, covariance, correlation) describe the inputs; portfolio variance combines assets by weight and correlation; and downside measures (historical and parametric value at risk, maximum drawdown) size the losses an investor should be prepared to absorb.
Performance Measures
Sharpe Ratio
Excess return per unit of total volatility. Computes the mean of the return series, subtracts the risk-free rate, and divides by the sample standard deviation of returns.
Sortino Ratio
Mean return minus the per-period target, divided by target downside deviation. Downside deviation is the square root of the average squared shortfall across all n observations, including zeros above target.
Treynor Ratio
Excess return per unit of systematic (market) risk. Numerator is the same as Sharpe; denominator is beta instead of total volatility.
Information Ratio
Active return per unit of tracking error. Numerator is the mean excess return over the benchmark; denominator is the standard deviation of those excess returns (the tracking error).
Jensen's Alpha
The return a portfolio earned above what CAPM says its beta deserved: actual return minus the risk-free rate plus beta times the market premium. Positive alpha is skill (or luck); zero is what an index fund with the same beta delivers.
Return Statistics
Geometric Mean Return
Compounded average periodic return. Multiplies (1 + r) across all periods, takes the n-th root, and subtracts 1. The honest "actual realized growth" of the series.
Arithmetic Mean Return
Simple average of periodic returns. Sum of returns divided by the number of periods.
Coefficient of Variation (CV)
Standard deviation divided by mean — risk per unit of return. Unitless, so it compares cleanly across investments with different return scales.
Covariance of Returns
How two return series move together: the average product of their deviations from their means, using the sample divisor n − 1. Positive when the two tend to rise and fall together, negative when they offset.
Correlation of Returns
Covariance scaled by the two standard deviations, so it always lies between −1 and +1. It measures how reliably two assets move together, independent of how volatile each one is.
Portfolio Variance
Portfolio Variance (2-Asset)
Variance of a two-asset portfolio. Combines individual variances with the covariance term that captures diversification benefits when correlation is below 1.
Three-Asset Portfolio Variance
Variance of a portfolio of three assets from their weights, volatilities and the three pairwise correlations. Each pair contributes 2 w_i w_j σ_i σ_j ρ_ij, so low or negative correlations pull the total below the weighted sum of variances.
N-Asset Portfolio Variance
Variance of a portfolio of any number of assets from a weight vector and a covariance matrix: wᵀΣw. Enter the matrix row by row; the diagonal holds each asset's variance and the off-diagonal entries the pairwise covariances.
Downside Risk
Historical Value at Risk (VaR)
The loss that was only exceeded (1 − confidence) of the time in the observed returns: sort the returns from worst to best, take the one at position floor((1 − c) × n), and report its loss as a positive fraction. No distribution is assumed; the history speaks for itself.
Parametric Value at Risk (VaR)
Value at risk assuming returns are normally distributed with the given mean and volatility: the loss at the (1 − c) tail of that normal curve, z × σ − μ, where z is the standard normal quantile for the confidence level (1.645 at 95%, 2.326 at 99%).
Maximum Drawdown
The largest fall from any peak to a later trough in a price or value series, as a fraction of that peak. It measures the worst loss an investor who bought at the top and sold at the bottom would have suffered.