# Sharpe Ratio Explained: Formula, Examples and Limits
Author: Huzefa Kudrati
Author URL: https://tradetron.tech/blog/author/huzefa-kudrati
Published: 2023-10-04
Updated: 2026-10-03
Meta Title: Sharpe Ratio Explained: Formula, Examples, Limits
Meta Description: What the Sharpe ratio measures, how to calculate and annualise it with worked ₹ examples, what a good value is, and why it can mislead for option-selling strategies.
URL: https://tradetron.tech/blog/navigating-risk-and-reward-the-sharpe-ratio-explained-clnc14cm41937761vpq6n5fnin7

The **Sharpe ratio** measures how much return an investment or strategy earned above a risk-free rate for each unit of volatility it carried. The formula is (return − risk-free rate) ÷ standard deviation of returns. A higher Sharpe ratio means a better risk-adjusted return; a value around 1 or above is commonly treated as good for a strategy after costs.

:::takeaways
- Sharpe ratio = (return − risk-free rate) ÷ volatility. It lets you compare strategies that take different amounts of risk.
- Annualise daily figures by multiplying the daily Sharpe by about √252 (≈ 15.9).
- Compare Sharpe ratios only when they are calculated the same way, over the same period.
- It treats upside and downside swings alike and can hide rare large losses, so read it alongside drawdown.
:::

## What is the Sharpe ratio?

The Sharpe ratio was developed by Nobel laureate William F. Sharpe. It answers one question: was the return worth the ups and downs it took to get it?

It needs three numbers:

| Input | What it is | Example |
|---|---|---|
| **Return** | Average return of the strategy over a period, usually annualised | 14% a year |
| **Risk-free rate** | What you could earn with almost no risk, such as government treasury bills | 6% a year (example rate) |
| **Standard deviation** | How much returns swing around their average: the strategy's volatility | 10% a year |

:::highlight
Sharpe ratio = (Return − Risk-free rate) ÷ Standard deviation of returns
:::

With the numbers above: (14% − 6%) ÷ 10% = **0.80**. For every 1% of volatility, the strategy earned 0.8% above the risk-free rate.

## Comparing two strategies

The Sharpe ratio is most useful for comparing options that take different levels of risk:

