Sharpe Ratio Calculator — Risk-Adjusted Return Analysis
Calculate the Sharpe ratio for any portfolio or trading strategy. Enter returns and standard deviation to measure risk-adjusted performance and compare investment strategies.
Comma- or newline-separated. E.g. "3.2, -1.5, 4.8, 2.1"
E.g. 5 for 5% T-bill yield
Periods per year for annualization
How to Use the Sharpe Ratio Calculator
The Sharpe ratio calculator offers two input modes. Choose Summary Stats when you already know your annualized portfolio return, annualized standard deviation, and the current risk-free rate (such as the 3-month US Treasury bill yield or an equivalent government bond yield in your currency). Enter the three values and click Calculate Sharpe Ratio to receive your result instantly.
Choose Returns Series when you have a list of period-by-period returns — for example, twelve months of percentage returns from your brokerage statement. Paste or type the values as comma-separated or newline-separated numbers (e.g. 5.2, -1.3, 3.4, 2.1), set the risk-free rate, and select the return frequency (daily, weekly, or monthly). The calculator derives the sample mean and sample standard deviation, then annualizes both before computing the Sharpe ratio. In series mode it also shows the Sortino ratio, which penalizes only harmful (downside) volatility.
Use the Sharpe ratio alongside drawdown metrics and the Calmar ratio for a well-rounded view of strategy performance. A high Sharpe achieved over only a short period, or during a single market regime, should be treated with appropriate skepticism.
The Formula
The Sharpe ratio was introduced by Nobel laureate William F. Sharpe in 1966. The classic formula is:
- Sharpe Ratio = (Rp − Rf) ÷ σp
Where:
- Rp — Annualized portfolio return (%)
- Rf — Annualized risk-free rate (e.g. current T-bill yield)
- σp — Annualized standard deviation of portfolio returns
When computing from a returns series, the calculator uses the sample standard deviationwith Bessel's correction (dividing by n−1 rather than n) to obtain an unbiased estimate of population variance:
- Mean = Σ(Ri) ÷ n
- Sample Std Dev = √[ Σ(Ri− Mean)² ÷ (n − 1) ]
- Annualized Return= Mean × periodsPerYear
- Annualized Std Dev= Sample Std Dev × √periodsPerYear
- Annualized Sharpe= [(Mean − periodicRF) ÷ Sample Std Dev] × √periodsPerYear
Sortino Ratio Formula
The Sortino ratio replaces the full standard deviation with the downside deviation, computed only from returns that fall below the periodic risk-free rate:
- Downside Deviation = √[ Σ(min(Ri− periodicRF, 0))² ÷ (n − 1) ]
- Sortino Ratio= [(Mean − periodicRF) ÷ Downside Deviation] × √periodsPerYear
Interpretation Thresholds
- Below 0 — Negative: The strategy earns less than the risk-free rate on a risk-adjusted basis.
- 0 to 0.5 — Poor: Positive excess return, but you are not being adequately rewarded for the volatility incurred.
- 0.5 to 1.0 — Acceptable: Reasonable risk-adjusted return; many passive index funds fall in this range over long periods.
- 1.0 to 2.0 — Good: Solid risk-adjusted return; the target range for most active strategies and well-managed funds.
- 2.0 and above — Excellent: Exceptional performance; typical of top-tier hedge funds, market-neutral strategies, or periods of unusually low volatility.
Practical Examples
Example 1 — Diversified Equity Portfolio
A diversified equity portfolio returned 18% annualized over three years. The current risk-free rate is 5%. The annualized standard deviation of returns is 10%.
- Excess return = 18% − 5% = 13%
- Sharpe ratio = 13% ÷ 10% = 1.30
- Interpretation: Good
This portfolio earns 1.30 units of excess return for every unit of volatility. Most active managers would be satisfied with this result on a multi-year track record.
Example 2 — High-Volatility Crypto Strategy
A Bitcoin momentum strategy returned 80% annualized with a standard deviation of 65%. Risk-free rate: 5%.
- Excess return = 80% − 5% = 75%
- Sharpe ratio = 75% ÷ 65% ≈ 1.15
- Interpretation: Good — but the extreme volatility is notable
An 80% raw return sounds phenomenal, but the strategy only barely qualifies as “good” on a risk-adjusted basis due to enormous volatility. A quieter equity strategy returning 18% with 10% std dev scores comparably.
Example 3 — From Monthly Returns Series
A systematic FX strategy produced monthly returns (%) over 12 months: 3.2, −1.0, 4.5, 2.3, −2.1, 5.7, 1.8, −0.5, 3.9, 2.1, −1.3, 4.2.
- Mean monthly return ≈ 2.40%
- Sample std dev ≈ 2.39%
- Monthly risk-free rate ≈ 0.42% (5% ÷ 12)
- Annualized Sharpe ≈ [(2.40 − 0.42) ÷ 2.39] × √12 ≈ 2.87
- Interpretation: Excellent
This result is impressive but should be verified over a longer period and across different market regimes before drawing firm conclusions.
Sharpe Benchmarks by Asset Class
- US equities (S&P 500, long-run):∼0.4–0.6
- Typical active hedge fund:0.5–1.0
- Top-quartile hedge fund:1.0–2.0
- Quantitative / market-neutral strategies: 2.0+
- Bitcoin (2017–2024 average):∼0.7–1.2 depending on period
- Gold (long-run):∼0.3–0.5
Frequently Asked Questions
Related Guides
Related Calculators
ROI Calculator — Return on Investment
Calculate return on investment for any trade or investment. Enter initial cost, final value, and holding period to see ROI percentage, annualized return, and profit/loss.
Drawdown Calculator
Calculate the percentage gain needed to recover from a drawdown. Understand how losses compound and plan your recovery strategy.
Monte Carlo Trading Simulator
Run a Monte Carlo simulation on any trading strategy. Enter win rate, average win/loss, and risk per trade to see probability of profit, ruin, and outcome distribution.
Futures P&L Calculator
Calculate profit and loss on futures contracts. Enter contract specs, entry price, exit price, and position size to see P&L in points and dollars for any futures market.