Skip to main content
7BBusyBoss

Sharpe Ratio Calculator: From Returns, with Sortino

Sharpe ratio calculator: enter average return and volatility, or paste daily, weekly or monthly returns, and get the annualised Sharpe and Sortino ratios.

No limitsZero data leaksSuper fast

Usually a short-term Treasury bill yield.

Sharpe ratio
1.10

Good

Where your strategy sits
0 (poor)1 (good)2 (excellent)3+ (rare)
Sharpe ratio = (return − risk-free rate) ÷ standard deviation, all measured over the same period. It measures how much return you earned per unit of volatility. Anything above 3 over a long sample is either a unicorn or a data problem.

Don't take our word for it — turn your wi-fi off.

This tool keeps working with no connection at all, because your file is processed here in the browser. A site that uploads your file cannot do that. Disconnect and try it — this box will notice.

Prefer to check properly? Open DevTools → Network, then run the tool. Your file appears in no request. Why none of our tools upload

Put this tool on your site

Free to embed. No signup, no API key, no tracking scripts.

You're on 7BusyBoss — 300+ free tools that run instantly in your browser. No signup, nothing uploaded.

Browse all Risk Management →
About this tool

Sharpe ratio formula

A Sharpe ratio calculator works out (average return − risk-free rate) ÷ standard deviation of returns, with all three measured over the same period. To annualise the result, multiply by the square root of the number of periods in a year: √12 for monthly returns, √52 for weekly, √252 for daily. Above 1 is generally good. Below 0 means the strategy earned less than cash.

The ratio tells you how much extra return each unit of volatility bought. Two strategies with the same average return rank differently if one of them got there with much larger swings. Sharpe index, Sharpe measure and Sharpe ratio are the same number. William F. Sharpe, who it is named after, called it the reward-to-variability ratio.

How to calculate the Sharpe ratio from 12 monthly returns

Take twelve monthly returns and a 4% annual risk-free rate. These are the defaults in the "From a list of returns" mode above, so you can follow each step on screen.

MonthReturn (%)Return − meanSquared
Jan2.11.16671.3611
Feb−1.4−2.33335.4444
Mar3.02.06674.2711
Apr0.8−0.13330.0178
May−2.2−3.13339.8178
Jun1.90.96670.9344
Jul2.61.66672.7778
Aug−0.7−1.63332.6678
Sep1.20.26670.0711
Oct3.42.46676.0844
Nov−1.1−2.03334.1344
Dec1.60.66670.4444
Total (from unrounded values)11.2038.0267
  1. Mean monthly return: 11.2 ÷ 12 = 0.9333%.
  2. Sample standard deviation: 38.0267 ÷ (12 − 1) = 3.4570, and √3.4570 = 1.8593%. The divisor is n − 1 because twelve months are only a sample of what the strategy does.
  3. Monthly risk-free rate: (1 + 0.04)^(1/12) − 1 = 0.3274%. Dividing by 12 instead gives 0.3333%. The difference is small and moves the final answer from 1.13 to 1.12.
  4. Excess return: 0.933333 − 0.327374 = 0.605959% per month.
  5. Monthly Sharpe: 0.605959 ÷ 1.859293 = 0.3259.
  6. Annualised Sharpe: 0.3259 × √12 = 0.3259 × 3.4641 = 1.13.

The calculator also reports the annualised return (0.9333 × 12 = 11.20%), the annualised volatility (1.8593 × √12 = 6.44%), and a standard error of about ±1.03 for this estimate. That last figure matters more than it looks. The mistakes section below explains why.

What is a good Sharpe ratio?

These are the bands the calculator uses for an annualised Sharpe ratio. Treat them as rules of thumb. Nobody standardised them, and they only mean much on long samples.

Annualised SharpeLabel in this calculatorWhat it usually means
Below 0Losing systemEarned less than the risk-free rate; holding cash would have done better
0 to 0.5Sub-optimalSome excess return, but small for the volatility endured
0.5 to 1AcceptableA reasonable trade-off for a long-only, diversified portfolio
1 to 2GoodStrong risk-adjusted return if it holds over several years
2 to 3ExcellentRare over long periods; check the sample length and costs
Above 3Suspiciously goodUsually a short sample, smoothed prices, missing fees, or a data error

Annualising the Sharpe ratio with √12, √52 or √252

Mean return grows in line with the number of periods, while standard deviation grows with the square root, so the ratio scales by √(periods per year). The rule assumes each period's return is independent of the one before it.

Return frequencyPeriods per yearMultiply Sharpe by4% annual risk-free per period
Daily (trading days)25215.87450.0156%
Weekly527.21110.0755%
Monthly123.46410.3274%
Yearly114.0000%

So a daily Sharpe of 0.08 is 0.08 × 15.8745 = 1.27 a year, and a weekly Sharpe of 0.2 is 1.44.

Sharpe vs Sortino

Sharpe divides by total standard deviation, so a large gain counts as risk just as much as a large loss does. The Sortino ratio divides by downside deviation instead: the root-mean-square of only the returns below a target, taken over all observations. The calculator lets you set that target at 0% or at the risk-free rate.

For the 12-month example, downside deviation against 0% is 0.8416% a month, which gives an annualised Sortino of 3.84 next to a Sharpe of 1.13. Against the risk-free rate it is 2.06. Now flip each month around the mean (2 × 0.9333 − return). Mean and standard deviation are unchanged, so the Sharpe ratio is still 1.13, but the worst month improves from −2.2% to −1.53% and the Sortino climbs to 5.45. Sharpe gives the same answer for both return streams. Sortino tells them apart.

