# Sharpe ratio calculator, formula

Sharpe ratio is among the most widely used performance evaluation metrics in the fund management industry. It is a reward-to-risk ratio, such that it captures the (excess) return an asset (e.g., stock) generates per unit of (total) risk, which is measured by return volatility. It was developed by Nobel laureate William F. Sharpe, who is one of the pioneers of CAPM, back in the 1960s.

## Sharpe ratio calculator

You need the following inputs to use our Sharpe ratio calculator:

1. the return on the risky asset,
2. the standard deviation of returns on the risky asset,
3. the risk-free rate.

The standard deviation of returns represents a security’s total risk and should be a positive number.

You are evaluating the performance of a mutual fund that generated an 18% return with a volatility of 32%. During the same period, the S&P 500 returned 14% with a volatility of 18%. The risk-free rate was 2%. How does the fund’s Sharpe ratio compare to that of the market?

You might find the following calculators useful as well:

## Sharpe ratio formula

The Sharpe ratio formula can be written as follows:

where  Ri is the return on asset iRf is the risk-free rate of return, and σi is the standard deviation of returns on asset i. σi is a measure of total risk and reflects return volatility.

To give a real-world example, over the course of the last century, the average excess return on the value-weighted index of US stocks was about 8.5% with a volatility of 20%, approximately (you can find the raw data in Kenneth R. French’s data library). Based on these figures, we have SM = 8.5% / 20% = 0.425 for the US stock market. Of course, during this long period, you can even find episodes when SM was negative or when it exceeded the value of one.

In Figure 1, we offer a visual interpretation, using a plot of return against risk. Each point on this plot represents a risky asset, such as a stock, mutual fund, etc. And, we have the risk-free asset, which has a return of Rf, on the vertical axis.

We can connect each risky asset to the risk-free asset through a straight line. In Figure 1, we have done that for two stocks: A and B. The Sharpe ratio of stock A is simply the slope of the line that connects it to the risk-free asset:

SA = (RA − Rf) / σA

The same is true for Stock B as well. And, the steeper the slope, the higher the Sharpe ratio. This means that SB > SA.

##### Summary

In this lesson, we introduced Sharpe ratio as a popular tool for evaluating investment performance. It is essentially a reward-to-risk ratio, where the excess return in the numerator captures the reward and the return volatility in the denominator reflects risk.

Sharpe (1966) ‘Mutual Fund Performance,’ The Journal of Business, Vol. 39 (1), pp. 119-138.

##### What is next?

This lesson is part of our free course on investments.

• Next lesson: We will cover Treynor ratio, which is another popular reward-to-risk ratio.
• Previous lesson: We have discussed Jensen’s alpha, which is an important risk-adjusted performance measure that is closely related to popular asset pricing models such as the CAPM and APT.

If you have any feedback for us (including questions about our content), you can use this contact form to get in touch. We’d love to hear your thoughts!

Solution for the “test your knowledge” exercise

Using the Sharpe ratio calculator, we find that:

Alternatively, for the fund we have: SA = (RA − Rf) / σA = (18% 2%) / 32% = 0.500.

And, for the market we have: SM = (RM − Rf) / σM = (14% 2%) / 18% = 0.667.

Thus, the fund’s performance is inferior with respect to the market: SA < SM.