Sortino Ratio Calculator

Divide excess return over a target by downside deviation to get a Sortino ratio.

Finance and MoneyUpdated 2026-11-192 min read
Sortino Ratio Calculator
Between 2 and 100 returns in percent, separated by commas. Negative values are allowed.
The minimum acceptable return in the same period units as the returns.
Sortino ratio
...
Mean return...
Downside deviation...
Target return...
Number of returns...
Returns below target...

What it does

The Sortino ratio is a risk adjusted performance measure related to the Sharpe ratio. The key difference is the denominator. Sharpe divides by the standard deviation of all returns, while Sortino divides by downside deviation, which ignores returns above the target.

This tool takes a list of period returns and a target, often called the minimum acceptable return. It computes the mean, measures how far each return falls below the target, squares those shortfalls, averages them over every observation, and takes the square root.

The default series is 10, 12, minus 5, 8, 15, minus 2 and 9 percent with a target of 5 percent. The mean is about 6.714 and only two periods fall below target. Downside deviation is about 4.614, giving a Sortino ratio near 0.372.

Averaging squared shortfalls over the full count matters. Dividing only by the number of bad periods understates downside risk and inflates the ratio. The tool deliberately uses the total number of observations.

The discrete calculation shown here is the common practical version. Sortino himself preferred fitting a continuous distribution to returns before measuring downside, which requires more data and software than a simple page can provide.

How to use

  1. Enter the period returns separated by commas, using the same unit for each.
  2. Enter the target return in that same unit.
  3. Read the Sortino ratio as the main result.
  4. Check the mean return to see the numerator of the ratio.
  5. Check downside deviation to see how much bad variation was measured.
  6. Use the below target count to confirm which periods contributed.

Formula

Sortino = (mean return minus target) / downside deviation, where downside deviation = square root of the average of min(return minus target, 0) squared over all periods
mean return
The arithmetic average of the entered period returns.
target
The minimum acceptable return, entered here as a percent.
downside deviation
Square root of the mean squared shortfall below the target, using all observations in the average.

A period at or above the target contributes zero to the squared shortfall sum but still counts in the denominator average. If no period falls below the target, downside deviation is zero and the ratio is undefined, so the tool reports a clear error instead of dividing by zero.

Worked example

Example: seven annual returns

The page opens with returns of 10, 12, -5, 8, 15, -2 and 9 percent and a target of 5 percent.

  1. Add the seven returns to get 47, then divide by 7 for a mean of about 6.714.
  2. Only the returns of minus 5 and minus 2 fall below the target of 5.
  3. Their shortfalls are minus 10 and minus 7, whose squares are 100 and 49.
  4. Divide the sum of 149 by all 7 observations to get about 21.286.
  5. The square root is about 4.614, the downside deviation.
  6. Excess return is 6.714 minus 5, about 1.714.
  7. Dividing 1.714 by 4.614 gives a Sortino ratio of about 0.372.

Reference table

Sortino ratios for sample return series
Returns (percent)TargetDownside deviationSortino ratio
10, 12, -5, 8, 15, -2, 954.6140.372
8, -4, 6, 10, -123.0000.600
3, -6, 9, -3, 12, 045.260-0.285

Limits

  • Uses the discrete definition of downside deviation, not a fitted continuous distribution.
  • The target must be in the same period units as the returns.
  • If no return falls below target, the ratio is undefined and the tool reports an error.
  • Accepts 2 to 100 return values.

Common mistakes

  • Dividing squared shortfalls by the number of bad periods only.
  • Using standard deviation of all returns as the denominator.
  • Mixing monthly returns with an annual target.
  • Forgetting that a negative ratio simply means the mean missed the target.
  • Treating a higher ratio as a guarantee of future performance.

Try it yourself

Quick checks. Answers sit tucked under each question.

Returns 8, -4, 6, 10, -1 with target 2. What is the ratio?

0.600. The mean is 3.8 and downside deviation is 3.0.

Returns 3, -6, 9, -3, 12, 0 with target 4. What is the ratio?

-0.285. The mean of 2.5 is below the target, so the numerator is negative.

Every return exceeds the target. What does the tool report?

An error, because downside deviation is zero and the ratio is undefined.

Questions

How is Sortino different from Sharpe?

Sharpe uses total volatility in the denominator, while Sortino counts only shortfalls below the target.

What is the minimum acceptable return?

It is the target chosen by the investor, often the risk free rate or zero.

Do good periods count in the denominator?

They contribute zero shortfall but still count in the average, which avoids understating downside risk.

Can the ratio be negative?

Yes, when the mean return is below the target.

Why not use only the bad periods in the average?

That convention understates downside risk and makes funds with few losses look better than they are.

Does the formula need a volatility forecast?

No. The discrete version uses only the observed returns and the chosen target.

Sources

How this page was checked. The formula above was matched against the cited sources, and the worked example was run through the tool on this page before publishing. If you spot an error, contact us so we can fix it and note the correction.