Common mistakes

  • Mixing periods. Subtract a 4% annual rate from a 0.9333% monthly return and the example's annualised Sharpe comes out at −5.71 instead of 1.13. Convert the rate to the same period first. The calculator does this for you.
  • Scaling by 12 instead of √12. Multiplying the monthly Sharpe of 0.3259 by 12 gives 3.91, which looks spectacular and is wrong.
  • Small samples. With 12 observations the standard error is about ±1.03, so the true annualised Sharpe could plausibly sit anywhere from 0.10 to 2.16. At the same Sharpe, getting the error down to ±0.5 takes about 51 months, and ±0.25 about 202 months. The calculator prints this figure under the result.
  • Non-normal returns. Strategies that sell options, or pick up pennies in front of a steamroller, show high Sharpe ratios right up until the rare large loss arrives. Sharpe sees the mean and the standard deviation and nothing about the shape of the tail.
  • Smoothed or autocorrelated returns. Monthly marks on illiquid assets understate volatility, and the √n rule overstates the annual figure when returns trend from one period to the next.
  • Using prices instead of returns. The inputs are percentage returns per period. Account balances and price series have to be turned into returns first.

How to use this calculator

  1. Average & std dev mode: choose annual or monthly figures, enter your average return and standard deviation for that period, and the annual risk-free rate. In monthly mode the rate is de-compounded to a monthly figure and the result is annualised with √12.
  2. From a list of returns mode: paste percentage returns, one per line or separated by commas, say whether they are daily, weekly, monthly or yearly, and enter the annual risk-free rate. The calculator shows how many values it parsed and lists any it ignored.
  3. Read the annualised Sharpe ratio and its band, then the mean, sample standard deviation, per-period risk-free rate, per-period Sharpe, annualised return and volatility, Sortino ratio and standard error.

If you log trades in the trading journal, its CSV export lists the P&L of every trade. Total it by month, divide by the account balance at the start of the month, and you have returns to paste here. Sharpe treats upside and downside swings alike, so pair it with the drawdown recovery calculator to see what your worst losing stretch costs to recover. For options strategies, the Black-Scholes calculator shows the volatility the market is pricing in.

The calculator is arithmetic on the numbers you enter. It does not recommend any strategy or investment.

How to use the Sharpe Ratio Calculator

Takes about a minute. No signup, no download, your data stays in your browser.

  1. 1
    Open the tool. Scroll up to the Sharpe Ratio Calculator above — it loads instantly in your browser, no install needed.
  2. 2
    Enter your values. The fields come pre-filled with realistic defaults so you can see how it works — replace them with your own numbers.
  3. 3
    Read the result. The output updates instantly. Copy or share it — nothing is uploaded to a server, everything stays on your device.

Frequently asked questions

Common questions about the Sharpe Ratio Calculator.

What is a good Sharpe ratio?

An annualised Sharpe ratio above 1 is generally considered good, 0.5 to 1 acceptable, and above 2 excellent, though rare over long periods. Below 0 means the strategy returned less than the risk-free rate. Anything above 3 usually points to a short sample, smoothed prices or a data error.

How do you calculate the Sharpe ratio from monthly returns?

Take the mean of the monthly returns, subtract the monthly risk-free rate, and divide by the sample standard deviation of the returns. Multiply by √12 to annualise. For returns averaging 0.9333% a month with a standard deviation of 1.8593% and a 4% annual risk-free rate (0.3274% a month), that gives 0.3259 per month, or 1.13 a year.

How do you annualize a Sharpe ratio?

Multiply the per-period Sharpe ratio by the square root of the number of periods in a year: √252 (15.8745) for daily returns, √52 (7.2111) for weekly and √12 (3.4641) for monthly. A daily Sharpe of 0.08 comes out at 1.27 a year. The rule assumes returns are independent from one period to the next.

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

A short-term government bill yield in the same currency as your returns, converted to the same period as the returns. A 4% annual rate is 0.3274% a month or 0.0156% a trading day when de-compounded with (1 + r)^(1/n) − 1. Dividing by 12 gives 0.3333% instead, which is close but slightly overstates the monthly rate.

Sharpe ratio vs Sortino ratio: what is the difference?

The Sharpe ratio divides excess return by total volatility, so large gains are penalised like large losses. The Sortino ratio divides by downside deviation, which counts only the returns below a target. For the 12-month example on this page, the annualised Sharpe is 1.13 and the Sortino with a 0% target is 3.84.

How many returns do I need for a reliable Sharpe ratio?

More than most people use. With 12 monthly returns and a Sharpe of 1.13, the standard error is about ±1.03, so the true figure could sit anywhere from roughly 0.10 to 2.16. Getting the error down to ±0.5 takes about 51 months of data at the same Sharpe.

Can a Sharpe ratio be negative?

Yes. It goes negative whenever the average return is below the risk-free rate, even when the return itself is positive. A strategy averaging 0.2% a month with 1.8593% monthly volatility, against a 4% annual risk-free rate, has an annualised Sharpe of −0.24.

Is the Sharpe index or Sharpe measure the same as the Sharpe ratio?

Yes. Sharpe index, Sharpe measure and Sharpe ratio all mean excess return divided by the standard deviation of returns, named after William F. Sharpe. "Sharp ratio" is a common misspelling of the same thing.

Community rating

Discussion (0)

No comments yet. Start the discussion.