Trading Calculator

Sharpe Ratio Calculator

Sharpe ratio = (average return − risk-free rate) ÷ standard deviation of returns, times the square root of the periods in a year to annualize. Paste your returns, or enter an annual return and volatility, and this calculator gives the annualized Sharpe ratio with every step. Daily crypto returns annualize over 365 days, since crypto trades every day.

Inputs

One return per period, decimal (0.015) or percent (1.5%), separated by commas or new lines.

0 measures the strategy alone; a cash yield measures what it adds over cash.

Result
Sharpe ratio (annualized)
1.93
Mean return per period
0.112%
Standard deviation per period
1.105%
Sharpe per period
0.101

Excess return per period over the standard deviation.

Periods per year
365
Annualizing factor (square root)
19.10
Returns read
60
By Keel Research Team · Updated November 11, 2026
All trading calculators
Why a high Sharpe ratio can mislead
How it works

Sharpe ratio formula

Sharpe = (R − Rf) ÷ σ
annualized = Sharpe per period × √N
  • R is the average return per period.
  • Rf is the risk-free rate for one period: the annual rate divided by N.
  • σ is the standard deviation of the returns (the sample standard deviation).
  • N is the number of periods in a year.

The summary mode skips the series: it divides the annual return minus the risk-free rate by the annual volatility you enter, which is the same formula already annualized.

ReturnsPeriods a yearMultiply by
Daily, crypto36519.10
Daily, stock trading days25215.87
Weekly527.21
Monthly123.46

How to calculate the Sharpe ratio

Take 10 daily returns: 1.2%, −0.9%, 0.4%, 1.4%, −1.3%, 0.3%, 0.8%, −1.0%, 1.1%, −1.2%, with a risk-free rate of 0.

  1. The average return is 0.08% a day.
  2. The standard deviation is 1.07%.
  3. Divide the first by the second: the Sharpe ratio per day is 0.075.
  4. Multiply by the square root of 365 (19.10): the annualized Sharpe ratio is 1.42.

10 returns are far too few to judge a strategy; the example only shows the arithmetic. Paste a long series into the calculator above for a number worth reading.

What counts as a good Sharpe ratio

These are the usual readings traders use. They are conventions, not laws, and a short test can land anywhere on the table by luck.

Annualized SharpeThe usual reading
below 0loses money after the risk-free rate
0 to 1a weak edge, often not worth it over holding
1 to 2a real edge
2 to 3very strong
3 and aboverare over a long sample; check for overfitting or a short test

Across the 18 strategies in Keel's public library, backtested on Hyperliquid perps from Aug 15, 2024 to Jul 5, 2026, the median Sharpe ratio is 1.11; half of them sit between 0.99 and 1.62. Those numbers are after fees, slippage and funding. See the strategies and their backtests.

Sharpe and Sortino

The Sharpe ratio counts every swing as risk, including the big up days. The Sortino ratio counts only the downside, so it suits strategies whose winners are much bigger than their losers. Compare both with the Sortino ratio calculator.

Automate it

Trade systematically on Keel

Keel is a strategy builder for Hyperliquid. Describe an idea, backtest it with fees, slippage and funding, and run it live on Hyperliquid’s crypto perps. Start free, and connect a wallet when you’re ready to trade.

What you can do
  • Backtest any strategy with realistic fees, slippage, and funding modeled.
  • Change a parameter and run it again. Every backtest is kept.
  • Run it live on Hyperliquid with stop-losses and leverage caps.
  • Start from a sentence. Describe your idea and Keel builds a strategy you can test.
FAQ

Frequently asked questions

How do you calculate the Sharpe ratio?

Take the average return per period, subtract the risk-free rate for that period, divide by the standard deviation of the returns, then multiply by the square root of the periods in a year. For 10 daily returns averaging 0.08% with a standard deviation of 1.07%, the per-day ratio is 0.075, and times the square root of 365 (19.10) the annualized Sharpe ratio is 1.42.

What is a good Sharpe ratio?

By the usual rule of thumb for trading strategies: below 0: loses money after the risk-free rate; 0 to 1: a weak edge, often not worth it over holding; 1 to 2: a real edge; 2 to 3: very strong; 3 and above: rare over a long sample; check for overfitting or a short test. Across the 18 strategies in Keel's public library, backtested on Hyperliquid perps from Aug 15, 2024 to Jul 5, 2026, the median Sharpe ratio is 1.11; half of them sit between 0.99 and 1.62. Those are backtests after fees, slippage and funding.

Is a Sharpe ratio of 1 good?

It sits on the line between two readings: below 1 is a weak edge, often not worth it over holding, and from 1 it is a real edge. It is a reasonable bar for a strategy you would run, as long as the test is long and counts every cost. The median strategy in Keel's public library sits at 1.11, measured after fees, slippage and funding.

How do you annualize a Sharpe ratio?

Multiply the per-period Sharpe ratio by the square root of the periods in a year: 365 for daily crypto returns, 252 for daily stock returns, 52 for weekly and 12 for monthly. This assumes returns are roughly independent from one period to the next; strongly autocorrelated returns make the annual figure look better than it is.

What risk-free rate should I use for crypto?

Use 0 to measure the strategy on its own, or the yield you could earn on cash instead, such as a Treasury bill rate, to measure what the strategy adds over holding cash. Either is fine; use the same rate for every strategy you compare.

Can a high Sharpe ratio be misleading?

Yes. A short test, a few lucky trades, or picking the best of many settings can all produce a Sharpe ratio the strategy will not repeat. The deflated Sharpe ratio corrects for how many variants you tried; check a high number with it before you trust it.

What is the difference between the Sharpe and Sortino ratios?

Both divide excess return by risk. The Sharpe ratio counts all volatility as risk, up days and down days alike. The Sortino ratio counts only returns below a target, usually zero, so a strategy with big winners and small losers scores higher on Sortino than on Sharpe.