Skip to content
Investment Math
Investment Math

Currency and number style

Only changes how amounts look. There is no currency conversion.

Sharpe / Sortino explained: formula, worked example and common mistakes

Measure risk-adjusted returns with the two most important performance metrics in finance. Find out if your returns come from skill or just from taking more risk. Free, no sign-up, your numbers stay in your browser.

Updated

What is the Sharpe ratio?

The Sharpe ratio is the most widely used measure of risk-adjusted return in finance. Developed by Nobel laureate William Sharpe in 1966, it answers a fundamental question: are your investment returns the result of skill, or just the result of taking more risk? A high return achieved through high risk is less valuable than the same return achieved through low risk — and the Sharpe ratio quantifies that distinction.

The Sharpe ratio is calculated as:

Sharpe ratio = (Average return - Risk-free rate) / Standard deviation of returns

The numerator (average return minus risk-free rate) is the “excess return” — what you earned above what you could have earned risk-free by holding government bonds. The denominator (standard deviation of returns) is the volatility — how much your returns bounced around the average. The ratio tells you how much excess return you earned per unit of volatility.

The intuition is simple. If two portfolios both return 10% per year, but one has 5% volatility and the other has 20% volatility, the first is clearly better — it generated the same return with one-quarter the risk. The Sharpe ratio captures this: portfolio 1 has a Sharpe of (10% - 4%) / 5% = 1.2, while portfolio 2 has a Sharpe of (10% - 4%) / 20% = 0.3. Portfolio 1 is four times better on a risk-adjusted basis.

Sharpe ratio interpretation:

Sharpe Ratio Interpretation
Below 0 Bad — returns don’t beat the risk-free rate
0 to 0.5 Poor — inadequate compensation for risk
0.5 to 1.0 Acceptable — typical for diversified portfolios
1.0 to 2.0 Good — strong risk-adjusted returns
2.0 to 3.0 Excellent — rare for sustained periods
Above 3.0 Suspicious — likely unsustainable or backtest overfit

For context, the long-term Sharpe ratio of a broad market index is approximately 0.4-0.5. A well-diversified 60/40 portfolio has a Sharpe around 0.5-0.7. Top hedge funds historically targeted Sharpe ratios of 1.0-2.0, though few sustained those levels. Anything above 2.0 sustained over 10+ years is exceptional.

The Sortino ratio is a refinement of the Sharpe ratio that addresses one of its key flaws: the Sharpe ratio penalizes all volatility, including upside volatility. But investors don’t mind upside — they only mind downside. The Sortino ratio replaces standard deviation with downside deviation (the standard deviation of returns below a target, usually the risk-free rate or zero).

Sortino ratio = (Average return - Risk-free rate) / Downside deviation

For portfolios with positively skewed returns (most gains, few losses), the Sortino ratio is higher than the Sharpe ratio. For portfolios with negatively skewed returns (small gains, occasional large losses — typical of many option-selling strategies), the Sortino is lower. The Sortino ratio is generally considered a better measure of risk-adjusted return for asymmetric return distributions.

The Sharpe and Sortino formulas

Sharpe ratio formula:

Sharpe = (R̄ - Rf) / σ

Where:

  • R̄ = average return over the period (annualized)
  • Rf = risk-free rate — in practice the yield on short-dated government bills
  • σ = standard deviation of returns over the period (annualized)

Worked example: A portfolio has an average annual return of 12%, the risk-free rate is 4%, and the standard deviation of returns is 15%.

Sharpe = (12% - 4%) / 15% = 8% / 15% = 0.53

A Sharpe of 0.53 is acceptable — typical for a diversified stock portfolio. It means the portfolio earned 0.53 percentage points of excess return per percentage point of volatility.

Sortino ratio formula:

Sortino = (R̄ - Rf) / σ_downside

Where σ_downside is the downside deviation — the standard deviation of returns that fall below the target (typically the risk-free rate or zero).

Worked example: Same portfolio with 12% average return, 4% risk-free rate, but downside deviation of only 10% (smaller than the total standard deviation of 15% because upside volatility is excluded).

Sortino = (12% - 4%) / 10% = 8% / 10% = 0.80

The Sortino of 0.80 is higher than the Sharpe of 0.53, reflecting that the portfolio’s volatility is mostly upside — it has fewer large negative returns than the standard deviation suggests. This is typical of portfolios with positively skewed return distributions.

Annualization:

If you have monthly returns, you need to annualize them to compute annual Sharpe/Sortino:

  • Annualized return ≈ (1 + monthly return)^12 - 1 (or simply monthly return × 12 for small returns)
  • Annualized standard deviation ≈ monthly standard deviation × √12
  • Annualized downside deviation ≈ monthly downside deviation × √12

The √12 factor comes from the assumption that monthly returns are independent and identically distributed — the variance of a sum of independent random variables is the sum of the variances, so the standard deviation scales with the square root of the number of periods.

Downside deviation calculation:

Downside deviation = √[ (1/N) × Σ max(0, target - R_t)² ]

Where:

  • N = number of periods
  • target = the minimum acceptable return (often the risk-free rate or 0)
  • R_t = the return in period t
  • max(0, target - R_t) = the shortfall below target in period t, or 0 if no shortfall

The calculator runs both calculations. Open the calculator and enter your average return, risk-free rate, and standard deviation (and downside deviation if you have it) to see both ratios.

