Sortino Ratio vs Sharpe Ratio: Which Helps You Compare Strategies?
Sharpe counts overall return variation; Sortino focuses on shortfalls below a target. See the difference in one return series before comparing strategy reports.
One strategy occasionally makes a much bigger gain; another earns a little at a time. The first has more uneven returns. But a pleasant surprise and an unexpected loss hardly feel the same. Why do both show up as volatility in a strategy report?
Sharpe ratio looks at how much returns move up and down. Sortino ratio starts with a target return and focuses on the parts that fall short. Read them together and you can ask whether the unevenness comes mainly from bigger gains or from losses.
Sortino ratio vs Sharpe ratio: what changes?
Think of returns as the amount you climb on each section of a route. Sharpe asks how uneven those climbs are overall. Sortino draws a target line and pays attention to the sections that fall short.
When the target is zero, you can think of it as counting losing months. Set a monthly target of 0.5%, though, and a month earning 0.2% falls short by 0.3 percentage points. That shortfall counts too, even though you made money. QuantConnect's explanation of Sortino also spells out the role of the target.
How to calculate Sharpe and Sortino ratios
Suppose four monthly returns are −2%, +1%, +1% and +4%. Set both the cash return and target to zero, and leave the numbers unannualized. The arithmetic mean monthly return is 1%.
For Sharpe, look at how far each month's return is from the 1% average. Combining those gaps with the sample standard deviation gives about 2.45%. Divide the 1% average by that number and you get an unannualized Sharpe ratio of about 0.41. The +4% month adds to the variation too.
For Sortino, the target is zero, so keep the loss and replace the other months with zero: −2%, 0, 0, 0. Square each number, add them up, divide by all four months and take the square root. The result, called downside deviation, is 1%. Divide the average return by it and the unannualized Sortino ratio is 1.

Four months keep the arithmetic easy to follow; choosing a strategy needs more history. Empyrical's code uses these calculation methods too. Notice that we kept a place for every month when calculating downside deviation. Picking out only losing months and taking their ordinary standard deviation would give a different result.
Is a higher Sortino ratio better than a higher Sharpe ratio?
Pause before ranking the numbers. One divides by all the ups and downs; the other divides by the shortfalls below a target. If those shortfalls are small, Sortino can be higher. You still need to look at the actual gains and losses to judge the strategy.
For example, a strategy that usually earns a little but occasionally loses a lot can look good if the test missed that big loss. Did it face a sharp market drop? Did just a few trades cause most of the losses? Were losses on open positions included? Did it still make money in a period that wasn't used to choose the settings?
Why do two reports show different ratios?
| What to check | Why it matters |
|---|---|
| Daily or monthly returns | Changes the average, variation and yearly conversion |
| Cash rate and target return | Changes the return being compared and which months fall short |
| Divide by all months or only below-target months | The same losses give different averages if you divide by a different count |
| Fees, open losses, deposits and withdrawals | Missing fees or treating added money as profit distorts the result |
| Dates and yearly conversion | Use the same market period and calculation method |
A common way to annualize a monthly ratio is to multiply it by √12. That conversion has assumptions, though. If returns from one month are closely linked to the next, a multiplication does not make them independent pieces of evidence. Crypto trades every day, so check how the software handles calendar-day returns before using the stock-market convention of 252 trading days.
How to use both when choosing a strategy
Use matching dates, fees, recording intervals and targets for both strategies. Then look at Sharpe, Sortino, maximum drawdown and recovery time together. If Sharpe looks ordinary but Sortino is much higher, check whether unusually good months made returns more uneven. If both look strong, ask whether the test actually included the kind of big loss that happens only occasionally.
Set the target before evaluating results. Changing the target or trimming the test period until the ratio looks attractive weakens the comparison. Keep the rules fixed and inspect data that was not used to choose them.
Common questions
Can the Sortino ratio be negative?
Yes. If average return falls below the target and downside deviation is above zero, the ratio is negative. Look at how much was lost, or how far the return fell short, before comparing strategies.
What if there are no returns below the target?
The denominator is zero, so you cannot calculate a normal finite ratio. Software may leave it blank or display infinity. A short test that happened to miss losses tells you little about losses that could come later.
Does Sortino replace maximum drawdown?
Look at both. Sortino counts how far each period falls short of the target. Maximum drawdown also cares about the order: did the gains come before the losses, or after? Rearranging the same monthly returns can leave Sortino unchanged but alter the deepest fall from a high.
Connect the report to the trades behind it
After reviewing historical results in AlgoRover Research, you can check what changes when the trades actually happen. Confirm that the strategy and exchange are supported, then try it in the exchange's Demo environment with AlgoRover Live. Open the orders, fills and positions to check whether exits happened on time, how fill prices differed and what fees were paid. Understanding those details gives you a better basis for comparing the ratios.
Check execution inputs with AlgoRover Live
Continue reading
Compare annual return with the deepest loss using the Calmar ratio


