Sharpe Ratio Calculator

The Sharpe Ratio Calculator measures the risk-adjusted return of an investment, showing how much reward it earned for the risk taken before you commit capital. You enter the portfolio or strategy return, the risk-free rate and the standard deviation, all for the same period. It returns the Sharpe ratio, the excess return, and an annualized ratio when your data is not yet annual.

Advanced options
Sharpe ratio
0.40
Excess return
6.00%
Annualized Sharpe
0.40

Below the threshold: under 1, the return doesn't fully compensate for the volatility.

Show the math
Sharpe = (10% − 4%) ÷ 15% = 0.40
Annualized = 0.40 × √1 = 0.40
eToro
Rated 78/100 by InvestinGoal
  • Minimum deposit: $50
Visit eToro
Reviewed by Filippo Ucchino Founder, InvestinGoal

These results are estimates for educational purposes only and are not financial, investment or tax advice.

What is a Sharpe ratio calculator?

A Sharpe ratio calculator is a tool that computes the Sharpe ratio, the measure of how much return an investment earned above the risk-free rate for each unit of volatility it carried. The Sharpe ratio itself is the standard gauge of risk-adjusted return: it takes the return of a portfolio or strategy, strips out the risk-free rate to isolate the reward for taking risk, and divides that excess return by the standard deviation of the returns. The result is a single, unit-free number, where a higher figure means more return was earned per unit of risk. It was developed by the economist William F. Sharpe in 1966, first set out in his paper on mutual fund performance as the reward-to-variability ratio, part of the body of work recognized by the 1990 Nobel Memorial Prize in Economic Sciences. The calculator performs this division for you, taking the return, the risk-free rate and the volatility as inputs and returning the ratio.

Why is the Sharpe ratio calculator important for investors?

The Sharpe ratio calculator is important for investors because it places investments with different returns and different risks on a single comparable scale, so a fund that earns 10% smoothly and one that earns 10% through wild swings are no longer judged as equal. Return on its own is an incomplete measure, because it says nothing about the risk taken to reach it, and the risk is what decides whether that return is repeatable or a lucky escape. By dividing excess return by volatility, the calculator answers the question that matters before you commit capital: how much reward did this investment deliver for each unit of risk. Investors reach for it at the point of decision, when choosing between funds or strategies, sizing an allocation, or reviewing whether a holding still earns its place. It turns the vague sense that one option is riskier than another into a number you can rank, which is a core skill for anyone learning investing with a clear view of the risk they take.

How do you use the Sharpe ratio calculator?

To use the Sharpe ratio calculator, enter your portfolio or strategy return, the risk-free rate and the standard deviation, all measured over the same period, and the tool returns the Sharpe ratio.

The steps to use the Sharpe ratio calculator are listed below:

  1. Enter your portfolio or strategy return. This is the total return the investment earned over the period you are measuring, entered as a percentage.
  2. Set the risk-free rate. This is the return you could earn with no risk over the same period, typically a short-term government bond or Treasury bill yield, recently around 4% to 5% a year.
  3. Enter the standard deviation. This is the volatility of the return, the statistical measure of how much it fluctuated, and it must cover the same period as the return.
  4. Open Advanced to set the periods per year. This annualizes the result when your inputs are not already annual, using 12 for monthly data or 252 for daily data.

Every input must refer to the same period for the ratio to be valid, and the result updates each time you press Calculate.

What formula does the Sharpe ratio calculator use?

The formula the Sharpe ratio calculator uses is excess return divided by volatility, where excess return is your return minus the risk-free rate.

Sharpe ratio=(RpRf)σ

In this formula, Rp is your portfolio or strategy return, Rf is the risk-free rate, and σ (sigma) is the standard deviation, the statistical measure of volatility. The numerator, Rp minus Rf, is the excess return, the reward earned above a riskless investment, and the denominator is the amount of risk taken to earn it. When your inputs cover a shorter period than a year, the calculator annualizes the ratio by multiplying it by the square root of the number of periods per year:

Annualized Sharpe=period Sharpe×periods per year

Plugging in the calculator's anchor values, (10 − 4) ÷ 15 = 0.40. The formula is only valid when the return, the risk-free rate and the standard deviation all cover the same period.

What is an example of a Sharpe ratio calculation?

