Sharpe ratio significance tool
How confident can you be in a Sharpe ratio? See its standard error, the probability it beats a benchmark, and the years of data you need.
How it works
A Sharpe ratio estimated from data has a standard error of roughly . That is large: a strategy with a true Sharpe of 0.5 needs over a decade of data before a one-sided test rejects zero at 95%.
Skewed or fat-tailed returns make the estimate noisier still. The tool uses the Lo-Mertens standard error, which adds terms for skew and kurtosis, and reports the probabilistic Sharpe ratio (PSR): the probability that the true Sharpe exceeds the benchmark you set.
Assumptions
- Returns are independent over time; autocorrelation makes the true uncertainty larger.
- Sharpe ratios in the formulas are per period (annual divided by the square root of periods per year).
- Kurtosis is the raw (not excess) kurtosis: 3 for a normal distribution.
- The years-needed figure is for a one-sided test that the true Sharpe is above zero.
- This is one strategy tested once. Trying many strategies needs a multiple-testing correction such as the deflated Sharpe ratio.
Show the codePython, runs in the playground
import numpy as np
from scipy.stats import norm
sr_annual, years, ppy = 1.0, 5, 252
skew, kurt, conf = 0.0, 3.0, 0.95
sr = sr_annual / np.sqrt(ppy) # per-period Sharpe
n = int(years * ppy)
adj = 1 - skew * sr + (kurt - 1) / 4 * sr**2
se = np.sqrt(adj / n)
print(f"Standard error (annual): {se * np.sqrt(ppy):.6f}")
print(f"t-statistic: {sr / se:.6f}")
print(f"Probabilistic Sharpe vs 0: {norm.cdf(sr * np.sqrt(n - 1) / np.sqrt(adj)):.6f}")
print(f"Years needed: {norm.ppf(conf)**2 * adj / sr**2 / ppy:.6f}")
Questions
How many years do I need to trust a Sharpe ratio?
Roughly (1.645 / Sharpe)² years for 95% one-sided confidence: about 2.7 years for a Sharpe of 1, 11 years for 0.5 and under a year for 2. Fat tails and negative skew push it higher.
What is the probabilistic Sharpe ratio?
The probability that the true Sharpe ratio is above a benchmark, given the estimate, the sample length and the shape of the returns. It was proposed by Bailey and López de Prado.
Why does negative skew matter?
Strategies that earn small steady gains and occasionally lose big (selling options, for example) look better on Sharpe than they are. The skew term widens the standard error to reflect that.
Does this account for backtest overfitting?
No. If you tried many strategies and kept the best, the bar should be much higher. The course's overfitting lesson covers the deflated Sharpe ratio.
Educational use only, not investment advice. Results depend on the model's assumptions listed above and on your inputs. Calculations run in your browser and nothing you enter is sent to a server.