Sortino Ratio Calculator

JJ Ben-Joseph headshot JJ Ben-Joseph

What Is the Sortino Ratio?

The Sortino ratio is a risk-adjusted performance metric that focuses only on downside risk. Instead of treating all volatility as bad, it separates harmful negative returns from harmless upside moves. This makes it particularly useful for investors who care more about drawdowns than about big positive surprises.

Where the Sharpe ratio divides excess return by total volatility, the Sortino ratio divides excess return by downside deviation — the volatility of returns that fall below a chosen target or risk-free rate. If a strategy delivers steady gains with only occasional mild losses, its Sortino ratio will usually look better than its Sharpe ratio. If a strategy has frequent or deep losses, the Sortino ratio will fall quickly.

This calculator helps you estimate the Sortino ratio from a series of percentage returns. You can work with daily, weekly, monthly, or annual data, supply an annual risk-free rate, and see both the per-period and annualized Sortino ratios alongside the downside deviation.

Sortino Ratio Formula

The basic idea behind the Sortino ratio is:

In symbolic form, for a series of returns R1,R2,,Rn and a target return T per period:

S = R ¯ T ∑ i 1 ^ n ( m i n ( R i T , 0 ) ) 2 n

Where:

In many practical applications, the target is set equal to the risk-free rate for the same period, and the numerator becomes the average excess return over the risk-free rate.

How This Calculator Handles Frequency and Risk-Free Rate

The input risk-free rate in the form is an annual percentage. The calculator converts that annual rate into an equivalent rate for the frequency of your data (daily, weekly, monthly, or annual). This ensures that the target return T used in the Sortino formula is on the same time scale as your returns.

For example:

After computing the per-period Sortino ratio, the calculator also provides an annualized Sortino ratio. This is derived by scaling the per-period excess return and downside deviation to an annual horizon using your chosen frequency.

Using the Sortino Ratio Calculator

To use the calculator effectively, keep these points in mind:

The script converts your percentage inputs to decimals, computes the mean return, determines which observations are below the per-period hurdle, and uses only those shortfalls to calculate the downside deviation. It then reports:

Interpreting Sortino Ratio Results

The Sortino ratio is generally interpreted as “excess return earned per unit of downside risk.” Higher values typically indicate better risk-adjusted performance. However, there are no universal cutoffs that apply to every asset class or strategy. Context matters.

As very rough rules of thumb:

Because the Sortino ratio isolates downside risk, it is especially informative for strategies with asymmetric payoffs, such as options selling, structured products, or certain absolute-return funds. Two strategies with similar average returns and Sharpe ratios can have very different Sortino ratios if one of them experiences deeper or more frequent drawdowns.

Always interpret the number alongside other information: the time period covered, market regime, leverage used, and the economic intuition behind the strategy.

Worked Example

Suppose a portfolio produced the following monthly returns: 2%, -1%, 3%, and -0.5% over four months. Assume the annual risk-free rate is 2.4%.

Step 1: Convert the annual risk-free rate to monthly

If we assume simple proportional conversion for illustration, the monthly risk-free rate is:

2.4% / 12 = 0.2% per month.

So the per-period target T is 0.2%.

Step 2: Compute the average monthly return

The four returns are: 2%, -1%, 3%, -0.5%.

The arithmetic mean is:

(2 + (-1) + 3 + (-0.5)) / 4 = 3.5 / 4 = 0.875% per month.

So R¯=0.875%.

Step 3: Identify downside returns

We compare each return to the 0.2% target:

For downside deviation, we use only the shortfalls, defined as min(RiT,0):

Step 4: Compute downside deviation

Square the shortfalls (in decimal form) and average them:

Average over all 4 periods (some implementations divide by the number of total periods, not just downside periods):

(0 + 0.000144 + 0 + 0.000049) / 4 = 0.000193 / 4 = 0.00004825

Downside deviation is the square root of this average:

0.000048250.00695, or about 0.695% per month.

Step 5: Compute the Sortino ratio

Excess return over the target is:

RT=0.875%0.2%=0.675%, or 0.00675 in decimal form.

The Sortino ratio is then:

0.00675 / 0.00695 ≈ 0.97.

This means the strategy earned about 0.97 units of excess return for each unit of downside risk over this four-month sample. If we annualized both the returns and the downside deviation properly, we would obtain an annualized Sortino ratio that can be compared with other investments.

Sortino vs. Sharpe and Other Ratios

The Sortino ratio belongs to a family of risk-adjusted performance measures. Each uses a different definition of “risk” in the denominator. Choosing the right one depends on your investment style and the questions you are trying to answer.

Metric Denominator (Risk Measure) Focus When It Is Most Useful
Sharpe Ratio Total standard deviation of returns Treats upside and downside volatility equally Broad comparison across diversified portfolios or funds when both positive and negative volatility are considered equally undesirable
Sortino Ratio Downside deviation (volatility of returns below a target) Penalizes only harmful drawdowns Strategies with asymmetric payoffs, capital preservation mandates, or investors who care mainly about downside risk
Calmar Ratio Maximum drawdown Emphasizes the worst peak-to-trough loss Trend-following, hedge funds, or strategies where the depth of the largest loss is a key concern

In practice, many analysts look at several metrics together. For example, a strategy might have a decent Sharpe ratio but a poor Sortino ratio if its negative returns are concentrated in rare but severe drawdowns. Conversely, a strategy with skewed positive returns can have a strong Sortino ratio even if total volatility is high.

Key Assumptions and Limitations

Like all summary statistics, the Sortino ratio has important assumptions and limitations. You should be aware of them before making decisions based on the output of this calculator.

Finally, remember that past performance is not a reliable indicator of future results. Use the Sortino ratio as one informative input among many, not as a guarantee of future outcomes.

Enter returns to see the Sortino ratio.

Embed this calculator

Copy and paste the HTML below to add the Sortino Ratio Calculator - Downside Risk Analysis to your website.