![Chart of annual return against volatility: Strategy A with 18% return and 20% volatility has a Sharpe of 0.60; Strategy B with 14% return and 10% volatility has a Sharpe of 0.80; both measured from a 6% risk-free rate](https://tradetron.tech/blog/media/8403072aaf0aad88b997.png "Hypothetical figures. B earns less in total but much more per unit of risk")

:::example Strategy A vs Strategy B (hypothetical)
Strategy A returns 18% with 20% volatility: (18 − 6) ÷ 20 = 0.60.
Strategy B returns 14% with 10% volatility: (14 − 6) ÷ 10 = 0.80.
A makes more money, but B earns more per unit of risk. If you doubled B's size, its return above the risk-free rate would roughly double too (to about 16%, or 22% in total) with 20% volatility, the same risk as A.
:::

That last point shows a useful property: changing position size scales both excess return and volatility, so the Sharpe ratio stays roughly the same. That makes it a measure of the quality of a strategy's returns, and it's also why Sharpe alone can't tell you whether a strategy is sized too large for your account.

## How to calculate the Sharpe ratio for an algo strategy

Strategies usually produce daily P&L, so you calculate on daily returns and then annualise:

:::steps
1. **Convert daily P&L into daily returns** on the capital used: ₹1,200 on ₹5,00,000 is 0.24%.
2. **Average the daily returns** and **calculate their standard deviation.**
3. **Subtract the daily risk-free rate** (annual rate ÷ 252) from the average.
4. **Divide** by the standard deviation to get the daily Sharpe.
5. **Annualise:** multiply by √252, about 15.9, using roughly 252 trading days a year.
:::

:::example A daily calculation (hypothetical)
Average daily return 0.08%, daily standard deviation 1.0%, risk-free rate 6% a year (6 ÷ 252 ≈ 0.024% a day).
Daily Sharpe = (0.08 − 0.024) ÷ 1.0 = 0.056.
Annual Sharpe ≈ 0.056 × 15.9 ≈ 0.89.
:::

Note that volatility scales with the square root of time, not with time itself. That's why you multiply the daily Sharpe by √252 rather than by 252.

## What is a good Sharpe ratio?

| Sharpe ratio | Common reading |
|---|---|
| Below 0 | Did worse than the risk-free rate |
| 0 to 1 | Positive, but modest for the risk taken |
| Around 1 to 2 | Commonly treated as good |
| Above 2 | Very strong; check it carefully, especially on short backtests |

These bands are rules of thumb, not standards. A very high Sharpe from a short backtest is more often a sign of overfitting or a calm test period than of an exceptional strategy. See [backtesting mistakes to avoid](https://tradetron.tech/blog/backtesting-the-smart-way-to-avoid-costly-trading-mistakes).

## The limits of the Sharpe ratio

:::warning Where Sharpe misleads
Option-selling strategies often earn small, steady profits most days and take a large loss occasionally. Over a calm test period they can show a high Sharpe ratio because the big loss hasn't happened yet. Sharpe measures volatility, not the size of the worst day.
:::

- **It treats gains and losses alike.** A big up day raises volatility and lowers Sharpe, even though you'd welcome it.
- **It assumes returns are roughly normal.** Trading returns often have fat tails: rare, large moves the standard deviation understates.
- **It depends on the period.** The same strategy can show very different Sharpe ratios in different years.
- **It depends on how it's calculated:** daily or monthly data, annualised or not, which risk-free rate.

## Related ratios: Sortino and Calmar

| Ratio | Formula | Fixes |
|---|---|---|
| **Sharpe** | (Return − risk-free) ÷ total volatility | Baseline risk-adjusted return |
| **Sortino** | (Return − risk-free) ÷ downside volatility only | Doesn't penalise big up days |
| **Calmar** | Annual return ÷ maximum drawdown | Focuses on the worst fall from peak, which traders feel most |

Using all three, plus maximum drawdown, gives a much fuller picture than Sharpe alone. [How to evaluate a strategy's performance](https://tradetron.tech/blog/how-to-evaluate-the-performance-of-algorithmic-trading-strategies) covers the rest of the metrics.

:::tradetron See your strategy's Sharpe ratio on Tradetron
Tradetron's [backtest](https://tradetron.tech/blog/backtest) report shows the Sharpe ratio alongside drawdown, month-wise P&L and every trade, and lets you apply brokerage and slippage so you read the ratio after costs. Compare strategies on the same date range, then test the one you choose **Live Offline**: it runs and records every trade, but nothing is sent to the exchange.

[Start free](https://tradetron.tech/signup?utm_source=blog&utm_medium=post) [Browse strategies on the marketplace](https://tradetron.tech/strategies?utm_source=blog&utm_medium=post)
:::

## Frequently asked questions

### What does the Sharpe ratio tell you?

It tells you how much return above a risk-free rate an investment or strategy earned for each unit of volatility. It's used to compare investments that take different amounts of risk.

### How do you calculate the Sharpe ratio?

Subtract the risk-free rate from the return, then divide by the standard deviation of returns. For example, a 14% return, a 6% risk-free rate and 10% volatility give (14 − 6) ÷ 10 = 0.8.

### What is a good Sharpe ratio?

A Sharpe ratio around 1 or above is commonly treated as good, and above 2 as very strong. Compare values only when they're calculated the same way, and be cautious of very high ratios from short backtests.

### How do I annualise a daily Sharpe ratio?

Multiply the daily Sharpe ratio by the square root of the number of trading days in a year, about √252 ≈ 15.9.

### What is the difference between the Sharpe and Sortino ratios?

The Sharpe ratio divides by total volatility, both up and down. The Sortino ratio divides only by downside volatility, so it doesn't penalise a strategy for large gains.

### Can a negative Sharpe ratio happen?

Yes. It means the strategy returned less than the risk-free rate over the period, so the risk taken wasn't rewarded.
