Sharpe & Sortino Ratio Calculator

Calculate risk-adjusted returns from a list of periodic returns: Sharpe, Sortino, volatility and max drawdown.

Updated · Free · Runs in your browser

Oldest first. Paste a column from a spreadsheet, separated by commas or spaces.

%/yr
%/yr
Sharpe ratio —
Sortino ratio —
Annualised mean return —
CAGR (geometric) —
Annualised volatility —
Downside deviation —
Maximum drawdown —
Periods —
    Was this calculator helpful?

    The formula

    For N periods per year, with periodic returns Rᵢ:
    periodic risk-free rate rf = (1 + annual rf)^(1/N) − 1
    
    Sharpe = mean(Rᵢ − rf) ÷ stdev(Rᵢ − rf) × √N
    Sortino = (mean(Rᵢ) − MAR) ÷ downside deviation × √N
    downside deviation = √(mean(min(0, Rᵢ − MAR)²))
    
    Annual volatility = stdev × √N;  CAGR = (∏(1 + Rᵢ))^(N/n) − 1
    Max drawdown = largest fall from a peak in cumulative value

    Worked example

    1. Twelve monthly returns: 2.1, −1.4, 3.2, 0.8, −2.5, 1.9, 2.7, −0.6, 1.2, 3.5, −1.1 and 2.0%.
    2. The mean is 0.983% a month (11.8% annualised), and compounding gives a CAGR of 12.23%.
    3. With a 4% annual risk-free rate (0.327% a month), the mean excess return is 0.656% and its standard deviation is 1.955%.
    4. Sharpe = 0.656 ÷ 1.955 × √12 = 1.16. Annualised volatility is 6.77%.
    5. Only the four negative months count as downside, so the Sortino ratio is 3.77. The worst fall from a peak was 2.5%.

    What the Sharpe ratio measures

    The Sharpe ratio, created by William Sharpe, measures return per unit of risk: how much a portfolio earned above a risk-free investment, divided by the volatility of those returns. It lets you compare investments with different risk levels. A fund returning 10% with low volatility can be better than one returning 12% with wild swings. As a rough guide, annualised Sharpe ratios above 1 are considered good, above 2 very good, and broad stock market indices have historically averaged around 0.3–0.6 over long periods.

    Sortino: only bad volatility counts

    Sharpe penalises all volatility, including big up months, which investors don't mind. The Sortino ratio only counts downside deviation: returns below a minimum acceptable return (MAR), usually 0% or the risk-free rate. A strategy with occasional large gains and small, rare losses will have a much higher Sortino than Sharpe ratio, as in the example. Comparing the two ratios shows whether a portfolio's volatility comes mostly from gains or losses.

    Annualising correctly

    Ratios calculated from monthly data are annualised by multiplying by √12; weekly by √52; daily by √252 trading days. Choose the right period in the calculator, because mixing them up overstates or understates risk-adjusted returns by a large factor. The risk-free rate is converted to the same period. Note that annualising assumes returns are independent from period to period. Strategies with smoothed or autocorrelated returns, such as some private assets, can look less volatile than they are.

    Mean return vs CAGR

    The calculator shows both the arithmetic mean (the simple average, annualised) and the CAGR (the compounded growth rate you actually experienced). The Sharpe ratio uses the arithmetic mean, by convention. When returns are volatile, CAGR is lower than the arithmetic mean, a gap often called volatility drag. In the example the gap is small because volatility is low. Use the ROI and CAGR calculator for start and end values.

    Maximum drawdown

    Maximum drawdown is the largest fall from a peak to a later low, a measure of the worst loss an investor would have suffered. Sharpe and Sortino ratios can look excellent over a calm period and hide a strategy's capacity for a large loss. Always look at drawdown alongside them, and use as long a history as possible, ideally including a market downturn.

    Use enough data

    Ratios from 12 monthly returns are very rough: a single unusual month can swing them dramatically. Most analysts want at least three years of monthly data, 36 points or more. Paste longer series from a spreadsheet, separated by commas or spaces, to get more reliable figures. Compare funds over the same period, because ratios vary with the market environment.

    To size trades according to your edge, see the Kelly criterion calculator. To evaluate individual trades, the risk-reward calculator shows break-even win rates, and the dollar-cost averaging calculator shows how regular investing smooths entry prices. For a fair comparison between two funds, use the same period, the same return frequency and the same risk-free rate for both, and check that fees are already deducted from the returns you enter, since fees lower both ratios.

    Frequently asked questions

    What is a good Sharpe ratio?
    Above 1 is generally considered good, above 2 very good and above 3 excellent. Broad stock indices have historically had long-run Sharpe ratios of roughly 0.3–0.6.
    What is the difference between the Sharpe and Sortino ratios?
    Sharpe divides excess return by total volatility. Sortino divides by downside deviation only, so it doesn't penalise upside volatility.
    How do I annualise a Sharpe ratio from monthly returns?
    Calculate it from monthly excess returns and multiply by √12. For daily returns use √252, and for weekly √52.
    What risk-free rate should I use?
    The yield on short-term government bills over the same period, such as US Treasury bills or UK gilts, converted to the same frequency as your returns.
    How many returns do I need for a reliable Sharpe ratio?
    At least 36 monthly returns is a common minimum. Shorter histories give very noisy estimates.

    ↑↓ to navigate · Enter to open