Skip to main content
aifinhub
Risk & Portfolio Construction Formula

Downside Deviation Formula

Downside deviation is the square root of the average squared shortfall below a target return, where the average is taken over all observations rather than only the below-target ones. It isolates harmful volatility, ignoring upside dispersion entirely, and is the denominator of the Sortino ratio.

By AI Fin Hub Research · AI Fin Hub Team
Best Next MoveCalculators

Sharpe vs Sortino Calculator

Paste daily returns; get Sharpe, Sortino, Calmar, and Omega side-by-side with a recommendation on which ratio fits your distribution.

CalculatorOpen ->

On This Page

Formula

Copy the exact expression or work through it step by step below.

DD = sqrt( (1/n) x sum_i ( min(0, R_i - T) )^2 )

Variables

R_i

Period return

The strategy's return in period i, expressed in the same units as the target.

T

Target return (MAR)

Minimum acceptable return. Returns at or above T contribute zero through the min(0, .) clamp. Setting T = 0 measures deviation below break-even; setting T to the risk-free rate measures deviation below the safe alternative.

min(0, R_i - T)

Clamped shortfall

The deviation below target, floored at zero. Periods that meet or beat the target add nothing, so only the magnitude and frequency of underperformance drive the result.

n

Number of observations

Total count of periods. Dividing by the full count (not just the count of shortfalls) is the defining choice that keeps downside deviation comparable across samples and makes it the proper denominator for the Sortino ratio.

Step By Step

  1. 1

    Pick the target return T that defines a shortfall.

    Use T = 0 to treat any loss as downside.

  2. 2

    For every period, compute the return minus the target and replace positive values with zero.

    Returns of +2%, -1%, +3%, -5%, +1% against T = 0 give clamped shortfalls 0, -1%, 0, -5%, 0.

  3. 3

    Square the clamped shortfalls and sum them.

    Squares are 0, 0.0001, 0, 0.0025, 0; sum = 0.0026.

  4. 4

    Divide the sum by the total number of observations n, then take the square root.

    0.0026 / 5 = 0.00052; sqrt(0.00052) = 0.0228 = 2.28%.

Worked Example

Five monthly returns, target T = 0

Monthly returns

+2%, -1%, +3%, -5%, +1%

Target T

0%

Observations n

5

Clamped shortfalls: 0, -0.01, 0, -0.05, 0. Squares: 0, 0.0001, 0, 0.0025, 0. Sum = 0.0026. Divide by n = 5: 0.00052. Downside deviation = sqrt(0.00052) = 0.02280 = 2.28%.

Downside deviation of about 2.28% per month. The single -5% month dominates the figure; the three positive months and the small -1% month barely register, which is exactly the asymmetry the measure is built to capture.

Common Variations

Standard deviation: averages squared deviations from the mean on both sides, so upside dispersion counts equally.
Semideviation: a special case where the target equals the sample mean rather than a fixed MAR.
Below-target-count divisor: dividing the squared shortfalls by the number of below-target periods instead of n; this is a common but non-standard variant that inflates the measure.

Try These Tools

Run the numbers next

Sources & References

Related Content

Keep the topic connected

Planning estimates only — not financial, tax, or investment advice.