When to use a Sharpe / Sortino calculator (and when not to)

Use this calculator when:

  • You want to compare two investment strategies on a risk-adjusted basis — which generated more return per unit of risk?
  • You’re evaluating a fund manager or investment strategy and want to know if their returns come from skill or just from taking more risk.
  • You want to track your own portfolio’s risk-adjusted performance over time.
  • You’re optimizing portfolio allocation and want to maximize Sharpe or Sortino (this is the foundation of Modern Portfolio Theory).
  • You’re comparing different asset classes (stocks vs. bonds vs. real estate vs. commodities) on a level playing field.

When NOT to use this calculator:

  • If you only have one period’s return (not a series), you cannot calculate standard deviation or downside deviation. You need at least 12 monthly returns (or 3-5 years of annual returns) for meaningful Sharpe/Sortino calculations.
  • If your returns are not normally distributed (heavy negative skew, fat tails), the Sharpe ratio understates risk. Use the Sortino ratio or other metrics like maximum drawdown (Drawdown Analyzer) or value at risk (VaR).
  • If you want to evaluate a single stock’s risk, the Sharpe ratio is less useful than beta (Beta and Correlation Calculator). Sharpe is for portfolio-level analysis.
  • If you want a probabilistic view of future performance, use the Monte Carlo Goal Simulator. Sharpe/Sortino are backward-looking metrics based on historical data.

Common mistakes people make

1. Using short time periods. Sharpe ratios calculated over 1-2 years are noisy and may not reflect long-term risk-adjusted performance. Use at least 5 years (60 months) of data for meaningful Sharpe calculations; 10+ years is better.

2. Using the wrong risk-free rate. The risk-free rate has to match the period of your returns. For monthly returns, use the monthly T-bill yield (annual yield divided by 12). For annual returns, use the annual T-bill yield. Using the wrong risk-free rate distorts the Sharpe ratio.

3. Comparing Sharpe ratios across asset classes without context. A Sharpe of 0.8 is excellent for a stock portfolio but mediocre for a bond portfolio. Always compare Sharpe ratios within the same asset class or strategy type.

4. Forgetting about serial correlation. The Sharpe ratio assumes returns are independent and identically distributed. Real returns have serial correlation (momentum, mean reversion) that distorts the Sharpe ratio. Adjust for serial correlation if you’re being rigorous.

5. Treating high Sharpe as proof of skill. A high Sharpe ratio can result from genuine skill, but it can also result from hidden tail risk (selling out-of-the-money options has a high Sharpe until the tail event hits), backtest overfitting, or simply luck. Always look at the underlying strategy, not just the Sharpe number.

6. Ignoring downside deviation. The Sharpe ratio penalizes upside volatility equally with downside volatility. For strategies with positively skewed returns (most gains, few losses), the Sortino ratio is a better measure. Always calculate both.

Frequently asked questions

What is the Sharpe ratio?

The Sharpe ratio measures risk-adjusted return — how much excess return (above the risk-free rate) you earned per unit of volatility. It was developed by Nobel laureate William Sharpe in 1966.

What is the formula for the Sharpe ratio?

Sharpe = (Average return - Risk-free rate) / Standard deviation of returns. The numerator is excess return; the denominator is volatility. The ratio tells you how much excess return you earned per unit of risk.

What is a good Sharpe ratio?

A Sharpe above 1.0 is considered good; above 2.0 is excellent; above 3.0 is rare and possibly unsustainable. The long-term Sharpe ratio of a broad market index is approximately 0.4-0.5. Top hedge funds historically targeted Sharpe ratios of 1.0-2.0.

What is the difference between Sharpe and Sortino?

The Sharpe ratio penalizes all volatility, including upside volatility. The Sortino ratio penalizes only downside volatility — the volatility of returns below a target (usually the risk-free rate or zero). For portfolios with positively skewed returns, the Sortino ratio is higher and more accurate.

What is the risk-free rate?

The return on an investment treated as carrying no risk, in practice the yield on short-dated government bills. It stands for what the money could have earned without taking any risk at all, which is why the ratio measures the return above it rather than the whole return.

How do you annualize the Sharpe ratio?

If you have monthly returns: annualized Sharpe = monthly Sharpe × √12. If you have daily returns: annualized Sharpe = daily Sharpe × √252 (number of trading days per year). The square root factor comes from the assumption of independent returns.

Why is the Sharpe ratio important?

The Sharpe ratio lets you compare investments with different risk levels on a level playing field. A 15% return achieved with 5% volatility is far better than a 15% return achieved with 25% volatility. The Sharpe ratio quantifies this difference.

Can the Sharpe ratio be negative?

Yes. If your average return is below the risk-free rate, the numerator is negative, so the Sharpe ratio is negative. A negative Sharpe means you would have been better off in risk-free government bonds.

This tool shows math, not advice.

Cite this page

Copy this line into a reference list, a report or a spreadsheet note.

Investment Math Calculator. “Sharpe / Sortino Calculator”. Updated 2026-10-27. https://investmentmathcalculator.com/guides/sharpe-ratio-calculator/

Disclaimer: For education only. These calculators show arithmetic and hypothetical scenarios. They are not investment, tax or legal advice and do not recommend any security or product. Consult a licensed adviser in your country before acting.