b2KIT

Sharpe Ratio Calculator

Calculate the Sharpe ratio for investment performance evaluation with risk-free rate, portfolio return, and standard deviation inputs.

Tested tool guide Tested browser tools Checked August 16, 2026

What Sharpe Ratio Calculator does, with a checked example

The Sharpe ratio answers one question: how much return did an investment earn for each unit of risk it took. Enter the portfolio's return, a risk-free rate (typically a short-term Treasury yield), and the standard deviation of returns, and the tool divides the excess return by that volatility. The result is a single number that lets you compare investments with very different risk levels on equal footing. The thing most people get wrong is mixing time frames: a ratio built from monthly data is not comparable to one built from annual data, because the value scales with the square root of the number of periods per year.

Worked example

A concrete input and expected output from the current implementation.

Input

Portfolio return: 12% | Risk-free rate: 2% | Standard deviation: 10%

Expected output

Sharpe ratio: 1.00

The tool computes (0.12 - 0.02) / 0.10 = 0.10 / 0.10 = 1.00. The portfolio earned a 10 percentage point excess return while carrying 10 percentage points of volatility, so it produced exactly one unit of excess return per unit of risk.

How the result is produced

1

The formula

Sharpe ratio = (portfolio return - risk-free rate) / standard deviation. The subtraction in the numerator is the excess return, the reward earned beyond what a cash-like asset paid over the same period. Dividing by volatility expresses that reward per unit of risk, so two strategies with the same return but different swings score differently. All three inputs must use the same units, usually annual percentages, for a meaningful result.

2

Period and annualization

Volatility grows with the square root of time while returns grow linearly, so a strategy measured on monthly data scores about 3.46 times lower than the same strategy measured on annual data. A monthly Sharpe of 0.29 and an annual Sharpe of 1.00 describe identical performance. When you see a published ratio, first ask what period the inputs cover; annualized figures are the usual convention.

Good uses

  • Comparing two funds: a fund that returned 11% with 14% volatility and a fund that returned 8% with 7% volatility. Against a 3% risk-free rate the first scores 0.57 and the second 0.71, so the lower-returning fund actually delivered more return per unit of risk.
  • Judging an active strategy against a passive alternative: plug the strategy's return and volatility into the tool with a money-market or short-term Treasury yield as the risk-free rate, and check whether the extra return justifies the extra risk the strategy took on.
  • Testing an allocation change: compute the ratio for a portfolio before and after adding an asset class or rebalancing, and see whether the change improved risk-adjusted performance or just boosted raw return at the cost of proportionally more volatility.

Limits and checks

  • Backward-looking by construction: the ratio is computed from historical returns and volatility. A high past Sharpe ratio says nothing about future performance, and a strategy with a short track record can show a ratio that is mostly luck.
  • Sensitive to inputs you control: a different risk-free rate choice (3-month Treasury versus 10-year yield, for example) changes the numerator, and the ratio drifts as rates move. Ratios computed at different dates, from different rate conventions, or on different data frequencies are not directly comparable.
  • Volatility is symmetric, losses are not: standard deviation penalizes a 10% jump and a 10% drop equally, so a strategy with infrequent large losses and one with symmetric swings can score identically. If downside risk is what matters, the Sortino ratio is the usual alternative.

Common questions

What is a good Sharpe ratio?

A common rule of thumb: above 1.0 is acceptable, above 2.0 is very good, and above 3.0 is excellent. But those anchors assume annualized figures. A monthly Sharpe of 0.3 is not bad compared with an annual 1.0; it is the same performance on a different clock. Compare only ratios computed on the same data frequency and roughly the same period.

Does a higher Sharpe ratio always mean a better investment?

No. It measures return per unit of total volatility, not total return, so a low-volatility strategy with modest returns can rank above a higher-returning one. It also ignores how losses are distributed: two portfolios with the same volatility can have very different drawdown profiles. Use it alongside total return, maximum drawdown, and downside risk measures.

References and verification

The example and behavioral notes were checked against the browser implementation. Standards and primary references below define the relevant format, formula, or platform behavior.

Related Tools