An example of a Sharpe ratio calculation is a portfolio that returns 10% over one year against a 4% risk-free rate with 15% volatility, which produces a Sharpe ratio of 0.40, worked out as follows:

  1. Excess return = 10% − 4% = 6.00%. This is the reward the portfolio earned above the risk-free rate.
  2. Sharpe ratio = 6% ÷ 15% = 0.40. The 6% excess return is divided by the 15% standard deviation.

The calculator displays 0.40 as the Sharpe ratio and 6.00% as the excess return, the same two figures the worked example produces by hand.

How do you read the Sharpe ratio calculator's result?

You read the Sharpe ratio calculator's result as reward per unit of risk: the higher the number, the more excess return the investment earned for each unit of volatility, and a negative value means it returned less than the risk-free rate.

Sharpe ratioHow to read it
Below 1Subpar: the return does not fully compensate for the volatility
1 to 2Good: a solid return per unit of risk
2 to 3Very good: rare and desirable
Above 3Excellent: verify the inputs all share the same period

These bands are a rule of thumb, not a precise law. The cut-offs of above 1, above 2 and above 3 are of uncertain origin and are sensitive to the period measured, because the same strategy scores higher annualized than it does monthly. Most broadly diversified indices have posted an annualized Sharpe ratio below 1 over the long run, so a sustained figure above 2 is genuinely rare: some quantitative funds discard strategies that backtest below a Sharpe of 2, and the most selective below 3. To make the number mean anything, compare it only against the same asset class over the same period, then judge whether the investment paid you enough for its risk before you hold or add to it.

How does volatility affect a Sharpe ratio calculation?

Volatility affects a Sharpe ratio calculation directly because it is the denominator: for a fixed excess return, lower volatility raises the Sharpe ratio and higher volatility lowers it. This makes volatility the fulcrum of the whole measure. Two portfolios can each earn a 6% excess return, but the one with 15% volatility scores a Sharpe ratio of 0.40 while the one with 10% volatility scores 0.60, so the calmer path to the same result is rated higher. It is why reducing the swings in a portfolio, without sacrificing return, is one of the few reliable ways to lift the ratio. Because standard deviation, the statistical measure of volatility, is the exact input the calculator divides by, understanding what drives it in your holdings is central to reading the result the tool returns.

What are the limits of the Sharpe ratio calculator?

The main limit of the Sharpe ratio calculator is that it is only an estimate built from the numbers you enter: it takes the standard deviation as an input rather than calculating it from a return series, so an inaccurate volatility figure produces an inaccurate Sharpe ratio. Beyond the inputs, the Sharpe ratio has well-documented conceptual limits. It treats all volatility as risk, penalizing large upside swings exactly as it penalizes losses, which is the specific weakness the Sortino ratio was built to address. It assumes returns are close to normally distributed, so it understates the danger in strategies that produce rare but severe losses. It is also sensitive to the risk-free rate and the period you choose.

The ratio can also be inflated. Leverage and illiquid or smoothed returns both flatter it, which is why a high Sharpe ratio can still belong to a fund that later loses heavily. Andrew Lo's study "The Statistics of Sharpe Ratios" shows how non-normal and autocorrelated returns distort both the ratio and its annualization. A high past Sharpe ratio is also not persistent, so it is a weak guide to future performance. Because the ratio says nothing about the depth of a loss, many investors read it next to a drawdown measure, which captures the worst peak-to-trough fall the same returns produced. The calculator is an educational tool, not financial advice, so treat its output as one input to a decision rather than the decision itself.

How does the Sharpe ratio calculator compare to other risk management metrics?

The Sharpe ratio calculator compares to other risk management metrics as the broadest of the family: where the Sharpe ratio divides excess return by total volatility, related metrics each swap in a different measure of risk. The Sortino ratio replaces total volatility with downside deviation, counting only harmful moves, and the difference between the two is worth its own comparison below. The Treynor ratio divides excess return by beta, measuring reward against systematic market risk rather than total risk. The Calmar ratio divides return by the maximum drawdown, judging performance against the worst loss endured rather than day-to-day swings. The Information ratio measures excess return over a benchmark against tracking error, showing how consistently a strategy beats the index it is measured against.

MetricRisk in the denominatorWhat it captures
Sharpe ratioTotal volatilityReturn per unit of total risk
Sortino ratioDownside deviationReturn per unit of loss volatility
Treynor ratioBetaReturn per unit of market risk
Calmar ratioMaximum drawdownReturn against the worst peak-to-trough fall
Information ratioTracking errorExcess return over a benchmark

