Sharpe Ratio Formula

How to calculate the Sharpe ratio step by step. Definition, worked example, interpretation table, and how it compares to Sortino and Treynor.

Formula & Definition Worked Example Interpretation Bands vs Sortino & Treynor

What You'll Learn

What Is the Sharpe Ratio?

The Sharpe ratio, developed by Nobel laureate William F. Sharpe in 1966, measures a portfolio's risk-adjusted return. It answers a single question: how much excess return is the portfolio earning per unit of risk it is taking?

A portfolio that returned 20 percent with massive volatility is not obviously better than a portfolio that returned 12 percent with low volatility. The Sharpe ratio puts them on the same scale by dividing excess return (return above the risk-free rate) by the portfolio's standard deviation.

The Sharpe Ratio Formula

Sharpe Ratio
S = (Rp − Rf) / σp
Excess return per unit of total risk. Higher is better.
RpPortfolio's annualized return over the measurement period
RfRisk-free rate (typically the yield on a short-term Treasury bill)
σpPortfolio's annualized standard deviation of returns (total risk)
SSharpe ratio (dimensionless)

Why subtract the risk-free rate?

An investor can earn the risk-free rate without taking any risk at all (by holding T-bills). Any return above that is the compensation for taking risk. The Sharpe ratio measures only that compensation, so a portfolio that just matches T-bills has a Sharpe ratio of zero.

How to Calculate the Sharpe Ratio: Step-by-Step Example

Example: Calculating Sharpe for a 60/40 Portfolio

1 Gather the inputs

Portfolio return (Rp): 10.0% annualized over the last 5 years

Risk-free rate (Rf): 2.0% (5-year average 3-month T-bill yield)

Portfolio standard deviation (σp): 15.0% annualized

2 Calculate excess return

Excess return = Rp − Rf = 10.0% − 2.0% = 8.0%

3 Divide by portfolio risk

Sharpe ratio = 8.0% / 15.0%

S = 0.533
4 Interpret the result
Sharpe Ratio = 0.53

A Sharpe ratio of 0.53 means the portfolio earns about 0.53 units of excess return for every 1 unit of total risk taken. This is below the 1.0 threshold typically considered "acceptable," which is in line with the historical Sharpe ratio of a balanced 60/40 portfolio over long periods.

How to Interpret the Sharpe Ratio

Sharpe ratios are dimensionless, which makes them comparable across portfolios. Common interpretation bands:

Sharpe Ratio Interpretation Typical Example
Below 0 Worse than holding cash; the portfolio underperformed the risk-free rate Equity portfolio during 2022
0 to 1.0 Subpar risk-adjusted return; risk is not being compensated well Many long-only equity portfolios over short periods
1.0 to 2.0 Acceptable to good Well-constructed multi-asset portfolio
2.0 to 3.0 Very good Top-decile actively managed funds (during their best windows)
Above 3.0 Excellent (rare and often unsustainable) Some quantitative strategies during favorable regimes

A high Sharpe ratio is not always what it looks like

Strategies that sell options, hold illiquid credit, or use leverage often post very high Sharpe ratios in normal markets, then experience large drawdowns in tail events. The Sharpe formula assumes returns are normally distributed, which they are not. Treat a Sharpe ratio above 2 over short periods with skepticism.

Sharpe vs Sortino vs Treynor Ratio

Three closely related ratios solve the same problem (risk-adjusted return) with different risk measures:

Sortino Ratio
Sortino = (Rp − Rf) / σdownside
Uses downside deviation instead of total standard deviation.
Treynor Ratio
Treynor = (Rp − Rf) / βp
Uses beta (systematic risk) instead of total standard deviation.
Ratio Risk Measure Best Used For
Sharpe Total standard deviation General-purpose comparison across portfolios of similar style
Sortino Downside deviation only Investors who do not care about upside volatility
Treynor Portfolio beta (systematic risk) Well-diversified portfolios where idiosyncratic risk is already eliminated

Limitations of the Sharpe Ratio

Most articles list Sharpe as if it were a universal score. It has several known weaknesses worth understanding:

How Guardfolio Calculates Sharpe Ratio Automatically

Instead of pulling return histories into a spreadsheet, Guardfolio connects to your brokerage accounts (read-only) and continuously calculates risk metrics across all your holdings, including Sharpe ratio, Sortino ratio, volatility, max drawdown, and concentration risk.

The free portfolio risk report takes about 2 minutes, requires no account, and includes:

Frequently Asked Questions

What is the Sharpe ratio formula?
The Sharpe ratio formula is (Rp − Rf) / σp, where Rp is the portfolio's return, Rf is the risk-free rate, and σp is the portfolio's standard deviation. It measures excess return per unit of total risk.
How do you calculate the Sharpe ratio?
Subtract the risk-free rate from the portfolio's annualized return to get excess return, then divide by the portfolio's annualized standard deviation. For example, a portfolio returning 10% with a 2% risk-free rate and 15% standard deviation has a Sharpe ratio of (10% − 2%) / 15% = 0.53.
What is a good Sharpe ratio?
Common rules of thumb: below 1.0 is considered subpar, 1.0 to 2.0 is acceptable, 2.0 to 3.0 is good, and above 3.0 is excellent. These are heuristics, not rules. A Sharpe ratio is most useful for comparing two portfolios over the same period and same return frequency.
What is the difference between Sharpe and Sortino ratio?
The Sharpe ratio uses total standard deviation in the denominator, penalizing both upside and downside volatility. The Sortino ratio uses only downside deviation, so it does not penalize a portfolio for having large positive returns. Sortino is preferred when investors only care about downside risk.
What is the difference between Sharpe and Treynor ratio?
The Treynor ratio uses beta (systematic risk) in the denominator instead of standard deviation (total risk). Sharpe measures excess return per unit of total risk. Treynor measures excess return per unit of market risk. Treynor only makes sense for well-diversified portfolios where idiosyncratic risk has been eliminated.
How do you annualize a Sharpe ratio from monthly returns?
Multiply the monthly Sharpe ratio by √12 (the square root of the number of periods in a year). For daily returns, multiply by √252 (trading days). This assumes returns are independent and identically distributed across periods, which is a simplification but is the standard practice.

See Your Portfolio's Sharpe Ratio Automatically

Skip the spreadsheet. Guardfolio computes Sharpe, Sortino, volatility, and drawdown across all your holdings, continuously.

Get Free Risk Report →
Guardfolio is an informational monitoring tool. It does not provide personalized investment advice. Risk-adjusted return metrics like the Sharpe ratio are computed from historical data and can change. Past performance does not guarantee future results.