About this tool
Compare a return series' risk-adjusted performance using the Sharpe and Sortino ratios.
The Sharpe ratio measures excess return per unit of total volatility, and the Sortino ratio measures it per unit of downside volatility only — this calculator computes both from a pasted series of periodic returns. It takes the mean of your returns, subtracts the risk-free rate (Sharpe) or your minimum acceptable return (Sortino), divides by the sample standard deviation or the downside deviation, and annualises by multiplying by the square root of the periods per year. It is for anyone comparing funds, strategies or their own portfolio track record on a like-for-like risk basis.
Open Sharpe & Sortino Calculator on AltFTool — it loads instantly in your browser.
Paste your series into 'Periodic returns (%)' — comma, space or semicolon separated, at least two values.
Set 'Risk-free return per period (%)' for Sharpe, 'Minimum acceptable return (%)' for Sortino, and 'Periods per year' to 12 for monthly or 252 for daily.
Read the annualised Sharpe headline and Sortino caption, with observations, mean per period, standard deviation and downside deviation listed underneath.
Sharpe and Sortino are computed from the same input, so the gap between them tells you how much of the volatility was upside.
You set periods per year — 12, 52, 252 — instead of the tool guessing the frequency of your data.
Sharpe uses the risk-free rate while Sortino uses your own minimum acceptable return, as the two definitions require.
Subtract the periodic risk-free rate from the mean monthly return, divide by the sample standard deviation of those returns, then multiply by the square root of 12 to annualise. This tool uses the sample standard deviation with an n-1 denominator, so at least two observations are required.
Sharpe divides by total standard deviation, Sortino divides only by downside deviation, so Sortino ignores volatility from gains. Sortino also measures excess return over a minimum acceptable return you choose rather than the risk-free rate, which is why the two ratios diverge for strategies with large upside spikes.
There is no universal threshold, but a commonly cited rule of thumb treats above 1 as respectable, above 2 as strong and above 3 as exceptional for a diversified portfolio. Context matters far more than the number: a ratio is only comparable against another strategy measured over the same period, the same frequency and the same risk-free rate. This is general information, not investment advice.
Because the annualisation factor is the square root of the periods per year, so daily data at 252 scales the ratio by about 15.87 while monthly data at 12 scales it by about 3.46. Set the value to match the actual frequency of the series you pasted, or the ratio will be off by that entire multiple.
Add the Sharpe & Sortino Calculator widget to your blog or website — free, responsive, no signup. Just keep the “Widget by AltFTool” credit link visible.
<iframe src="https://www.altftool.com/embed/widget/sharpe-sortino-calculator"
title="Sharpe & Sortino Calculator — free AltFTool widget"
width="100%" height="640" style="border:0;border-radius:12px;overflow:hidden"
loading="lazy" referrerpolicy="no-referrer-when-downgrade" allow="clipboard-write"></iframe>
<p style="font-size:12px;margin:4px 0 0">Widget by <a href="https://www.altftool.com/tools/all/sharpe-sortino-calculator?utm_source=embed&utm_medium=widget" rel="nofollow">AltFTool — free online tools</a></p>