# Sharpe Ratio Calculator

## About the Sharpe Ratio Calculator

The Sharpe Ratio, also known as the Sharpe Index, is named after American economist, William Sharpe. The ratio is commonly used as a means of calculating the performance of an investment after adjusting for its risk. This allows investments of different risk profiles to be compared against each other.

In the Sharpe Ratio, a higher value means greater returns for the portfolio relative to the inherent risk. This also means a better investment. Because of the simplicity of the formula, the Sharpe Ratio can be used to evaluated a single stock, or an entirely diversified portfolio.

### Sharpe Ratio formula

Sharpe Ratio = (Rx – Rf) / StdDev Rx

Where:

• Rx = Expected portfolio return
• Rf = Risk free rate of return
• StdDev Rx = Standard deviation of portfolio return / volatility

### Sharpe Ratio Calculator Template

Download this pre-made template to calculate the Sharpe Ratio for a given investment or portfolio. See the instructions below if modifications are needed to the template, to better tailor to certain business needs.

### How to Calculate the Sharpe Ratio in Excel?

Firstly, setup three adjacent columns. The first column should have the header “Time Period”, or something similar, to split the returns into its relevant periods. To the right, the second column should have the header “Portfolio Returns (%)”. The final column should have the header, “Risk Free”.

In the first column, insert the number of relevant periods that there is available portfolio return data for. Optionally, the type of period can be added. For example, if portfolio returns are sorted by years and there are 4 years available, input “Year 1, Year 2, Year 3, and Year 4” into 4 rows within the first column.

In the second column, insert the appropriate portfolio return in percentage for the relevant periods. In the last column, insert the risk-free rate for this particular type of investment or portfolio. The risk free rate should be the same across all periods.

To calculate the Sharpe Ratio, find the average of the “Portfolio Returns (%)” column using the “=AVERAGE” formula and subtract the risk free rate out of it. Divide this value by the standard deviation of the portfolio returns, which can be found using the “=STDEV” formula. Alternatively, depending on the version of Excel in use, the formula for standard deviation may be “=STDEVA”.