Sortino ratio from returns
How is the Sortino ratio computed when few returns fall below the target?
Subtract the target from each return, average the result, and divide by the square root of the mean squared shortfall over all observations, with gains counted as zero shortfall. For 4%, -2%, 3% and -1% with a zero target, that gives 1% / sqrt(1.25)% = 0.894.
This calculator averages squared shortfalls over all observations; some published variants divide by the number of shortfalls, which gives a smaller ratio.
Compute mean excess return over target divided by downside deviation from pasted observations. The denominator uses the full-sample lower partial moment.
Four observed returns
For returns 4%, −2%, 3%, −1% and target zero, the mean is 1%, downside deviation is sqrt(1.25)% and the Sortino ratio is 0.894427.
The denominator is the root mean square shortfall relative to a minimum acceptable return. It differs from the standard deviation used by Sharpe because returns above the target contribute zero downside. The numerator remains the ordinary arithmetic mean minus the target. Keeping all observations in the denominator means the output corresponds to the discrete lower partial moment of order two, with each observation equally weighted. A target of zero has a different economic meaning from a target equal to a financing or hurdle rate; the target should be fixed before inspecting the statistic. If all sampled returns clear the target, the denominator vanishes and the reported ratio is undefined. It does not assign a large arbitrary number, because such a number would dominate rankings for a reason that is entirely sample dependent. Use the companion drawdown and Omega tools if the path or full distribution is the actual concern.
Lower partial moment
All returns refer to equal observation intervals and the target is on the same scale. Downside deviation divides by all observations, including those above the target.
Sortino = mean(r−target) / sqrt(mean(min(0,r−target)^2))Shortfall below the target determines the denominator. A large value can reflect a short sample with no observed adverse returns, so the observation count remains central to interpretation.
No observed shortfall
There is no finite ratio when downside deviation is zero. This is an in-sample description and can become unstable with few losses; it is not an annualized estimate or a confidence bound.
The original downside-risk article
Sortino, F. A. and van der Meer, R. (1991), Downside Risk: Capturing What's at Stake in Investment Situations, Journal of Portfolio Management 17(4), 27–31. The page specifies its discrete lower-partial-moment convention. Publisher record (DOI) · Institutional copy.
Embed this calculator
Other sites can show the Sortino ratio from returns in a frame served from /embed/sortino-ratio-returns-calculator: the same fields and results, computed in the visitor's browser, with a visible credit and a link to the full calculator. The code below places the Sortino ratio from returns frame, a plain link to the full calculator under it, and a script that fits the frame height to its content.
The script applies a height message only when it comes from https://stochastly.com and from the Sortino ratio from returns frame, with a height from 200 to 4000 pixels, and drops any other message. The Sortino ratio from returns frame registers no message handler of its own, so a host page has no channel to change its inputs or its results.
<iframe id="stochastly-sortino" src="https://stochastly.com/embed/sortino-ratio-returns-calculator" title="Sortino ratio from returns by Stochastly" width="100%" height="700" style="border:0;max-width:720px" loading="lazy" sandbox="allow-scripts allow-same-origin allow-popups allow-popups-to-escape-sandbox" allow="clipboard-write"></iframe>
<p style="font-size:13px"><a href="https://stochastly.com/tools/sortino-ratio-returns-calculator">Sortino ratio from returns</a> by Stochastly</p>
<script>
(function () {
var allowed = ["https://stochastly.com"];
window.addEventListener("message", function (e) {
var f = document.getElementById("stochastly-sortino");
if (!f || allowed.indexOf(e.origin) < 0 || e.source !== f.contentWindow) return;
var d = e.data;
if (!d || d.type !== "stochastly-sortino-height" || typeof d.height !== "number") return;
if (!(d.height >= 200 && d.height <= 4000)) return;
f.style.height = Math.ceil(d.height) + "px";
});
})();
</script>
Cite this calculator
To cite the Sortino ratio from returns in a paper, a report or a post, copy the reference below. Its address is https://stochastly.com/tools/sortino-ratio-returns-calculator.
Stochastly (2026). Sortino ratio from returns [web calculator]. https://stochastly.com/tools/sortino-ratio-returns-calculator
The method behind the Sortino ratio from returns comes from the paper below: cite that paper for the method, and the reference above for the Sortino ratio from returns itself.
Sortino, F. A. and van der Meer, R. (1991). Downside Risk: Capturing What's at Stake in Investment Situations. Journal of Portfolio Management 17(4), 27-31.