Skip to content
Investments

Sharpe Ratio Calculator

Calculate the Sharpe Ratio for investments or portfolios using expected return, risk-free rate, and standard deviation to assess risk-adjusted performance.

Portfolio inputs

Enter annualized percentages. Sharpe ratio compares excess return to total volatility.

%
%
%

Sharpe ratio

0.80

Sub-optimal (below 1.0)

Excess return (Rp - Rf)

8.00%

Return above the risk-free benchmark

Portfolio volatility

10.00%

Standard deviation of portfolio returns

Performance details

Expected portfolio return12.00%
Risk-free rate4.00%
Excess return8.00%
Annualized volatility10.00%

How the Sharpe ratio is calculated

From portfolio return, risk-free rate, and volatility to risk-adjusted performance.

  1. Calculate excess return over the risk-free rate

    RpRf=12.00%4.00%=8.00%R_p - R_f = 12.00\% - 4.00\% = 8.00\%

    Subtract the 4.00% risk-free rate from the 12.00% portfolio return to get 8.00% excess return.

  2. Divide excess return by portfolio volatility

    Sharpe Ratio=RpRfσp=8.00%10.00%=0.80\text{Sharpe Ratio} = \frac{R_p - R_f}{\sigma_p} = \frac{8.00\%}{10.00\%} = 0.80

    Sharpe ratio equals excess return divided by standard deviation (10.00%).

Report tool

What is the Sharpe ratio?

The Sharpe ratio measures risk-adjusted return. It shows how much excess return a portfolio earns for each unit of total volatility. Nobel laureate William F. Sharpe introduced the measure to help investors compare strategies with different return and risk profiles on equal footing.

Pair Sharpe ratio with systematic risk metrics from the portfolio beta calculator. To estimate expected return from beta under CAPM, use the expected return calculator. To review raw performance over a holding period, try the rate of return calculator. To measure worst peak-to-trough loss, use the maximum drawdown calculator. To estimate maximum expected loss at a confidence level, try the value at risk calculator. When downside volatility matters more than total volatility, compare results with the Sortino ratio calculator.

Sharpe ratio formula

Sharpe Ratio=RpRfσp\text{Sharpe Ratio} = \frac{R_p - R_f}{\sigma_p}

Where RpR_p is the expected or realized portfolio return, RfR_f is the risk-free rate, and σp\sigma_p is the standard deviation (volatility) of portfolio returns. All three inputs should use the same time period, typically annualized percentages.

Worked example

Suppose a portfolio has an expected return of 12%, a risk-free rate of 4%, and annualized volatility of 10%. Excess return equals 12% minus 4%, or 8%. Sharpe ratio equals 8% divided by 10%, which is 0.80. A ratio below 1.0 is often considered sub-optimal on a risk-adjusted basis, though context and asset class matter.

How to interpret Sharpe ratio values

  • Below 0: The portfolio underperformed the risk-free rate after adjusting for volatility.
  • 0 to 1.0: Positive excess return, but modest compensation per unit of risk.
  • 1.0 to 2.0: Generally considered good risk-adjusted performance for many equity strategies.
  • 2.0 to 3.0: Very strong risk-adjusted returns, often seen in concentrated or alternative strategies.
  • 3.0 or higher: Excellent, but verify data quality and survivorship bias before comparing managers.

Practical tips when using Sharpe ratio

  • Use the same measurement window for return, risk-free rate, and volatility. Mixing monthly returns with annualized volatility distorts the ratio.
  • Short-term US Treasury bill yields are a common proxy for the risk-free rate in US dollar portfolios.
  • Sharpe ratio penalizes upside and downside volatility equally. Strategies with large positive swings may look worse than they feel to investors focused on downside only.
  • Compare Sharpe ratios only among strategies with similar assumptions, fees, and liquidity constraints.

Frequently asked questions

Why is the Sharpe ratio important?
It lets you compare portfolios with different volatility levels by scaling excess return per unit of risk. Two funds with the same raw return can have very different risk-adjusted merit.
What risk-free rate should I use?
For US portfolios, many analysts use the yield on short-term Treasury bills, such as 3-month T-bills, matched to the return measurement period. Use a rate denominated in the same currency as the portfolio.
What is the difference between Sharpe ratio and Sortino ratio?
Sharpe ratio divides excess return by total standard deviation. Sortino ratio uses downside deviation only, so it ignores favorable upside volatility.
Can Sharpe ratio be negative?
Yes. When portfolio return falls below the risk-free rate, excess return is negative and the Sharpe ratio is negative as well.
Does a higher Sharpe ratio guarantee future performance?
No. Sharpe ratio summarizes historical or estimated inputs. Future returns, volatility, and correlations can change materially.
Are my inputs saved on a server?
No. All math runs in your browser. Reset the form to return to the default 12%, 4%, and 10% example.

Resources and references

The formulas and methods in this calculator were checked against these independent sources.