Each of these belongs to the same discipline of risk management, and choosing between them depends on which kind of risk matters most for the decision in front of you.

What is the difference between Sharpe ratio calculation and Sortino ratio calculation?

The difference between a Sharpe ratio calculation and a Sortino ratio calculation is the risk in the denominator: the Sharpe ratio divides excess return by total volatility, while the Sortino ratio divides the same excess return by downside deviation, the volatility of losses alone.

AttributeSharpe ratio calculationSortino ratio calculation
Risk in the denominatorTotal volatility, all swingsDownside deviation, losses only
Treatment of upsidePenalized as riskIgnored
Fairest forSteady, symmetric returnsUneven, lumpy returns with big gains
Common roleThe industry-standard baselineA second opinion on downside risk

Because the Sharpe ratio counts a large gain as risk, it can understate a strategy whose volatility comes mostly from the upside, and this is exactly where the Sortino ratio gives a fairer reading. For most side-by-side comparisons the Sharpe ratio stays the common baseline, since it is the more widely reported of the two, while the Sortino ratio is the better measure for strategies with uneven returns. A dedicated Sortino ratio calculation, built on downside deviation, is the right tool when only losses should count as risk.

In what markets can you use the Sharpe ratio calculator?

You can use the Sharpe ratio calculator in any market where an investment has a measurable return and a measurable volatility, which covers every major asset class investors and traders hold.

The markets where the Sharpe ratio calculator applies are listed below:

  • Stocks. The ratio compares an individual stock or an equity portfolio against its volatility, a common way to judge whether higher returns came with proportionate risk.
  • ETFs. For a diversified fund, the ratio shows how efficiently an ETF turns its volatility into return, which helps when choosing between funds that track similar markets.
  • Crypto. Because crypto assets carry very high volatility, their Sharpe ratios are often low despite large headline returns, and the calculator makes that trade-off explicit.
  • Forex. For a currency strategy, the ratio measures return per unit of volatility, letting you compare forex systems on a risk-adjusted basis rather than on raw profit.

Which calculators are related to the Sharpe ratio calculator?

The calculators related to the Sharpe ratio calculator sit in the same risk and return workflow, from measuring the return that feeds the ratio to seeing what a run of losses does to a portfolio.

The calculators related to the Sharpe ratio calculator are listed below:

FAQ

What is the Sharpe ratio of the S&P 500?

The S&P 500's Sharpe ratio has historically sat well below 1, around 0.3 to 0.5 measured over long multi-decade periods. It is not a fixed figure, because rolling 12-month windows swing widely with market conditions, turning negative in bad years and rising in strong ones. This calculator does not pull a live market feed, so you enter the return and volatility for the period you want to measure.

Which risk-free rate should I use in the Sharpe ratio?

Use a short-term government bond or Treasury bill yield as the risk-free rate, since it represents a near-riskless return over the same horizon as your investment. Some investors use the 10-year Treasury yield instead for long-term portfolios. The key rule is to match the risk-free rate to the currency and the period of your return, so a monthly return uses a monthly risk-free rate.

Is a higher Sharpe ratio always better?

Generally yes, but not always. A higher Sharpe ratio usually means an investment delivered more return for the risk it took, which is the goal. However, leverage, illiquid or smoothed returns, and a short lucky streak can all inflate the number without reflecting real skill. A Sharpe ratio that looks too good, such as 5 or 10, is more often a warning sign than a discovery.

How do you annualize the Sharpe ratio?

You annualize the Sharpe ratio by multiplying the period ratio by the square root of the number of periods in a year. For monthly data you multiply by √12, and for daily data by √252. For example, a monthly Sharpe of 0.267 annualizes to 0.92. Keep the return, the risk-free rate and the volatility all on the same period before you annualize.

Can the Sharpe ratio be negative?

Yes, the Sharpe ratio can be negative. It turns negative whenever the investment returns less than the risk-free rate, which makes the excess return in the numerator negative. A negative Sharpe ratio means the risk taken was not rewarded at all, since you would have done better holding a risk-free Treasury bill. Its magnitude is less meaningful than a positive ratio, so read it simply as a red flag.

This tool is for education, not financial advice. The Sharpe ratio measures past risk-adjusted return and does not predict future results, and all investing carries the risk of loss.

Select your language

English (United States) country flag English (United States)