Sharpe Ratio Calculator

This Sharpe ratio calculator measures risk-adjusted return from your portfolio return, the risk-free rate and volatility.

Sharpe Ratio Calculator
%
%
%
Sharpe ratio —
Excess return —
Standard deviation —

We always strive to use the latest data for every variable so our results and reports are as accurate as possible. Even so, errors are possible — you should not rely on this tool or its report alone, and we accept no liability for any decision made based on it.

What it does

The Sharpe Ratio Calculator measures how much return a portfolio earns for each unit of risk it takes. It subtracts the risk-free rate from the portfolio return and divides the result by the standard deviation, so you can judge whether a return was worth the volatility.

Data sources & parameters

This calculator uses standard financial formulas and runs entirely in your browser. It needs no external rate data — your result is computed only from the values you enter above.

We always strive to use the latest data for every variable so our results and reports are as accurate as possible. Even so, errors are possible — you should not rely on this tool or its report alone, and we accept no liability for any decision made based on it.

The formula

Sharpe ratio = (Portfolio return − Risk-free rate) ÷ Standard deviation

How it works

Enter the portfolio's annual return, the risk-free rate, and the standard deviation of returns. The tool computes the excess return over the safe rate and divides it by the volatility, giving a single number that lets you compare investments on a risk-adjusted basis.

Where it is used

  • Comparing two portfolios that have different returns and different risk levels
  • Checking whether a high return simply reflects high volatility
  • Judging whether extra risk in a strategy is actually being rewarded

Worked example

A portfolio returns 12% while the risk-free rate is 3% and returns vary with a standard deviation of 15%. The excess return is … and the Sharpe ratio is …, meaning that much excess return per unit of risk.

What the Sharpe ratio calculator does

The Sharpe ratio calculator measures the risk-adjusted return of a portfolio or investment: how much return you earned for each unit of risk you accepted. It subtracts the risk-free rate from your return and divides by the volatility of that return, giving one number you can use to compare very different investments.

A portfolio that gained 20 percent might look far better than one that gained 10 percent, but if the first swung wildly to get there while the second climbed steadily, the higher return carried much more risk. The Sharpe ratio shows which investment used risk more efficiently.

How the Sharpe ratio works

The ratio, developed by Nobel laureate William F. Sharpe, starts from the fact that any investor can earn the risk-free rate without meaningful risk, so only the return above that baseline rewards uncertainty. That surplus is the excess return.

The excess return is divided by the standard deviation of returns, which captures how much returns move around their average from period to period. For the same excess return, a smoother portfolio scores higher than a jumpy one, so the ratio rewards consistency as well as gains.

Sharpe ratio = (Portfolio return − Risk-free rate) ÷ Standard deviation

A ratio of 0.6 means you earned 0.6 units of excess return for every unit of volatility you were exposed to.

The three inputs

  • Portfolio return is the annual return your investment achieved. It can be a realised historical figure or an expected one, but be consistent about which you use.
  • The risk-free rate is the return on a safe benchmark, usually a short-term government bond, and sets the bar the portfolio must clear.
  • Standard deviation is the volatility of the portfolio's returns as a percentage. A wider standard deviation means larger swings and more risk.

All three are percentages, so the excess return is a percentage and the Sharpe ratio is a plain number with no units.

How to use the calculator

  1. Enter the portfolio's annual return.
  2. Enter the risk-free rate for the same period.
  3. Enter the standard deviation of the portfolio's returns.

The tool shows the excess return and the Sharpe ratio. Calculate the ratio for two or more portfolios; the one with the higher number delivered more return for its risk, even if its headline return was lower.

Raise the standard deviation while holding the return steady and the ratio falls. Lower the risk-free rate and the excess return widens, lifting the ratio, which is why the same portfolio can look better or worse depending on interest rates.

Reading the result

As a broad convention, a ratio below 1 is often considered modest, around 1 respectable, above 2 very good, and above 3 excellent. Treat these bands loosely, because the right benchmark depends on the asset class and the period measured.

The Sharpe ratio treats all volatility as bad, penalising sharp upward moves as much as downward ones, although most investors fear only the downside. It assumes roughly normally distributed returns, which can understate the risk of investments prone to rare but severe losses. And it depends on the period chosen: a fund can look brilliant over one stretch and mediocre over another.

Why risk-adjusted return matters

Two managers can post the same return, but if one did so with half the volatility, that manager was more skilful, or luckier, in a way raw return figures hide.

For a long-term investor, a smoother path is easier to stay invested through, less likely to trigger panic selling at the bottom, and more predictable for planning. Chasing the highest headline return often means accepting volatility few people can tolerate when markets fall.

Using the ratio

Compare funds within the same category, check the ratio over several time periods, and pair it with the Sortino ratio, which looks only at downside risk, or the Treynor ratio, which uses market risk instead of total volatility.

This article is general information only and is not financial advice.

About This Sharpe Ratio Calculator

Use this Sharpe ratio calculator to get an instant estimate based on the figures you enter. Adjust the inputs above to match your situation, or browse all our calculators to plan your next step.

Frequently asked questions

How does the Sharpe ratio calculator work?
It subtracts the risk-free rate from your portfolio return to get the excess return, then divides that excess return by the standard deviation of the portfolio. The result is a single number showing how much return you earned for each unit of risk taken. A higher figure means a better risk-adjusted result.
What is a good Sharpe ratio?
As a rough guide, a Sharpe ratio below 1 is often seen as modest, around 1 is acceptable, above 2 is very good, and above 3 is excellent. These bands are conventions, not rules, and they depend heavily on the asset class, the time period, and the risk-free rate you use.
What is the risk-free rate?
The risk-free rate is the return you could earn on a very safe asset, typically a short-term government bill. It is the baseline return available without taking meaningful risk, so subtracting it isolates the reward you earned for accepting volatility.
Why does the Sharpe ratio use standard deviation?
Standard deviation measures how much returns vary around their average, a common proxy for total risk. Because the Sharpe ratio divides excess return by this volatility, two portfolios with the same return but different volatility score differently, rewarding the smoother one.
What is the difference between the Sharpe ratio and the Sortino ratio?
The Sharpe ratio uses total volatility, counting both upside and downside swings as risk. The Sortino ratio uses only downside deviation, so it does not penalise upside volatility. Many investors prefer the Sortino ratio when returns are skewed, but the Sharpe ratio remains the most widely quoted measure.
Is my data kept private?
Yes. The calculation runs entirely in your browser. Nothing you enter is uploaded, stored, or shared with anyone, so you can test different figures freely.

About the author

Taha Kheirandish

Written and reviewed by

Taha Kheirandish

Economics student and independent researcher

Taha Kheirandish reads tax codes the way other people read maps — to find out where a system actually leads, not where it claims to go.

He is an economics student, and his work here is comparative by design. A pension deferral bonus in Quebec, a commuting allowance in Germany, a rent-increase ceiling in the Netherlands: each is a decision a government made about how money should move, and each reads differently once you set it beside eight others. He builds and checks these calculators across nine markets from primary sources — the regulation rather than a summary of it, the ministry’s own circular rather than a news item quoting it.

That is the editorial standard of the site as well as his habit. Every rate, threshold and bracket here carries the document it was read from and the date it takes effect, and gets re-checked when the law moves rather than when someone happens to notice.

He is a researcher, not a licensed adviser, and nothing on this site is personal financial advice. It is arithmetic done carefully with its sources shown — so that you can check it, and take it to someone who is.

Leave a Reply

Your email address will not be published. Required fields are marked *