Home
Resources
Lot size calulator
AcademyContact Us
Sign UpLog In
Home
Resources
Academy
Contact Us
Sign Up
Log In

Algotech Srl

Sede Legale: Via Igino Garbini 51, 01100 (VT), Viterbo, Italia. P. IVA: 02401420563 Cap. Sociale: 12.250€

+39 3802632629info@algotechnologies.ai

Menu

Contact UsTrading View

Follow us

InstagramLinkedinTik TokTelegram

Financial Activities Disclaimer – Algotech Srl The services offered by Algotech Srl through the platform app.algotechnologies.ai and the website www.algotechnologies.ai are purely informational and analytical. The platform provides artificial intelligence tools and data analysis modules designed to support users in understanding financial data and market patterns. Algotech Srl is not a financial intermediary, is not authorized by any regulatory authority (e.g., Consob, ESMA, FCA, etc.), and does not provide: investment or asset management services; personalized financial advice or operational recommendations; collection, custody, or transfer of user funds; trading or order execution services. Any action taken by the user based on the analyses or information provided is the sole responsibility of the user. The use of the provided tools does not constitute an invitation to buy, sell, or hold financial instruments. Users are advised to consult a professional financial advisor before making investment decisions. Use of the platform implies acceptance of these limitations and releases Algotech Srl from any liability arising from investment decisions or financial losses incurred.

© Algotechnologies 2026 All rights reserved.

Terms & ConditionsPrivacy PolicyRefund PolicyCookie Policy
Home/Blog/How to Calculate the Sortino Ratio, Step by Step

Blog

How to Calculate the Sortino Ratio, Step by Step

June 24, 2026·5 min read
  1. Home
  2. Blog
  3. How To Calculate Sortino Ratio

INDICE

  1. The formula, in plain words
  2. Worked example over 10 real trades
  3. The mistake almost everyone makes
  4. What a 0.55 means
  5. Why prefer Sortino over Sharpe
  6. What is a good Sortino ratio
  7. How AlgoTech computes it for you
  8. Key takeaways
  9. Frequently asked questions

Two traders both close the quarter at +7%. The first gets there with steady gains and a worst week of −1.2%. The second spends a month at −15% before a lucky run fishes him out. Same return, very different skill, and the metric built to tell them apart is the Sortino ratio. Unlike standard volatility measures, it punishes only the risk you actually fear: the downside.

In short: the Sortino ratio is (mean return minus target) divided by the downside deviation, that is the volatility of only the returns below the target (usually 0%). Wins, however large, are ignored. The most common mistake is dividing by the number of losing trades instead of the whole series: that inflates the deviation and crashes the ratio. Above 1 (annualised) is solid, above 2 is strong.

The formula, in plain words

The Sortino ratio has three ingredients:

  • Mean return (R): the average of your returns over the period, per trade, per day or per month, as long as you are consistent.
  • Target return (T): also called the minimum acceptable return, or MAR. For most traders it is simply 0%: anything below "do not lose" is unacceptable.
  • Downside deviation (DD): the volatility of ONLY the returns below the target. Wins, however wild, are ignored.
Sortino = (R − T) ÷ DD Return above the target, divided by how violently you fell below it

The numerator is the return above the target; the denominator is how violently you fell below that target along the way. The asymmetry is the whole point: an unusual week at +8% raises standard deviation (and lowers your Sharpe), but here it does not count against you, and rightly so.

Worked example over 10 real trades

Numbers make it concrete. Take a series of ten closed trades, returns as a percentage of the account, target T = 0%.

Chart of 10 trade returns against the 0% target for the Sortino ratio calculation

Only the returns below the target (red) enter the downside deviation; winners, however large, are ignored.

Now the calculation, in four steps:

1. Mean return: the ten returns sum to +7.0%, so R = 7.0 / 10 = 0.70% per trade. 2. Shortfalls below target: four trades closed below 0%: −1.0, −2.5, −0.5 and −3.0. Their squared values are 1.00, 6.25, 0.25 and 9.00, total 16.5. 3. Downside deviation: divide by ALL ten trades, not just the four losers: DD = √(16.5 / 10) = √1.65 ≈ 1.28%. 4. Sortino: (0.70 − 0) / 1.28 ≈ 0.55.

The mistake almost everyone makes

Step 3 is where almost everyone slips: dividing by the number of losing trades (4) instead of the whole series (10). That inflates the downside deviation to √(16.5 / 4) ≈ 2.03 and crashes the ratio to 0.34, a wrong number that would make you distrust a perfectly acceptable strategy. The denominator must be total N: the quiet trades are part of the risk picture too.

What a 0.55 means

Below 1, the strategy earns its returns with more downside pain than ideal: in this series, trades 5 and 9 do almost all the damage. Cut the size on those two setups and the same gross return would push Sortino above 1 without touching the winners. A convention note: platforms often annualise the ratio (multiplying by the square root of the number of periods in a year), so a 0.55 per trade is not comparable with a 1.8 annualised. Always compare like with like.

Why prefer Sortino over Sharpe

The Sharpe ratio divides by total volatility, so it punishes your best weeks exactly like your worst. For asymmetric styles (trend following, breakout trading, any approach that cuts losses short and lets profits run) this systematically understates skill. Sortino fixes the asymmetry by ignoring upside deviation entirely. If your equity line is jagged on the way up but controlled on the way down, Sortino is the honest grade.

What is a good Sortino ratio

The usual reading: above 1 is solid, above 2 is strong, above 3 is exceptional, on annualised values. For prop firm traders the ratio has a second job: challenges punish drawdown, not volatility, so a strategy with a high Sortino (small, rare shortfalls) is structurally better suited to pass than one with the same return but a high Sharpe and deeper falls.

How AlgoTech computes it for you

Working the calculation by hand once is the best way to really understand what the number says about your trading. Redoing it after every session is wasted time. AlgoTech connects to your MetaTrader 5, MetaTrader 4 or cTrader account in read only mode (encrypted credentials, no orders, no fund movements) and recomputes Sortino, alongside Sharpe, Calmar, max drawdown and expectancy, on every imported trade, with the correct denominator and annualisation already handled. Each account lives in a separate environment with its own history, so the ratio is read on the right sample.

Sortino, Sharpe, profit factor and recovery factor in AlgoTech

Key takeaways

  • Sortino = (R − T) divided by the downside deviation: only volatility below the target counts, usually 0%.
  • The downside deviation is divided by total N, not by the number of losing trades. That is the most common mistake.
  • Above 1 is solid, above 2 strong, above 3 exceptional, on annualised values: always compare like with like.
  • Versus Sharpe, Sortino is fairer to asymmetric styles and more useful for prop firm traders.

Frequently asked questions

Common questions about the Sortino ratio.

Bottom line

The Sortino ratio rewards exactly what matters to anyone risking real capital: returns earned without violent falls. Working it by hand once teaches you to read it; the correct denominator (total N) and consistent annualisation are the two details that separate a useful number from a misleading one.

This article is for informational purposes only and does not constitute financial advice. The numerical examples are illustrative. Algotech Srl is not a financial intermediary.

To see your real Sortino, alongside Sharpe and drawdown, on every synced trade, try AlgoTech for free. New to these metrics? Start with what a trading journal is.

See your metrics free